Commit Graph

3817 Commits

Author SHA1 Message Date
Roman Ivanov 0868085098 MissingDeprecatedCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 4287706cb4 SuppressWarningsHolder updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 40bb681263 DescendantTokenCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 6c11cedd3b DeclarationCollector updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov d734bff020 ClassResolver updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov ca2572e99a suppression for method in Main clas 2015-06-13 23:01:29 -07:00
Roman Ivanov 109c032721 testing 2015-06-13 23:01:29 -07:00
Roman Ivanov b6d76744f3 example was added , description was extended to understand Cyclomatic Complexity clearly. #637 2015-06-13 16:09:06 -07:00
Roman Ivanov e6ee384c5a favicon images (png,ico) were introduced . #1208 2015-06-13 15:33:13 -07:00
Vladislav Lisetskiy 86c1e2d4b7 extention for SingleJavadocLine, #1063 2015-06-13 09:33:50 -07:00
Bhavik Patel 3004b4d881 Checking existance of config file before processing target file. 2015-06-13 21:11:49 +05:30
Roman Ivanov 1181c2e172 checkstyle validation was removed from 'mvn package -Passembly' 2015-06-13 07:05:20 -07:00
Thomas Jensen 3090cf0dab FileContents.getFileName() - resolve issue #1205 2015-06-13 00:27:13 +02:00
Aleksandr Ivanov 1308724558 Changed Integration Tests to use /src/it/. #1200 2015-06-11 18:38:47 +03:00
Bhavik Patel 8becd3328d Fix EmptyStatement Check violations in Checkstyle code. #945 2015-06-10 17:38:25 -07:00
Bhavik Patel bdcccce38c Enable UncommentedMain Check on Checkstyle code #945 2015-06-10 23:49:36 +05:30
ivanov-alex e2af8c9d60 Change "Beginning Development" page to reference JDK1.8 2015-06-10 10:31:31 +03:00
Roman Ivanov cafeefe32e fix for build warning 'output files should be provided by the POM property ${project.reporting.outputEncoding}.' 2015-06-09 22:44:10 -07:00
Aleksandr Ivanov ae19543f80 Added UTs for getAcceptableTokens() and getRequiredTokens() on all objects in Imports. #1128 2015-06-09 11:10:03 +03:00
Michal Kordas 0701eacdd3 Provide additional regression test for ParenPad check. #1189 2015-06-08 21:43:26 +02:00
Michal Kordas bf40ff7d70 Update maven-failsafe-plugin to 2.18.1. #1193 2015-06-08 11:44:28 -07:00
Bhavik Patel fe6db3ab8a Solution to "Incorrect config file cause CLI finish with error but no output with details" solves #1180 2015-06-08 11:42:36 -07:00
Roman Ivanov 1eb344dc82 Update ant to 1.9.5 2015-06-08 07:59:49 -07:00
Roman Ivanov f2e55bd70d Udate for system-rules 2015-06-08 06:59:23 -07:00
Roman Ivanov 9afd3398c6 fix for links from google_style.html to github. #863 2015-06-07 20:09:30 -07:00
Roman Ivanov 30eda8cca8 travis do integration-test and -DskipITs. #863 2015-06-07 19:56:54 -07:00
Roman Ivanov 33f7e2683f update for web site to point to new location of ITs. #863 2015-06-07 19:47:18 -07:00
Roman Ivanov fddbc76551 now no need to use remote config file, local file google_checks.xml is used for ITs. #863 2015-06-07 19:37:25 -07:00
Roman Ivanov 4379865107 Integrate google-style-config-test as Integration Test. #863 2015-06-07 19:37:18 -07:00
Michal Kordas 7b74f65b10 Do not generate violation for empty SuppressWarnings. #1187 2015-06-07 13:00:26 -07:00
Michal Kordas 4f44299d43 Rename and move checkstyletask.properties. #1108
File `checkstyletask.properties` is renamed and moved to
`com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties`.
2015-06-07 10:57:41 -07:00
Roman Ivanov c6b6c86cce Revert "Rename and move checkstyletask.properties. #1108"
This reverts commit e5eb54210a.
2015-06-07 10:54:07 -07:00
Michal Kordas e5eb54210a Rename and move checkstyletask.properties. #1108
File `checkstyletask.properties` is renamed and moved to
`com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties`.
2015-06-07 10:38:58 -07:00
Michal Kordas 500bf308fa Rename CheckStyleTask to CheckstyleAntTask. #1108 2015-06-07 10:38:58 -07:00
Bhavik Patel 8a3ccee491 solution to CLI fails when it could not find output file. solves #1181 2015-06-07 21:12:09 +05:30
Roman Ivanov de7ba5593d coverage totals were increased to actual values 2015-06-07 08:29:56 -07:00
Michal Kordas 00ac4dfc36 Add tests for equals and toString in SuppressionCommentFilter. #1088 2015-06-07 08:13:28 -07:00
Michal Kordas 4f910b8be9 Move Regexp check from miscellaneous to regexp category. #1170 2015-06-06 18:59:32 -07:00
Michal Kordas 5fae8f1bd3 Configure RegexpSinglelineJava to detect non-ASCII characters. #1165 2015-06-06 23:03:41 +02:00
Michal Kordas ef19fd908b Remove unused MethodCallLineWrapHandler class. #1178 2015-06-06 01:00:38 +02:00
Michal Kordas 851cef9445 Verify that classes with constants have private constructors. #840 2015-06-05 19:40:47 +02:00
Michal Kordas aa20a61de2 Remove AnnotationUtility and ScopeUtils from API package. #1057 2015-06-05 10:11:13 -07:00
Michal Kordas 0a5c414f18 Make cobertura and coveralls build faster. #1176
`cobertura:check` is used instead of `verify` with exclusions. This ensures that only things needed to perform coverage verification are executed.
2015-06-05 10:08:04 -07:00
Michal Kordas d8cd0ea0a1 Update maven-assembly-plugin to 2.5.5. #1175 2015-06-05 18:33:59 +02:00
MEZk c2ca14da23 100% test coverage for com.puppycrawl.tools.checkstyle.checks.sizes, issue #1024 2015-06-05 02:40:24 +03:00
Michal Kordas 8ef4a669c0 Provide workaround for incorrect coverage shown by Cobertura. #1167 2015-06-04 23:10:13 +02:00
Michal Kordas cf0644576f Generate HTML report on Maven cobertura:cobertura goal. #1169 2015-06-04 13:01:32 -07:00
Michal Kordas 7a9fed9bfe Add virtual machine crash log files to .gitingore. #1168 2015-06-04 12:59:53 -07:00
Michal Kordas 2ce3fc4fd0 Fix PackageDeclaration check for files with comments only. #1149 2015-06-04 12:55:11 -04:00
Michal Kordas dd47d21b9e Detect only label as illegal token in IllegalToken check. #1162
Switch and postfix increment/decrement are no longer considered as illegal by default.
2015-06-04 12:40:50 -04:00