Commit Graph

2860 Commits

Author SHA1 Message Date
Roman Ivanov 7874cc4909 HideUtilityClassConstructorCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-14 21:56:05 -07:00
Roman Ivanov 3a7ab7d24d DesignForExtensionCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-14 21:56:05 -07:00
Roman Ivanov 5a9b7249e3 RequireThisCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-14 21:56:04 -07:00
Bhavik Patel 4299a4b408 Clarify misleading command line tool (CLI) output solves #1062 2015-06-14 20:07:52 +05:30
Roman Ivanov d64bdf0caa IllegalInstantiationCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov a265fee823 HiddenFieldCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 3831aa913e FinalLocalVariableCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 6d9d894a62 ExplicitInitializationCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 57f395fa2b EqualsAvoidNullCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 3eca04c940 DeclarationOrderCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov cc6caa71f5 AbstractSuperCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov 2b32b003ab LeftCurlyCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov c99f34002b RightCurlyCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
Roman Ivanov ae0e7def77 LeftCurlyCheck updated to follow Cyclomatic Complexity rule. #954 2015-06-13 23:01:30 -07:00
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 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
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
ivanov-alex e2af8c9d60 Change "Beginning Development" page to reference JDK1.8 2015-06-10 10:31:31 +03: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
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 9afd3398c6 fix for links from google_style.html to github. #863 2015-06-07 20:09:30 -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
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 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
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 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
Michal Kordas fca6580f48 Fix PMD violations of ExceptionAsFlowControl rule. #962 2015-06-03 21:25:25 -04:00