Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
3789 0 0 0 100% 161.319

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.puppycrawl.tools.checkstyle.filefilters 4 0 0 0 100% 0.008
com.puppycrawl.tools.checkstyle.checks.naming 140 0 0 0 100% 0.776
com.puppycrawl.tools.checkstyle.grammar.comments 7 0 0 0 100% 0.034
com.puppycrawl.tools.checkstyle.checks.imports 217 0 0 0 100% 1.604
com.puppycrawl.tools.checkstyle.checks.regexp 94 0 0 0 100% 0.594
com.puppycrawl.tools.checkstyle.grammar 53 0 0 0 100% 1.018
com.puppycrawl.tools.checkstyle.internal 34 0 0 0 100% 11.045
com.puppycrawl.tools.checkstyle.grammar.java8 42 0 0 0 100% 0.483
com.puppycrawl.tools.checkstyle.grammar.antlr4 52 0 0 0 100% 0.556
com.puppycrawl.tools.checkstyle.grammar.javadoc 62 0 0 0 100% 0.865
com.puppycrawl.tools.checkstyle.checks.design 109 0 0 0 100% 0.531
com.puppycrawl.tools.checkstyle.checks.modifier 64 0 0 0 100% 0.278
com.puppycrawl.tools.checkstyle.meta 23 0 0 0 100% 23.045
com.puppycrawl.tools.checkstyle 413 0 0 0 100% 53.343
com.puppycrawl.tools.checkstyle.checks.metrics 69 0 0 0 100% 0.642
com.puppycrawl.tools.checkstyle.checks 171 0 0 0 100% 8.137
com.puppycrawl.tools.checkstyle.api 156 0 0 0 100% 0.145
com.puppycrawl.tools.checkstyle.checks.indentation 145 0 0 0 100% 3.998
com.puppycrawl.tools.checkstyle.checks.blocks 106 0 0 0 100% 0.789
com.puppycrawl.tools.checkstyle.checks.coding 371 0 0 0 100% 3.114
com.puppycrawl.tools.checkstyle.ant 37 0 0 0 100% 0.223
com.puppycrawl.tools.checkstyle.utils 191 0 0 0 100% 0.415
com.puppycrawl.tools.checkstyle.checks.sizes 78 0 0 0 100% 0.519
com.puppycrawl.tools.checkstyle.checks.javadoc 327 0 0 0 100% 2.069
com.puppycrawl.tools.checkstyle.checks.javadoc.utils 11 0 0 0 100% 0.001
com.puppycrawl.tools.checkstyle.xpath.iterators 12 0 0 0 100% 0.006
com.puppycrawl.tools.checkstyle.xpath 162 0 0 0 100% 31.741
com.puppycrawl.tools.checkstyle.filters 201 0 0 0 100% 9.336
com.puppycrawl.tools.checkstyle.checks.header 45 0 0 0 100% 0.562
com.puppycrawl.tools.checkstyle.checks.whitespace 226 0 0 0 100% 1.535
com.puppycrawl.tools.checkstyle.checks.annotation 115 0 0 0 100% 0.786
com.puppycrawl.tools.checkstyle.gui 52 0 0 0 100% 3.121

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.puppycrawl.tools.checkstyle.filefilters

Class Tests Errors Failures Skipped Success Rate Time
BeforeExecutionExclusionFileFilterTest 4 0 0 0 100% 0.008

com.puppycrawl.tools.checkstyle.checks.naming

Class Tests Errors Failures Skipped Success Rate Time
StaticVariableNameCheckTest 5 0 0 0 100% 0.019
LocalVariableNameCheckTest 4 0 0 0 100% 0.022
RecordTypeParameterNameCheckTest 4 0 0 0 100% 0.017
CatchParameterNameCheckTest 5 0 0 0 100% 0.022
InterfaceTypeParameterNameCheckTest 4 0 0 0 100% 0.011
ParameterNameCheckTest 11 0 0 0 100% 0.076
MemberNameCheckTest 12 0 0 0 100% 0.059
LambdaParameterNameCheckTest 4 0 0 0 100% 0.036
AbbreviationAsWordInNameCheckTest 21 0 0 0 100% 0.182
MethodNameCheckTest 11 0 0 0 100% 0.054
LocalFinalVariableNameCheckTest 7 0 0 0 100% 0.038
AbstractClassNameCheckTest 7 0 0 0 100% 0.022
MethodTypeParameterNameCheckTest 4 0 0 0 100% 0.013
AccessModifierOptionTest 2 0 0 0 100% 0
ConstantNameCheckTest 10 0 0 0 100% 0.053
PatternVariableNameCheckTest 3 0 0 0 100% 0.042
TypeNameCheckTest 7 0 0 0 100% 0.035
IllegalIdentifierNameCheckTest 7 0 0 0 100% 0.044
RecordComponentNameCheckTest 4 0 0 0 100% 0.008
PackageNameCheckTest 4 0 0 0 100% 0.013
ClassTypeParameterNameCheckTest 4 0 0 0 100% 0.01

com.puppycrawl.tools.checkstyle.grammar.comments

Class Tests Errors Failures Skipped Success Rate Time
AllBlockCommentsTest 1 0 0 0 100% 0.014
CommentsTest 5 0 0 0 100% 0.013
AllSinglelineCommentsTest 1 0 0 0 100% 0.007

com.puppycrawl.tools.checkstyle.checks.imports

Class Tests Errors Failures Skipped Success Rate Time
ImportOrderCheckTest 61 0 0 0 100% 0.266
ClassImportRuleTest 3 0 0 0 100% 0
ImportControlCheckTest 33 0 0 0 100% 0.487
ImportControlLoaderTest 6 0 0 0 100% 0.414
AccessResultTest 2 0 0 0 100% 0
PkgImportControlTest 15 0 0 0 100% 0.005
FileImportControlTest 1 0 0 0 100% 0
PkgImportRuleTest 7 0 0 0 100% 0.001
AvoidStarImportCheckTest 6 0 0 0 100% 0.02
CustomImportOrderCheckTest 44 0 0 0 100% 0.191
UnusedImportsCheckTest 17 0 0 0 100% 0.113
IllegalImportCheckTest 10 0 0 0 100% 0.058
RedundantImportCheckTest 5 0 0 0 100% 0.016
AvoidStaticImportCheckTest 7 0 0 0 100% 0.033

com.puppycrawl.tools.checkstyle.checks.regexp

Class Tests Errors Failures Skipped Success Rate Time
RegexpMultilineCheckTest 17 0 0 0 100% 0.092
RegexpSinglelineJavaCheckTest 20 0 0 0 100% 0.177
RegexpSinglelineCheckTest 8 0 0 0 100% 0.051
RegexpCheckTest 28 0 0 0 100% 0.228
RegexpOnFilenameCheckTest 21 0 0 0 100% 0.046

com.puppycrawl.tools.checkstyle.grammar

Class Tests Errors Failures Skipped Success Rate Time
Java7MultiCatchTest 1 0 0 0 100% 0.008
Java9TryWithResourcesTest 1 0 0 0 100% 0.01
UnicodeEscapeTest 1 0 0 0 100% 0.012
Java14RecordsTest 1 0 0 0 100% 0.023
EmbeddedNullCharTest 1 0 0 0 100% 0.009
GeneratedJavaTokenTypesTest 1 0 0 0 100% 0.001
CrAwareLexerTest 4 0 0 0 100% 0.001
Java7DiamondTest 1 0 0 0 100% 0.019
Java7NumericalLiteralsTest 1 0 0 0 100% 0.01
Java7StringSwitchTest 1 0 0 0 100% 0.02
AstRegressionTest 33 0 0 0 100% 0.817
VarargTest 1 0 0 0 100% 0.006
HexFloatsTest 1 0 0 0 100% 0.011
GeneratedJava14LexerTest 2 0 0 0 100% 0.039
Java7TryWithResourcesTest 1 0 0 0 100% 0.01
LineCommentAtTheEndOfFileTest 1 0 0 0 100% 0.007
MultiDimensionalArraysInGenericsTest 1 0 0 0 100% 0.015

com.puppycrawl.tools.checkstyle.internal

Class Tests Errors Failures Skipped Success Rate Time
XpathRegressionTest 3 0 0 0 100% 0.58
XdocsPagesTest 7 0 0 0 100% 2.4
XdocsJavaDocsTest 1 0 0 0 100% 1.874
CommitValidationTest 4 0 0 0 100% 0.13
ArchUnitTest 1 0 0 0 100% 1.894
XdocsUrlTest 1 0 0 0 100% 0.274
AllTestsTest 2 0 0 0 100% 0.163
XdocsMobileWrapperTest 1 0 0 0 100% 0.065
CliOptionsXdocsSyncTest 2 0 0 0 100% 0.007
AllChecksTest 12 0 0 0 100% 3.658

com.puppycrawl.tools.checkstyle.grammar.java8

Class Tests Errors Failures Skipped Success Rate Time
TypeUseAnnotationsOnQualifiedTypesTest 1 0 0 0 100% 0.009
MethodReferencesTest 7 0 0 0 100% 0.109
AnnotationTest 12 0 0 0 100% 0.105
LambdaTest 18 0 0 0 100% 0.23
DefaultMethodsTest 2 0 0 0 100% 0.012
ReceiverParameterTest 1 0 0 0 100% 0.006
AnnotationsOnArrayTest 1 0 0 0 100% 0.012

com.puppycrawl.tools.checkstyle.grammar.antlr4

Class Tests Errors Failures Skipped Success Rate Time
Java17AstRegressionTest 7 0 0 0 100% 0.069
Antlr4AstRegressionTest 45 0 0 0 100% 0.487

com.puppycrawl.tools.checkstyle.grammar.javadoc

Class Tests Errors Failures Skipped Success Rate Time
GeneratedJavadocTokenTypesTest 2 0 0 0 100% 0.002
JavadocParseTreeTest 60 0 0 0 100% 0.863

com.puppycrawl.tools.checkstyle.checks.design

Class Tests Errors Failures Skipped Success Rate Time
InterfaceIsTypeCheckTest 4 0 0 0 100% 0.011
MutableExceptionCheckTest 7 0 0 0 100% 0.024
DesignForExtensionCheckTest 11 0 0 0 100% 0.063
FinalClassCheckTest 12 0 0 0 100% 0.072
InnerTypeLastCheckTest 9 0 0 0 100% 0.039
VisibilityModifierCheckTest 28 0 0 0 100% 0.183
ThrowsCountCheckTest 7 0 0 0 100% 0.024
HideUtilityClassConstructorCheckTest 13 0 0 0 100% 0.047
OneTopLevelClassCheckTest 18 0 0 0 100% 0.068

com.puppycrawl.tools.checkstyle.checks.modifier

Class Tests Errors Failures Skipped Success Rate Time
RedundantModifierCheckTest 22 0 0 0 100% 0.089
InterfaceMemberImpliedModifierCheckTest 24 0 0 0 100% 0.101
ModifierOrderCheckTest 9 0 0 0 100% 0.048
ClassMemberImpliedModifierCheckTest 9 0 0 0 100% 0.04

com.puppycrawl.tools.checkstyle.meta

Class Tests Errors Failures Skipped Success Rate Time
XmlMetaReaderTest 8 0 0 0 100% 0.818
JavadocMetadataScraperTest 14 0 0 0 100% 1.548
MetadataGeneratorUtilTest 1 0 0 0 100% 20.679

com.puppycrawl.tools.checkstyle

Class Tests Errors Failures Skipped Success Rate Time
DefinitionsTest 1 0 0 0 100% 0
AstTreeStringPrinterTest 14 0 0 0 100% 0.035
ConfigurationLoaderTest 31 0 0 0 100% 0.241
MetadataGeneratorLoggerTest 5 0 0 0 100% 0
XdocsPropertyTypeTest 2 0 0 0 100% 0.431
PropertiesExpanderTest 2 0 0 0 100% 0
SarifLoggerTest 13 0 0 0 100% 0.013
CheckerTest 46 0 0 0 100% 0.762
PackageNamesLoaderTest 8 0 0 0 100% 0.016
JavaAstVisitorTest 4 0 0 0 100% 0.327
XpathFileGeneratorAuditListenerTest 9 0 0 0 100% 0.064
XpathFileGeneratorAstFilterTest 5 0 0 0 100% 0.003
ThreadModeSettingsTest 6 0 0 0 100% 0.383
DefaultLoggerTest 14 0 0 0 100% 0.007
DetailAstImplTest 22 0 0 0 100% 42.785
AuditEventDefaultFormatterTest 4 0 0 0 100% 0
XmlLoaderTest 4 0 0 0 100% 0.001
XMLLoggerTest 19 0 0 0 100% 0.053
MainTest 84 0 0 0 100% 5.224
DefaultConfigurationTest 9 0 0 0 100% 0.002
PackageObjectFactoryTest 23 0 0 0 100% 1.768
JavaParserTest 11 0 0 0 100% 0.116
JavadocPropertiesGeneratorTest 14 0 0 0 100% 0.339
TreeWalkerTest 29 0 0 0 100% 0.435
SuppressionsStringPrinterTest 6 0 0 0 100% 0.003
DetailNodeTreeStringPrinterTest 12 0 0 0 100% 0.021
PropertyCacheFileTest 15 0 0 0 100% 0.308
JavadocDetailNodeParserTest 1 0 0 0 100% 0.006

com.puppycrawl.tools.checkstyle.checks.metrics

Class Tests Errors Failures Skipped Success Rate Time
JavaNCSSCheckTest 6 0 0 0 100% 0.038
ClassDataAbstractionCouplingCheckTest 11 0 0 0 100% 0.061
NPathComplexityCheckTest 15 0 0 0 100% 0.107
BooleanExpressionComplexityCheckTest 6 0 0 0 100% 0.051
CyclomaticComplexityCheckTest 8 0 0 0 100% 0.061
ClassFanOutComplexityCheckTest 23 0 0 0 100% 0.324

com.puppycrawl.tools.checkstyle.checks

Class Tests Errors Failures Skipped Success Rate Time
DescendantTokenCheckTest 20 0 0 0 100% 0.128
NoCodeInFileCheckTest 7 0 0 0 100% 0.014
SuppressWarningsHolderTest 27 0 0 0 100% 0.051
AvoidEscapedUnicodeCharactersCheckTest 14 0 0 0 100% 7.552
TodoCommentCheckTest 3 0 0 0 100% 0.007
ArrayTypeStyleCheckTest 5 0 0 0 100% 0.021
OuterTypeFilenameCheckTest 14 0 0 0 100% 0.058
OrderedPropertiesCheckTest 10 0 0 0 100% 0.015
FinalParametersCheckTest 8 0 0 0 100% 0.079
TranslationCheckTest 24 0 0 0 100% 0.07
UncommentedMainCheckTest 9 0 0 0 100% 0.045
NewlineAtEndOfFileCheckTest 13 0 0 0 100% 0.051
TrailingCommentCheckTest 7 0 0 0 100% 0.03
UpperEllCheckTest 3 0 0 0 100% 0.009
UniquePropertiesCheckTest 7 0 0 0 100% 0.007

com.puppycrawl.tools.checkstyle.api

Class Tests Errors Failures Skipped Success Rate Time
AbstractFileSetCheckTest 11 0 0 0 100% 0.008
AuditEventTest 2 0 0 0 100% 0
SeverityLevelTest 4 0 0 0 100% 0
CommentTest 4 0 0 0 100% 0
SeverityLevelCounterTest 5 0 0 0 100% 0
LineColumnTest 5 0 0 0 100% 0.016
ScopeTest 10 0 0 0 100% 0.002
AbstractViolationReporterTest 7 0 0 0 100% 0
ViolationTest 21 0 0 0 100% 0.05
FileContentsTest 21 0 0 0 100% 0.008
AbstractCheckTest 14 0 0 0 100% 0.008
FileSetCheckTest 2 0 0 0 100% 0.006
BeforeExecutionFileFilterSetTest 6 0 0 0 100% 0.001
JavadocTokenTypesTest 3 0 0 0 100% 0
AutomaticBeanTest 11 0 0 0 100% 0.02
FullIdentTest 10 0 0 0 100% 0.016
FileTextTest 9 0 0 0 100% 0.006
TokenTypesTest 4 0 0 0 100% 0.003
FilterSetTest 7 0 0 0 100% 0.001

com.puppycrawl.tools.checkstyle.checks.indentation

Class Tests Errors Failures Skipped Success Rate Time
IndentationCheckTest 129 0 0 0 100% 3.882
CommentsIndentationCheckTest 16 0 0 0 100% 0.116

com.puppycrawl.tools.checkstyle.checks.blocks

Class Tests Errors Failures Skipped Success Rate Time
RightCurlyCheckTest 38 0 0 0 100% 0.261
EmptyCatchBlockCheckTest 5 0 0 0 100% 0.023
AvoidNestedBlocksCheckTest 4 0 0 0 100% 0.012
LeftCurlyCheckTest 30 0 0 0 100% 0.164
EmptyBlockCheckTest 14 0 0 0 100% 0.092
NeedBracesCheckTest 15 0 0 0 100% 0.237

com.puppycrawl.tools.checkstyle.checks.coding

Class Tests Errors Failures Skipped Success Rate Time
MultipleStringLiteralsCheckTest 9 0 0 0 100% 0.055
MagicNumberCheckTest 11 0 0 0 100% 0.131
DefaultComesLastCheckTest 6 0 0 0 100% 0.031
IllegalCatchCheckTest 5 0 0 0 100% 0.02
StringLiteralEqualityCheckTest 5 0 0 0 100% 0.025
UnnecessarySemicolonAfterTypeMemberDeclarationCheckTest 3 0 0 0 100% 0.013
NoCloneCheckTest 2 0 0 0 100% 0.008
SimplifyBooleanExpressionCheckTest 2 0 0 0 100% 0.008
PackageDeclarationCheckTest 12 0 0 0 100% 0.042
SimplifyBooleanReturnCheckTest 2 0 0 0 100% 0.005
MissingSwitchDefaultCheckTest 6 0 0 0 100% 0.099
MissingCtorCheckTest 3 0 0 0 100% 0.006
AvoidDoubleBraceInitializationCheckTest 2 0 0 0 100% 0.032
NestedTryDepthCheckTest 3 0 0 0 100% 0.008
EqualsAvoidNullCheckTest 10 0 0 0 100% 0.155
UnnecessarySemicolonAfterOuterTypeDeclarationCheckTest 3 0 0 0 100% 0.009
NestedIfDepthCheckTest 3 0 0 0 100% 0.011
IllegalInstantiationCheckTest 12 0 0 0 100% 0.05
IllegalTokenCheckTest 7 0 0 0 100% 0.04
UnnecessaryParenthesesCheckTest 10 0 0 0 100% 0.138
NoFinalizerCheckTest 4 0 0 0 100% 0.027
FinalLocalVariableCheckTest 21 0 0 0 100% 0.284
UnusedLocalVariableCheckTest 16 0 0 0 100% 0.168
IllegalTypeCheckTest 27 0 0 0 100% 0.185
AvoidInlineConditionalsCheckTest 2 0 0 0 100% 0.009
InnerAssignmentCheckTest 3 0 0 0 100% 0.055
DeclarationOrderCheckTest 11 0 0 0 100% 0.063
ParameterAssignmentCheckTest 5 0 0 0 100% 0.027
VariableDeclarationUsageDistanceCheckTest 11 0 0 0 100% 0.273
OverloadMethodsDeclarationOrderCheckTest 3 0 0 0 100% 0.01
FallThroughCheckTest 8 0 0 0 100% 0.096
HiddenFieldCheckTest 15 0 0 0 100% 0.162
ExplicitInitializationCheckTest 3 0 0 0 100% 0.015
NoArrayTrailingCommaCheckTest 2 0 0 0 100% 0.005
ModifiedControlVariableCheckTest 7 0 0 0 100% 0.032
IllegalTokenTextCheckTest 10 0 0 0 100% 0.039
EmptyStatementCheckTest 2 0 0 0 100% 0.006
UnnecessarySemicolonInTryWithResourcesCheckTest 3 0 0 0 100% 0.007
SuperFinalizeCheckTest 2 0 0 0 100% 0.013
RequireThisCheckTest 31 0 0 0 100% 0.292
OneStatementPerLineCheckTest 6 0 0 0 100% 0.071
MatchXpathCheckTest 19 0 0 0 100% 0.187
SuperCloneCheckTest 5 0 0 0 100% 0.029
ArrayTrailingCommaCheckTest 3 0 0 0 100% 0.009
NoEnumTrailingCommaCheckTest 2 0 0 0 100% 0.008
AvoidNoArgumentSuperConstructorCallCheckTest 2 0 0 0 100% 0.01
MultipleVariableDeclarationsCheckTest 2 0 0 0 100% 0.009
EqualsHashCodeCheckTest 6 0 0 0 100% 0.031
ReturnCountCheckTest 9 0 0 0 100% 0.058
NestedForDepthCheckTest 3 0 0 0 100% 0.009
CovariantEqualsCheckTest 3 0 0 0 100% 0.012
UnnecessarySemicolonInEnumerationCheckTest 2 0 0 0 100% 0.003
IllegalThrowsCheckTest 7 0 0 0 100% 0.024

com.puppycrawl.tools.checkstyle.ant

Class Tests Errors Failures Skipped Success Rate Time
CheckstyleAntTaskTest 37 0 0 0 100% 0.223

com.puppycrawl.tools.checkstyle.utils

Class Tests Errors Failures Skipped Success Rate Time
ParserUtilTest 2 0 0 0 100% 0
BlockCommentPositionTest 3 0 0 0 100% 0.016
CommonUtilTest 51 0 0 0 100% 0.217
AnnotationUtilTest 20 0 0 0 100% 0.006
CheckUtilTest 20 0 0 0 100% 0.112
XpathUtilTest 8 0 0 0 100% 0.021
ChainedPropertyUtilTest 4 0 0 0 100% 0.005
ModuleReflectionUtilTest 11 0 0 0 100% 0.005
CodePointUtilTest 1 0 0 0 100% 0
ScopeUtilTest 21 0 0 0 100% 0.005
JavadocUtilTest 25 0 0 0 100% 0.015
FilterUtilTest 3 0 0 0 100% 0.001
TokenUtilTest 22 0 0 0 100% 0.012

com.puppycrawl.tools.checkstyle.checks.sizes

Class Tests Errors Failures Skipped Success Rate Time
ExecutableStatementCountCheckTest 11 0 0 0 100% 0.068
RecordComponentNumberCheckTest 8 0 0 0 100% 0.124
MethodCountCheckTest 12 0 0 0 100% 0.053
AnonInnerLengthCheckTest 4 0 0 0 100% 0.02
LambdaBodyLengthCheckTest 5 0 0 0 100% 0.07
LineLengthCheckTest 8 0 0 0 100% 0.041
MethodLengthCheckTest 10 0 0 0 100% 0.062
OuterTypeNumberCheckTest 6 0 0 0 100% 0.021
ParameterNumberCheckTest 8 0 0 0 100% 0.036
FileLengthCheckTest 6 0 0 0 100% 0.024

com.puppycrawl.tools.checkstyle.checks.javadoc

Class Tests Errors Failures Skipped Success Rate Time
JavadocMissingLeadingAsteriskCheckTest 3 0 0 0 100% 0.011
JavadocStyleCheckTest 32 0 0 0 100% 0.168
MissingJavadocMethodCheckTest 32 0 0 0 100% 0.152
NonEmptyAtclauseDescriptionCheckTest 4 0 0 0 100% 0.021
SummaryJavadocCheckTest 16 0 0 0 100% 0.158
AtclauseOrderCheckTest 11 0 0 0 100% 0.155
JavadocTagContinuationIndentationCheckTest 6 0 0 0 100% 0.086
JavadocBlockTagLocationCheckTest 5 0 0 0 100% 0.045
MissingJavadocTypeCheckTest 21 0 0 0 100% 0.099
InvalidJavadocPositionCheckTest 5 0 0 0 100% 0.012
JavadocMissingWhitespaceAfterAsteriskCheckTest 5 0 0 0 100% 0.019
AbstractJavadocCheckTest 23 0 0 0 100% 0.536
JavadocContentLocationCheckTest 7 0 0 0 100% 0.019
RequireEmptyLineBeforeBlockTagGroupCheckTest 3 0 0 0 100% 0.017
JavadocPackageCheckTest 10 0 0 0 100% 0.014
WriteTagCheckTest 15 0 0 0 100% 0.038
MissingJavadocPackageCheckTest 14 0 0 0 100% 0.043
JavadocTagTest 5 0 0 0 100% 0.004
JavadocTypeCheckTest 33 0 0 0 100% 0.157
JavadocParagraphCheckTest 4 0 0 0 100% 0.037
JavadocTagInfoTest 15 0 0 0 100% 0.003
JavadocMethodCheckTest 38 0 0 0 100% 0.192
JavadocVariableCheckTest 14 0 0 0 100% 0.069
SingleLineJavadocCheckTest 4 0 0 0 100% 0.014
JavadocNodeImplTest 2 0 0 0 100% 0

com.puppycrawl.tools.checkstyle.checks.javadoc.utils

Class Tests Errors Failures Skipped Success Rate Time
InlineTagUtilTest 7 0 0 0 100% 0.001
BlockTagUtilTest 4 0 0 0 100% 0

com.puppycrawl.tools.checkstyle.xpath.iterators

Class Tests Errors Failures Skipped Success Rate Time
DescendantIteratorTest 3 0 0 0 100% 0
PrecedingIteratorTest 4 0 0 0 100% 0.004
ReverseListIteratorTest 2 0 0 0 100% 0.001
FollowingIteratorTest 2 0 0 0 100% 0
ReverseDescendantIteratorTest 1 0 0 0 100% 0.001

com.puppycrawl.tools.checkstyle.xpath

Class Tests Errors Failures Skipped Success Rate Time
RootNodeTest 32 0 0 0 100% 0.066
XpathMapperTest 71 0 0 0 100% 31.539
AttributeNodeTest 14 0 0 0 100% 0.008
XpathQueryGeneratorTest 30 0 0 0 100% 0.089
ElementNodeTest 15 0 0 0 100% 0.039

com.puppycrawl.tools.checkstyle.filters

Class Tests Errors Failures Skipped Success Rate Time
SuppressionsLoaderTest 19 0 0 0 100% 2.565
SuppressWithPlainTextCommentFilterTest 22 0 0 0 100% 0.227
IntRangeFilterElementTest 4 0 0 0 100% 0.009
SuppressionFilterTest 10 0 0 0 100% 4.025
XpathFilterElementTest 22 0 0 0 100% 0.503
SuppressionCommentFilterTest 24 0 0 0 100% 0.327
CsvFilterElementTest 7 0 0 0 100% 0.008
SeverityMatchFilterTest 4 0 0 0 100% 0
IntMatchFilterElementTest 3 0 0 0 100% 0.012
SuppressWithNearbyCommentFilterTest 25 0 0 0 100% 0.449
SuppressionSingleFilterTest 10 0 0 0 100% 0.13
SuppressionXpathSingleFilterTest 19 0 0 0 100% 0.269
SuppressWarningsFilterTest 3 0 0 0 100% 0.122
SuppressionXpathFilterTest 12 0 0 0 100% 0.339
SuppressFilterElementTest 17 0 0 0 100% 0.351

com.puppycrawl.tools.checkstyle.checks.header

Class Tests Errors Failures Skipped Success Rate Time
HeaderCheckTest 19 0 0 0 100% 0.517
RegexpHeaderCheckTest 26 0 0 0 100% 0.045

com.puppycrawl.tools.checkstyle.checks.whitespace

Class Tests Errors Failures Skipped Success Rate Time
NoWhitespaceBeforeCaseDefaultColonCheckTest 3 0 0 0 100% 0.042
NoWhitespaceBeforeCheckTest 9 0 0 0 100% 0.064
FileTabCharacterCheckTest 3 0 0 0 100% 0.015
EmptyForInitializerPadCheckTest 8 0 0 0 100% 0.03
ParenPadCheckTest 21 0 0 0 100% 0.219
OperatorWrapCheckTest 11 0 0 0 100% 0.1
SingleSpaceSeparatorCheckTest 12 0 0 0 100% 0.118
EmptyForIteratorPadCheckTest 6 0 0 0 100% 0.021
GenericWhitespaceCheckTest 12 0 0 0 100% 0.081
EmptyLineSeparatorCheckTest 46 0 0 0 100% 0.167
SeparatorWrapCheckTest 8 0 0 0 100% 0.035
MethodParamPadCheckTest 9 0 0 0 100% 0.066
WhitespaceAfterCheckTest 24 0 0 0 100% 0.156
NoLineWrapCheckTest 4 0 0 0 100% 0.021
TypecastParenPadCheckTest 4 0 0 0 100% 0.044
NoWhitespaceAfterCheckTest 17 0 0 0 100% 0.147
WhitespaceAroundCheckTest 29 0 0 0 100% 0.209

com.puppycrawl.tools.checkstyle.checks.annotation

Class Tests Errors Failures Skipped Success Rate Time
AnnotationLocationCheckTest 19 0 0 0 100% 0.144
PackageAnnotationCheckTest 4 0 0 0 100% 0.01
AnnotationUseStyleCheckTest 21 0 0 0 100% 0.111
SuppressWarningsCheckTest 39 0 0 0 100% 0.369
MissingDeprecatedCheckTest 11 0 0 0 100% 0.052
MissingOverrideCheckTest 14 0 0 0 100% 0.063
AnnotationOnSameLineCheckTest 7 0 0 0 100% 0.037

com.puppycrawl.tools.checkstyle.gui

Class Tests Errors Failures Skipped Success Rate Time
CodeSelectorPresentationTest 5 0 0 0 100% 0.004
ParseTreeTablePresentationTest 17 0 0 0 100% 0.011
MainTest 2 0 0 0 100% 0.115
MainFrameModelTest 13 0 0 0 100% 0.372
MainFrameTest 7 0 0 0 100% 1.796
TreeTableTest 8 0 0 0 100% 0.823

Test Cases

[Summary] [Package List] [Test Cases]

MultipleStringLiteralsCheckTest

testItIgnoreEmptyAndComspace 0.007
testMultipleStringLiteralsTextBlocks 0.007
testTokensNotNull 0
testIt 0.008
testMultipleInputs 0.004
testDefaultConfiguration 0.007
testIgnores 0.007
testItWithoutIgnoringAnnotations 0.007
testItIgnoreEmpty 0.006

CodeSelectorPresentationTest

testDetailASTNoSelection 0
testDetailNodeLeafSelection 0.001
testDetailASTSelection 0
testDetailASTLeafSelection 0.001
testDetailNodeSelection 0

MagicNumberCheckTest

testWaiverParentToken 0.026
testIgnoreNegativeOctalHex 0.014
testMagicNumberRecordsDefault 0.006
testIgnoreInAnnotationElementDefault 0.004
testIgnoreHashCodeMethod 0.013
testMagicNumberIgnoreFieldDeclarationRecords 0.005
testIntegersOnly 0.014
testIgnoreNone 0.014
testIgnoreSome 0.013
testDefault 0.011
testIgnoreFieldDeclaration 0.011

InterfaceIsTypeCheckTest

testGetRequiredTokens 0
testAllowMarker 0.006
testDefault 0.004
testGetAcceptableTokens 0.001

NoWhitespaceBeforeCaseDefaultColonCheckTest

testAcceptableTokenIsColon 0
testDefaultNonCompilable 0.025
testDefault 0.017

DescendantTokenCheckTest

testMinimumDepth 0.007
testMaximumNumber 0.005
testWithSumLessThenMinCustomMsg 0.01
testMaxTokenTypeReverseOrder 0.005
testWithSumLessThenMinDefMsg 0.008
testNoSum 0.007
testWithSumDefaultMsg 0.007
testMaxTokenType 0.005
testMinimumNumber 0.004
testReturnFromFinally 0.007
testWithSumCustomMsg 0.007
testMissingSwitchDefault 0.007
testMessage 0.005
testEmptyStatements 0.009
testDefault 0.004
testStringLiteralEquality 0.009
testIllegalTokenDefault 0.005
testIllegalTokenNative 0.005
testMaximumDepth 0.004
testReturnFromCatch 0.006

NoWhitespaceBeforeCheckTest

testDot 0.01
testMethodReference 0.007
testNoWhitespaceBeforeWithEmoji 0.004
testEmptyForLoop 0.005
testDotAllowLineBreaks 0.012
testDotAtTheStartOfTheLine 0.005
testDefault 0.011
testNoWhitespaceBeforeTextBlocksWithTabIndent 0.004
testMethodRefAtTheStartOfTheLine 0.004

DescendantIteratorTest

testIncludeSelf 0
testWithNull 0
testWithoutSelf 0

DefaultComesLastCheckTest

testDefaultComesLastSwitchExpressions 0.008
testTokensNotNull 0
testDefaultComesLastSwitchExpressionsSkipIfLast 0.005
testDefaultMethodsInJava8 0.004
testSkipIfLastAndSharedWithCase 0.007
testDefault 0.007

Java7MultiCatchTest

testCanParse 0.008

DefinitionsTest

testIsProperUtilsClass 0

StaticVariableNameCheckTest

testAccessTuning 0.006
testSpecified 0.008
testInterfaceOrAnnotationBlock 0.005
testGetRequiredTokens 0
testGetAcceptableTokens 0

AstTreeStringPrinterTest

testIsProperUtilsClass 0
testPrintBranch 0.001
testAstTreeBlockCommentsCarriageReturn 0.001
testParseFile 0.001
testParseFileThrowable 0.001
testPrintAst 0.001
testAstTreeSingleLineComments 0.009
testAstTreeBlockComments 0.009
testTextBlocksEscapesAreOneChar 0.001
testJavadocPosition 0.002
testParseFileWithComments 0.001
testParseFileWithJavadoc1 0.002
testParseFileWithJavadoc2 0.001
testParseFileWithJavadoc3 0.002

XpathRegressionTest

validateIntegrationTestClassNames 0.002
validateInputFiles 0.005
validateIncompatibleJavadocCheckNames 0.274

JavadocMissingLeadingAsteriskCheckTest

testIncorrect 0.006
testCorrect 0.005
testGetAcceptableTokens 0

NoCodeInFileCheckTest

testBlank 0.002
testBothSingleLineAndMultiLineComment 0.003
testGetRequiredTokens 0.001
testSingleLineComment 0.002
testMultiLineComment 0.003
testGetAcceptableTokens 0
testFileContainingCode 0.003

ParserUtilTest

testIsProperUtilsClass 0
testCreationOfFakeCommentBlock 0

JavadocStyleCheckTest

testJavadocStyleDefaultSettingsOne 0.007
testJavadocStyleDefaultSettingsTwo 0.004
testScopeProtected 0.01
testHtmlComment 0.005
testInterfaceMemberScopeIsPublic 0.005
testJavadocStyleFirstSentenceOne 0.005
testJavadocStyleFirstSentenceTwo 0.005
packageInfoValid 0.003
testHtml 0.009
testEmptyJavadoc 0.008
testJavadocStyleRecordsAndCompactCtors 0.009
testJavadocStyleDefaultSettingsFour 0.004
testRestrictedTokenSet 0.007
testExcludeScope 0.007
packageInfoMissing 0.003
testJavadocStyleFirstSentenceThree 0.004
testScopePackage 0.008
testHtmlTagToString 0.004
testEnumCtorScopeIsPrivate 0.004
packageInfoInvalid 0.003
testGetAcceptableTokens 0
testJavadocStyleFirstSentenceFormatThree 0.005
packageInfoAnnotation 0.003
testScopePublic 0.007
testOnInputWithNoJavadoc 0.005
testNeverEndingXmlCommentInsideJavadoc 0.003
testJavadocStyleFirstSentenceFour 0.004
testJavadocStyleFirstSentenceFormatFour 0.005
testJavadocStyleDefaultSettingsThree 0.004
testJavadocStyleFirstSentenceFormatOne 0.005
testJavadocStyleFirstSentenceFormatTwo 0.004
packageInfoInheritDoc 0.003

IllegalCatchCheckTest

testTokensNotNull 0
testIllegalClassNames 0.005
testIllegalClassNamesBad 0.004
testDefault 0.004
testMultipleTypes 0.005

ConfigurationLoaderTest

testExternalEntity 0.007
testResourceLoadConfigurationWithSingleThreadConfiguration 0.003
testLoadConfigurationWrongUrl 0.001
testLoadConfigurationDeprecated 0.002
testIncorrectTag 0.002
testConfigCheckerWithIgnore 0.002
testResourceLoadConfigurationWithMultiThreadConfiguration 0.002
testConstructors 0.005
testReplacePropertiesMissingProperty 0.001
testMissingConfigName 0.002
testCheckstyleChecks 0.002
testReplacePropertiesReplace 0.001
testCustomMessages 0.003
testNonExistentPropertyName 0.002
testConfigWithIgnore 0.001
testReplacePropertiesDefault 0
testMissingPropertyNameInMethodWithBooleanParameter 0.002
testMissingPropertyName 0.002
testParsePropertyString 0
testMissingPropertyValue 0.002
testExternalEntitySubdirectory 0.002
testMissingConfigParent 0.002
testExternalEntityFromUri 0.002
testEmptyConfiguration 0.001
testEmptyModuleResolver 0.002
testConfigWithIgnoreExceptionalAttributes 0.161
testLoadConfigurationFromClassPath 0.003
testReplacePropertiesNoReplace 0.001
testReplacePropertiesSyntaxError 0.001
testResourceLoadConfiguration 0.002
testConfigWithIgnoreUsingInputSource 0.002

AnnotationLocationCheckTest

testIncorrectAllTokens 0.016
testAnnotationParameterized 0.009
testAnnotationMultiple 0.009
testClass 0.007
testPackage 0.005
testEnum 0.005
testAnnotationInForEachLoopParameterAndVariableDef 0.007
testIncorrect 0.015
testAnnotationSingleParameterless 0.011
testWithMultipleAnnotations 0.004
testGetRequiredTokens 0
testAllTokens 0.007
testWithParameters 0.015
testAnnotationLocationRecordsAndCompactCtors 0.009
testCorrect 0.005
testInterface 0.008
testGetAcceptableTokens 0
testWithoutAnnotations 0.003
testAnnotation 0.006

BlockCommentPositionTest

testJavaDocsRecognition 0.012
testJavaDocsRecognitionNonCompilable 0.002
testPrivateConstr 0

StringLiteralEqualityCheckTest

testStringLiteralEqualityTextBlocks 0.004
testTokensNotNull 0
testIt 0.005
testConcatenatedTextBlocks 0.008
testConcatenatedStringLiterals 0.008

CommonUtilTest

testBadRegex2 0
testGetUriByFilenameClasspathPrefixLoadConfig 0
testRelativeNormalizedPathWithDenormalizedBaseDirectory 0
testFileExtensions 0.001
testInvokeConstructor 0
testGetUriByFilenameFindsRelativeResourceOnClasspathPrefix 0
testIsProperUtilsClass 0
testLengthExpandedTabs 0
testIsNameInvalidSymbol 0
testIsBlankWithWhitespacesAround 0
testIsIntInvalidString 0
testBadRegex 0
testCloseWithException 0
testGetUriByFilenameFindsResourceRelativeToRootClasspath 0
testIsIdentifierInvalidFirstSymbol 0
testClose 0
testPattern 0
testIsNameEmptyPart 0
testCreatePattern 0
testIsBlankWithEmptyString 0
testRelativeNormalizedPath 0
testGetNonExistentConstructor 0
testIsNameEmptyLastPart 0
testBaseClassNameForCanonicalName 0
testGetUriByFilenameFindsRelativeResourceOnClasspath 0.002
testIsCodePointWhitespace 0
testGetExistingConstructor 0
testIsIntValidString 0
testIsIdentifierInvalidSymbols 0
testIsBlankAheadWhitespace 0
testLoadSuppressionsUriSyntaxException 0.2
testRelativeNormalizedPathWithNullBaseDirectory 0
testIsNameEmptyString 0
testIsBlankBehindWhitespace 0
testIsBlankNullString 0
testIsNameInvalidFirstSymbol 0
testGetFileNameWithoutExtension 0
testBaseClassNameForSimpleName 0
testFillTemplateWithStringsByRegexp 0.001
testGetFileExtension 0
testHasWhitespaceBefore 0.001
testIsIdentifierEmptyString 0
testInvokeConstructorThatFails 0.001
testIsBlankWithWhitespacesOnly 0
testIsName 0
testIsBlankWhitespaceInside 0.001
testIsIdentifier 0
testGetUriByFilenameFindsAbsoluteResourceOnClasspath 0.004
testIsBlank 0
testInvalidPattern 0.001
testIsIntNull 0

AbstractFileSetCheckTest

testGetMessageDispatcher 0
testLineColumnLog 0.001
testCheck 0.002
testFileContents 0.001
testMultiFileFireErrors 0
testTabWidth 0
testNotProcessed 0
testProcessException 0.001
testGetFileExtension 0
testProcessSequential 0.001
testSetExtensionThrowsExceptionWhenTheyAreNull 0

UnnecessarySemicolonAfterTypeMemberDeclarationCheckTest

testDefault 0.005
testTokens 0.001
testUnnecessarySemicolonAfterTypeMemberDeclarationRecords 0.006

NoCloneCheckTest

testTokensNotNull 0
testHasClone 0.008

RedundantModifierCheckTest

testEnumStaticMethodsInPublicClass 0.005
testStaticMethodInInterface 0.003
testFinalInAnonymousClass 0.004
testTryWithResourcesBlock 0.005
testInnerTypeInInterfaceIsImplicitlyStatic 0.004
testIt 0.006
testFinalInAbstractMethods 0.005
testEnumConstructorIsImplicitlyPrivate 0.005
testGetRequiredTokens 0.001
testNotPublicClassConstructorHasNotPublicModifier 0.004
testWrongTokenType 0.001
testEnumMethods 0.004
testRecords 0.008
testAnnotationOnEnumConstructor 0.004
testFinalInInterface 0.004
testClassesInsideOfInterfaces 0.004
testPrivateMethodInPrivateClass 0.003
testNestedClassConsInPublicInterfaceHasValidPublicModifier 0.005
testNestedStaticEnum 0.003
testGetAcceptableTokens 0
testNestedDef 0.005
testFinalInTryWithResource 0.005

RightCurlyCheckTest

testNullPointerException 0.003
testRightCurlyIsAloneLambda 0.006
testAloneOrSingleLine 0.029
testNewTokensSame 0.005
testNewTokensAlone 0.004
testRightCurlyEmptyOnSingleLine 0.003
testAlone 0.014
testNewTokensAloneOrSingleLine 0.004
testSame 0.008
testWithAnnotations 0.017
testRightCurlyDoubleBrace 0.005
testOptionAlone 0.013
testSingleLineClass 0.003
testSameDoesNotComplainForNonMultilineConstructs 0.004
testRightCurlyIsAloneOrSinglelineLambda 0.005
testTryWithResourceAlone 0.007
testRightCurlySameAndLiteralDo 0.007
testSameOmitOneLiners 0.003
testRightCurlyOptionValueOf 0
testShouldStartLine2 0.008
testBlocksEndingWithSemiOptionAlone 0.005
testRightCurlyWithEmoji 0.006
testInvalidOption 0.002
testTryWithResourceSame 0.006
testTryWithResourceAloneSingle 0.006
testBlocksEndingWithSemiOptionSame 0.006
testRightCurlyIsSameLambda 0.01
testRightCurlyWithEmojiAloneOrSingleLine 0.008
testRightCurlyEndOfFile 0.003
testDefault 0.007
testForceLineBreakBefore 0.005
testBlocksEndingWithSemiOptionAloneOrSingleLine 0.005
testNewLine 0.007
testBracePolicyAloneAndSinglelineIfBlocks 0.003
testCatchWithoutFinally 0.005
testRightCurlyRecordsAndCompactCtors 0.007
testForceLineBreakBefore2 0.005
testOptionAloneOrSingleLine 0.012

SuppressionsLoaderTest

testXpathNoCheckYesId 0
testSettingModuleId 0.001
testLoadFromUrl 2.536
testUnableToReadSuppressions 0.001
testLoadFromMalformedUrl 0.001
testXpathInvalidFileFormat 0.001
testMultipleSuppression 0.002
testUnableToFindSuppressions 0.001
testInvalidFileFormat 0.001
testLoadFromClasspath 0.001
testBadInt 0.001
testNoCheckNoId 0.001
testNoFile 0.002
testLoadFromNonExistentUrl 0.001
testNoSuppressions 0.001
testNoCheck 0.001
testXpathNoCheckNoId 0.002
testNoCheckYesId 0.002
testXpathSuppressions 0.005

MutableExceptionCheckTest

testMultipleInputs 0.004
testGetRequiredTokens 0
testWrongTokenType 0
testDefault 0.008
testFormat 0.006
testGetAcceptableTokens 0
testClassExtendsGenericClass 0.004

Java9TryWithResourcesTest

testCanParse 0.01

JavaNCSSCheckTest

testEqualToMax 0.006
testGetRequiredTokens 0
test 0.007
testRecordsAndCompactCtors 0.018
testDefaultConfiguration 0.006
testGetAcceptableTokens 0.001

SimplifyBooleanExpressionCheckTest

testTokensNotNull 0
testIt 0.008

PackageDeclarationCheckTest

testFileIgnoreDirectoryMismatchAtSubpackage 0.006
testFileIgnoreDirectoryMismatchAtParent 0.004
testFileForDirectoryMismatchAtParent 0.005
testTokensNotNull 0
testFileForDirectoryMismatchAtSubpackage 0.004
testFileForDiffDirectoryMismatch 0.003
testEmptyFile 0.002
testDefaultWithPackage 0.003
testNoPackage 0.003
testDefaultNoPackage 0.003
testOnFileWithCommentOnly 0.003
testFileIgnoreDiffDirectoryMismatch 0.004

UnicodeEscapeTest

testCanParse 0.012

Java14RecordsTest

testJava14Records 0.023

MetadataGeneratorLoggerTest

testFlushStreams 0
testAddException 0
testClose 0
testCloseOutputStreamOptionNone 0
testIgnoreSeverityLevel 0

MissingJavadocMethodCheckTest

test11684081 0.005
test11684082 0.004
testNotSkipAnythingWhenSkipRegexDoesNotMatch 0.005
testScopeInnerInterfacesPublic 0.004
testRelaxedJavadoc 0.007
testInterfaceMemberScopeIsPublic 0.006
testJava8ReceiverParameter 0.007
allowedAnnotationsTest 0.005
testTags 0.008
testMissingJavadocMethodRecordsAndCompactCtorsMinLineCount 0.004
testScopeAnonInnerPrivate 0.009
extendAnnotationTest 0.006
testNoJavadoc 0.004
testJavadocInMethod 0.005
testExcludeScope 0.006
testStrictJavadoc 0.005
testPublicMethods 0.004
testScopeAnonInnerAnonInner 0.004
testGetRequiredTokens 0
testMissingJavadocMethodRecordsAndCompactCtors 0.003
testSetterGetterOn 0.005
testNotPublicInterfaceMethods 0.003
testSkipCertainMethods 0.003
testAllowToSkipOverridden 0.004
testDoAllowMissingJavadocTagsByDefault 0.004
testEnumCtorScopeIsPrivate 0.003
testGetAcceptableTokens 0
testScopes2 0.005
testSetterGetterOff 0.004
testScopes 0.007
newTest 0.005
testConstructor 0.004

SuppressWarningsHolderTest

testGetAnnotationTargetWrongArg 0
testIsSuppressedAfterEventEnd 0
testIsSuppressed 0
testClearState 0.006
testAll 0.005
testGet 0
testGetAnnotationValuesWrongArg 0.001
testAstWithoutChildren 0
testOnComplexAnnotationsNonConstant 0.006
testIsSuppressedByModuleId 0
testIsSuppressedAfterEventStart2 0.001
testSetAliasListEmpty 0
testSetAliasListWrong 0
testEmptyAnnotation 0.002
testIsSuppressedWithAllArgument 0
testSuppressWarningsTextBlocks 0.004
testAnnotationWithFullName 0.003
testGetDefaultAlias 0
testSuppressWarningsAsAnnotationProperty 0.005
testAnnotationInTry 0.003
testOnComplexAnnotations 0.006
testSetAliasListCorrect 0
testCustomAnnotation 0.006
testIsSuppressedAfterEventEnd2 0
testGetAllAnnotationValuesWrongArg 0.001
testIsSuppressedByName 0
testIsSuppressedAfterEventStart 0

BeforeExecutionExclusionFileFilterTest

testFileExclusion 0.007
testAcceptOnNullFile 0
testAccept 0
testReject 0

SimplifyBooleanReturnCheckTest

testTokensNotNull 0
testIt 0.005

XdocsPropertyTypeTest

testAllPropertyTypesAreUsed 0.431
testAllPropertyTypesHaveDescription 0

PackageAnnotationCheckTest

testGoodPackageAnnotation 0.003
testBadPackageAnnotation 0.004
testNoPackageAnnotation 0.003
testGetAcceptableTokens 0

MissingSwitchDefaultCheckTest

testMissingSwitchDefaultSwitchExpressionsThree 0.03
testTokensNotNull 0
testMissingSwitchDefaultSwitchExpressionsTwo 0.026
testMissingSwitchDefaultCaseLabelElements 0.027
testMissingSwitchDefault 0.006
testMissingSwitchDefaultSwitchExpressions 0.01

AnnotationUtilTest

testContainsAnnotationListWithEmptyAnnotationNode 0
testContainsAnnotationListWithNoMatchingAnnotation 0
testIsProperUtilsClass 0
testContainsAnnotationWithNull 0
testContainsAnnotationListWithNullList 0
testContainsAnnotationListWithEmptyList 0
testContainsAnnotation 0
testContainsAnnotationFalse2 0
testAnnotationNull 0
testContainsAnnotationListWithNullAst 0
testContainsAnnotationFalse 0.001
testContainsAnnotationWithComment 0
testContainsAnnotationNull2 0
testAnnotationHolderNull 0.001
testContainsAnnotationNull 0
testContainsAnnotationTrue 0.001
testAnnotationEmpty 0
testAnnotationNull2 0
testContainsAnnotationListWithNoAnnotationNode 0
testContainsAnnotationWithStringFalse 0.001

FileTabCharacterCheckTest

testBadFile 0.002
testVerbose 0.007
testDefault 0.006

ExecutableStatementCountCheckTest

testLeaveTokenWithWrongTokenType 0
testStatefulFieldsClearedOnBeginTree 0
testStaticInit 0.005
testMethodDef 0.007
testVisitTokenWithWrongTokenType 0
testInstanceInit 0.005
testMaxZero 0.012
testDefaultConfiguration 0.008
testCtorDef 0.005
testExecutableStatementCountLambdas 0.015
testExecutableStatementCountRecords 0.011

MissingCtorCheckTest

testTokensNotNull 0
testMissingSwitchDefault 0.003
testMissingCtorClassOnOneLine 0.003

CheckstyleAntTaskTest

testOverrideProperty 0.025
testFailureProperty 0.022
testNonExistentConfig 0.002
testSetPropertiesFile 0.003
testSetClasspath 0.011
testSetClasspathRef1 0.005
testCreateListenerExceptionWithXmlLogger 0.01
testCreateClasspath 0
testDestroyed 0.003
testPathsOneFile 0.015
testFileSet 0.007
testDefaultLoggerListener 0
testSetFileValueByFile 0
testXmlOutput 0.012
testNoConfigFile 0.001
testConfigurationByUrl 0.007
testDefaultFlawless 0.003
testPathsFileWithLogVerification 0.005
testPathsDirectoryWithNestedFile 0.003
testDefaultLoggerListenerWithToFile 0
testSetInvalidType 0.001
testMaxErrors 0.003
testSetClasspathRef 0
testCreateListenerException 0.007
testConfigurationByResource 0.008
testExecuteIgnoredModules 0.014
testSimultaneousConfiguration 0.001
testXmlLoggerListenerWithToFile 0.001
testSetPropertiesNonExistentFile 0.001
testNoFile 0.001
testCheckerException 0.011
testMaxWarningExceeded 0.011
testCustomRootModule 0.003
testMaxWarnings 0.003
testXmlLoggerListener 0
testEmptyConfigFile 0.007
testExecuteLogOutput 0.01

AvoidDoubleBraceInitializationCheckTest

testTokensNotNull 0
testDefault 0.032

ClassDataAbstractionCouplingCheckTest

testRegularExpression 0.007
testExcludedPackageCommonPackagesAllIgnored 0.005
testWrongToken 0
testEmptyRegularExpression 0.006
test 0.006
testExcludedPackageWithEndingDot 0.002
testExcludedPackageDirectPackages 0.007
testDefaultConfiguration 0.005
testExcludedPackageCommonPackages 0.005
testTokens 0
testClassDataAbstractionCouplingRecords 0.016

NonEmptyAtclauseDescriptionCheckTest

testCheckOne 0.011
testCheckTwo 0.01
testGetRequiredTokens 0
testGetAcceptableTokens 0

TypeUseAnnotationsOnQualifiedTypesTest

testCanParse 0.009

InterfaceMemberImpliedModifierCheckTest

testFieldsOnInterfaceNoImpliedPublicStaticFinal 0.005
testMethodsOnInterfaceNoImpliedAbstractAllowImpliedPublic 0.004
testNestedOnClassNestedNoImpliedPublicStatic 0.005
testMethodsOnInterfaceAllowImpliedPublicAbstract 0.005
testPackageScopeInterface 0.005
testFieldsOnInterfaceAllowImpliedPublicStaticFinal 0.004
testFieldsOnInterfaceNoImpliedStaticFinalAllowImpliedPublic 0.006
testNestedOnInterfaceNoImpliedPublicAllowImpliedStatic 0.006
testPrivateMethodsOnInterface 0.004
testNestedOnClassIgnored 0.003
testMethodsOnClassIgnored 0.003
testMethodsOnClassNestedNoImpliedPublicAbstract 0.005
testMethodsOnInterfaceNoImpliedPublicAbstract 0.004
testGetRequiredTokens 0.001
testFieldsOnClassIgnored 0.004
testNestedOnInterfaceNestedNoImpliedPublicStatic 0.004
testMethodsOnInterfaceNoImpliedPublicAllowImpliedAbstract 0.005
testFieldsOnInterfaceNoImpliedPublicStaticAllowImpliedFinal 0.005
testNestedOnInterfaceNoImpliedStaticAllowImpliedPublic 0.004
testIllegalState 0.001
testNestedOnInterfaceNoImpliedPublicStatic 0.004
testNestedOnInterfaceAllowImpliedPublicStatic 0.005
testFieldsOnInterfaceNoImpliedPublicFinalAllowImpliedStatic 0.004
testMethodsOnInterfaceNestedNoImpliedPublicAbstract 0.004

CheckUtilTest

testIsProperUtilsClass 0
testParseClassNames 0
testIsSetterMethod 0.026
testElseWithCurly 0
testIsReceiverParameter 0.008
testGetAccessModifierFromModifiersToken 0.016
testIsElseIf 0.007
testParseDoubleFloatingPointValues 0.002
testGetTypeParameters 0.007
testIsEqualsMethod 0.007
testGetFirstNode 0.007
testEquals 0.001
testIsGetterMethod 0.008
testParseDoubleIntegerValues 0.001
testGetFirstNode1 0
testGetFirstNode2 0
testIsNonVoidMethod 0.009
testParseDoubleWithIncorrectToken 0
testGetTypeParameterNames 0.007
testGetAccessModifierFromModifiersTokenWrongTokenType 0

AuditEventTest

testFullConstructor 0
test 0

NestedTryDepthCheckTest

testTokensNotNull 0
testCustomizedDepth 0.004
testDefault 0.004

EmptyForInitializerPadCheckTest

testPadOptionValueOf 0.001
testGetRequiredTokens 0
testInvalidOption 0.003
testDefault 0.007
testWrapOptionValueOf 0
testGetAcceptableTokens 0.001
testWithEmoji 0.013
testSpaceOption 0.005

EmbeddedNullCharTest

testCanParse 0.009

RegexpMultilineCheckTest

testIllegalFailBelowErrorLimit 0.008
testNoStackOverflowError 0.007
testCarriageReturn 0.003
testIt 0.007
testIgnoreCaseFalse 0.006
testMessageProperty 0.007
testStateIsBeingReset 0
testMinimumWithCustomMessage 0.003
testEmptyFormat 0.006
testMultilineSupport 0.006
testMaximum 0.002
testDefaultConfiguration 0.007
testMinimum 0.002
testNullFormat 0.006
testMultilineSupportNotGreedy 0.006
testGoodLimit 0.006
testIgnoreCaseTrue 0.007

SummaryJavadocCheckTest

testPeriodAtEnd 0.015
testInlineForbidden 0.017
testIncorrect 0.012
testInlineCorrect 0.02
testGetRequiredTokens 0.001
testPackageInfo 0.003
testHtmlFormatSummary 0.023
testCorrect 0.01
testDefaultConfiguration 0.009
testInlineDefaultConfiguration 0.013
testNoPeriod 0.004
testInlineReturn 0.005
testInlineReturnForbidden 0.004
testPackageInfoWithAnnotation 0.004
testPeriod 0.004
testIncorrectUsageOfSummaryTag 0.012

EqualsAvoidNullCheckTest

testEqualsAvoidNullTextBlocks 0.008
testEqualsWithDefault 0.086
testTokensNotNull 0
testMisc 0.009
testEqualsNested 0.013
testInputEqualsAvoidNullEnhancedInstanceof 0.006
testRecordsAndCompactCtors 0.005
testEqualsOnTheSameLine 0.005
testEqualsSuperClass 0.003
testEqualsWithoutEqualsIgnoreCase 0.02

ImportOrderCheckTest

testMultilineImport 0.006
testStaticGroupsAlphabeticalOrderBottomNegative2 0.007
testStaticGroupsAlphabeticalOrder 0.006
testWildcardUnspecified 0.004
testSeparated 0.006
testStaticGroupsAlphabeticalOrderBottom 0.005
testNoGapBetweenStaticImports 0.006
testImportGroupsRedundantSeparatedInternally 0.005
testStaticOnDemandGroupsOrder 0.005
testStaticGroupsAlphabeticalOrderTopNegative 0.005
testStaticOnDemandGroupsOrderBottom 0.004
testEclipseDefaultPositive 0.006
testTop 0.005
testEclipseDefaultNegative 0.005
testGetGroupNumber 0.004
testAbove 0.004
testUnder 0.005
testContainerCaseInsensitive 0.004
testStaticGroupsOrderBottom 0.004
testStaticGroupsUnordered 0.006
testStaticOnDemandGroupsAlphabeticalOrder 0.005
testSortStaticImportsAlphabeticallyTrue 0.005
testStaticGroupsAbove 0.004
testStaticGroupsOrder 0.004
testWildcard 0.004
testGroupWithSlashes 0.002
testStaticOnDemandGroupsAlphabeticalOrderBottom 0.004
testUseContainerOrderingForStatic 0.005
testNoFailureForRedundantImports 0.003
testUseContainerOrderingForStaticTrue 0.005
testStaticGroupsBottomSeparated 0.006
testSimilarGroupPattern 0.003
testCaseInsensitive 0.004
testMultiplePatternMatches 0.004
testStaticImportReceptionTop 0.004
testHonorsTokenProperty 0.004
testStaticImportReception 0.004
testGroupsRegexp 0.004
testStaticGroupsTopSeparated 0.005
testWrongSequenceInNonStaticImports 0.003
testInvalidOption 0.002
testStaticGroupsNegative 0.004
testVisitTokenSwitchReflection 0.001
testStaticImportEclipseRepetition 0.004
testStaticGroupsTop 0.004
testSortStaticImportsAlphabeticallyFalse 0.004
testUseContainerOrderingForStaticFalse 0.004
testDefault 0.003
testBottom 0.004
testImportOrderOptionValueOf 0
testImportReception 0.003
testStaticGroupsAlphabeticalOrderBottomNegative 0.004
testStaticImportSeparated 0.003
testStaticOnDemandGroupsOrderAbove 0.003
testStaticGroupsBottom 0.005
testUseContainerOrderingForStaticTrueCaseSensitive 0.005
testStaticGroupsOrderAbove 0.004
testGroups 0.003
testInFlow 0.003
testStaticGroupsInflow 0.003
testGroupWithDot 0.003

PrecedingIteratorTest

testPrecedingNodes 0.002
testNoSibling 0
testReverseOrderOfDescendants 0
testNoParent 0.001

MethodReferencesTest

testFromHibernate 0.01
testGenericInPostfixExpressionBeforeReference 0.021
testFromSpec 0.012
testArrayAfterGeneric 0.011
testMethodReferences7 0.018
testCanParse 0.028
testFromSpring 0.007

ParenPadCheckTest

testLambdaAssignment 0.023
testTryWithResources 0.005
testNospaceWithComplexInput 0.038
testSpace 0.012
testParenPadCheckRecordsWithSpace 0.013
testLambdaCheckDisabledWithSpace 0.007
testLambdaCheckOnlyWithSpace1 0.004
test1322879 0.004
testConfigureTokens 0.013
testLambdaCheckDisabled 0.006
testParenPadCheckEmoji 0.008
testIsAcceptableToken 0
testLambdaCheckOnlyWithSpace 0.006
testInvalidOption 0.003
testLambdaCheckOnly 0.006
testLambdaAssignmentWithSpace 0.006
testDefault 0.01
testParenPadCheckRecords 0.007
testSpaceEmptyForIterator 0.005
testNoStackoverflowError 0.034
testDefaultForIterator 0.004

IndentationCheckTest

testValidNewKeywordWithForceStrictCondition 0.005
testInvalidDoWhileWithChecker 0.012
testValidMethodWithChecker 0.033
test15Extensions 0.004
testThrowsIndentationLevel2 0.006
testValidClassDefWithChecker 0.026
testIndentationSwitchExpression 0.011
testStrictCondition 0.007
testIndentationRecordsAndCompactCtors 0.007
testEmptyArray 0.004
testInputAnnotationDefIndentationCheck 0.017
testSeparatedStatements 0.002
testForWithNoCurly 0.006
testArgumentOrderOfErrorMessages 0.001
testAnnotations 0.028
testAnnotationArrayInit 0.007
testAnnotationIncorrect 0.004
testMultipleAnnotationsWithWrappedLines 0.006
testInvalidAssignWithChecker 0.005
testInvalidClassDefWithChecker 0.011
testValidBlockWithChecker 0.021
testValidWhileWithChecker 0.008
testIndentationLongConcatenatedString 2.959
testDifficultAnnotations 0.01
testIndentationRecords 0.006
testTabs 0.004
testInvalidMethodWithChecker 0.014
testIndentationSwitchExpressionDeclaration 0.004
testIndentationLineBreakVariableDeclaration 0.005
testAnonClassesFromGuava 0.017
testNewKeyword 0.003
testChainedMethodCalling 0.004
testZeroAnnotationArrayInit 0.004
testValidLabel 0.005
testIndentationYieldStatement 0.011
testValidIfWithChecker 0.012
testTryResourcesNotStrict 0.02
testIndentationAnnotationFieldDefinition 0.006
testIndentationSwitchExpressionCorrect 0.003
testValidForWithChecker 0.007
testValidCommaWithChecker 0.003
testLambda1 0.087
testLambda2 0.007
testLambda3 0.012
testLambda4 0.004
testLambda5 0.003
testInvalidBlockWithChecker 0.007
testInvalidWhileWithChecker 0.008
testAnnotationArrayInitWithEmoji 0.005
testLambdaTrueForceStrictCondition 0.01
testValidSwitchWithChecker 0.006
testBraceAdjustment 0.003
testPackageDeclaration2 0.002
testPackageDeclaration3 0.002
testPackageDeclaration4 0.002
testOddAnnotations 0.003
testInvalidArrayInitWithTrueStrictCondition 0.009
testGetRequiredTokens 0
testZeroCaseLevel 0.003
testAnnotationClosingParenthesisEndsInSameIndentationAsOpening 0.007
testInvalidForWithChecker 0.007
testAndroidStyle 0.005
forbidOldStyle 0.004
testArrayInitWithEmoji 0.004
testValidArrayInitTwoDimensional 0.004
testSynchronizedMethod 0.003
testIndentationLevel 0.008
testInvalidNewKeywordWithForceStrictCondition 0.003
testIndentationLineWrappedRecordDeclaration 0.007
testIndentationSwitchExpressionNewLine 0.006
testValidArrayInit 0.003
testValidArrayInitDefaultIndentWithChecker 0.008
testCtorCall 0.018
testInvalidArrayInitTwoDimensional 0.004
testTryResourcesStrict 0.008
testInvalidLabelWithWhileLoop 0.004
testDoWhileWithoutCurly 0.004
testThrowsIndentationLevel 0.004
testAnnotationOddStyles 0.002
testAnonymousClassInMethodWithCurlyOnNewLine 0.012
testAnonymousClassInMethod 0.004
testAnnotationArrayInitGoodCase 0.004
testInputAnnotationScopeIndentationCheck 0.005
testMembers 0.01
testNewHandler 0.003
testAlternativeGoogleStyleSwitchCaseAndEnums 0.005
testMethodChaining 0.003
testValidInterfaceDefWithChecker 0.004
testInvalidSwitchWithChecker 0.007
testIndentationMethodParenthesisOnNewLine1 0.003
testIfElseWithNoCurly 0.005
testValidDotWithChecker 0.008
testTryHandler2 0.004
testAnnotationDefinition 0.003
testTryHandler 0.003
testInvalidArrayInitWithChecker 0.007
testValidDoWhileWithChecker 0.009
testAnonymousClasses 0.008
testValidTryWithChecker 0.004
testAnnotationArrayInitGoodCaseTwo 0.003
testLambdaFalseForceStrictCondition 0.009
testLambdaOddConditions 0.004
testInvalidIfWithChecker 0.013
testNewKeyword2 0.003
testIndentationMethodParenthesisOnNewLine 0.003
testMethodCallLineWrap 0.007
testInvalidImportIndent 0.003
testArrays 0.005
testInvalidInvalidAnonymousClass 0.005
testCaseLevel 0.003
testClassesAndMethods 0.006
testChainedMethodWithBracketOnNewLine 0.007
testLabels 0.005
testGetAcceptableTokens 0
testInvalidLabel 0.005
testTwoStatementsPerLine 0.002
testInvalidTryWithChecker 0.006
testAnnotationArrayInitTwo 0.005
testCorrectIfAndParameters 0.01
testSwitchCustom 0.004
testSynchronizedStatement 0.004
testValidArrayInitWithChecker 0.006
testPackageDeclaration 0.002
testSeparatedLineWithJustSpaces 0.002
testThrowsIndentProperty 0.001
testValidAssignWithChecker 0.004
testWhileWithNoCurly 0.005
testMethodPrecedeByAnnotationsWithParameterOnSeparateLine 0.003
testTryResources 0.004

DesignForExtensionCheckTest

testOverridableMethods 0.01
testInterfaceMemberScopeIsPublic 0.005
testDesignForExtensionRecords 0.004
testIgnoreAnnotationsOptionWithMultipleAnnotations 0.005
testIt 0.014
testRequiredJavadocPhraseMultiLine 0.005
testRequiredJavadocPhrase 0.006
testGetRequiredTokens 0
testGetAcceptableTokens 0
testIgnoredAnnotationsOption 0.008
testNativeMethods 0.005

SuppressWithPlainTextCommentFilterTest

testInvalidCheckFormat 0.007
testAcceptNullViolation 0.001
testSuppressByModuleIdWithNullModuleId 0.024
testFilterWithDirectory 0
testSuppressByCheck 0.023
testInvalidMessageFormatInSqlFile 0.004
testSuppressByModuleId 0.021
testSuppressByCheckAndNonMatchingModuleId 0.021
testChangeOffAndOnFormat 0.013
testSuppressionCommentsInSqlFile 0.003
testSuppressionCommentsInXmlFile 0.004
testSuppressionCommentsInJavaScriptFile 0.019
testAcceptThrowsIllegalStateExceptionAsFileNotFound 0.001
testFilterWithCustomMessageFormat 0.021
testInvalidMessageFormat 0.004
testSuppressionCommentsInPropertiesFile 0.003
testFilterWithCheckAndCustomMessageFormat 0.004
testSuppressByCheckAndModuleId 0.019
testFilterWithIdAndCustomMessageFormat 0.003
testFilterWithDefaultConfig 0.011
testInvalidIdFormat 0.004
testEqualsAndHashCodeOfSuppressionClass 0.013

RootNodeTest

testFingerprint 0
testGetStringValueCs 0.001
testGetDepth 0.002
testGetPublicId 0.002
testSaveLocation 0.002
testXpath 0.003
testCopy 0.002
testIsId 0.002
testAtomize 0.002
testSetSystemId 0.002
testGetSystemId 0.002
testRootWithNullDetailAst 0.003
testBaseUri 0.002
testSameNodeInfo 0.002
testGenerateId 0.002
testGetAttributeValue 0.003
testGetConfiguration 0.002
testGetLocalPart 0.003
testGetDisplayName 0.002
testIsStreamed 0.002
testIsNilled 0.001
testGetColumnNumber 0.001
testGetStringValue 0.002
testCompareOrder 0.002
testGetSchemaType 0.001
testGetTokenType 0.001
testGetLineNumber 0.002
testGetPrefix 0.002
testGetDeclaredNamespaces 0.002
testIsIdref 0.002
testIterate 0.002
testGetAllNamespaces 0.001

XdocsPagesTest

testAllChecksPageInSyncWithChecksSummaries 0.067
testAllSubSections 0.109
testAllChecksPresentOnAvailableChecksPage 0.464
testAllXmlExamples 1.612
testAllStyleRules 0.03
testAllCheckSections 0.108
testAllCheckSectionsEx 0.004

UnnecessarySemicolonAfterOuterTypeDeclarationCheckTest

testUnnecessarySemicolonAfterOuterTypeDeclarationRecords 0.005
testDefault 0.004
testTokens 0

ParseTreeTablePresentationTest

testGetValueAtDetailNode 0.002
testCommentChildCount 0.001
testColumnNames 0
testChild 0
testRoot 0
testChildInJavaAndJavadocMode 0
testCommentChildCountInJavaAndJavadocMode 0.001
testJavadocChild 0
testColumnMethods 0.001
testJavadocCommentChildCount 0
testGetIndexOfChild 0
testGetValueAt 0
testChildCount 0
testJavadocChildCount 0
testCommentChildInJavaAndJavadocMode 0.001
testChildCountInJavaAndJavadocMode 0.001
testJavadocCommentChild 0

RegexpSinglelineJavaCheckTest

testIgnoreCommentsNoSpaces 0.004
testExistingInCode 0.008
testIgnoreCommentsMultiLine 0.007
testIt 0.009
testIgnoreCommentsFalseBlockStyle 0.005
testIgnoreCaseFalse 0.009
testIgnoreCommentsInlineMiddle 0.005
testIgnoreCommentsFalseCppStyle 0.006
testMessageProperty 0.011
testGetRequiredTokens 0
test1371588 0.006
testIgnoreCommentsInlineStart 0.004
testMissing 0.008
testIgnoreCommentsMultipleBlockStyle 0.005
testExistingInDoc 0.007
testIgnoreCommentsBlockStyle 0.005
testGetAcceptableTokens 0
testIgnoreCommentsCppStyle 0.007
testIgnoreCommentsInlineEnd 0.004
testIgnoreCaseTrue 0.063

HeaderCheckTest

testHeaderIsValidWithBlankLinesBlockStyle 0.002
testNotMatch 0.002
testIgnoreLinesSorted 0.002
testEmptyFilename 0.002
testIoExceptionWhenLoadingHeader 0.466
testLoadHeaderFileTwice 0.002
testHeaderIsValidWithBlankLines 0.005
testExternalResource 0
testInvalidCharset 0.004
testCacheHeaderWithoutFile 0.004
testIoExceptionWhenLoadingHeaderFile 0.001
testNullFilename 0.002
testNonExistentHeaderFile 0.002
testNoHeader 0.003
testCacheHeaderFile 0.006
testIgnore 0.002
testWhitespaceHeader 0.003
testSetHeaderTwice 0.001
testStaticHeader 0.002

NPathComplexityCheckTest

testStatefulFieldsClearedOnBeginTree1 0.001
testStatefulFieldsClearedOnBeginTree2 0
testStatefulFieldsClearedOnBeginTree3 0.004
testCalculation 0.034
testNpathComplexityRecords 0.006
testVisitTokenBeforeExpressionRange 0.001
testTokenEndIsAfterSameLineColumn 0
testGetRequiredTokens 0
testDefaultHooks 0
testDefaultConfiguration 0.013
testNpathComplexitySwitchExpression 0.022
testGetAcceptableTokens 0
testIntegerOverflow 0.006
testCalculation2 0.009
testCalculation3 0.009

FinalClassCheckTest

testFinalClassInnerAndNestedClasses 0.009
testFinalClassEnum 0.005
testImproperToken 0
testGetRequiredTokens 0
testFinalClassInterface 0.005
testFinalClassAnnotation 0.004
testFinalClassConstructorInRecord 0.004
testFinalClassStaticNestedClasses 0.008
testClassWithPrivateCtorAndNestedExtendingSubclass 0.016
testGetAcceptableTokens 0
testFinalClass 0.014
testClassWithPrivateCtorAndNestedExtendingSubclassWithoutPackage 0.004

AtclauseOrderCheckTest

testIncorrectCustom 0.044
testAtclauseOrderLotsOfRecords 0.026
testIncorrect 0.024
testGetRequiredTokens 0
testPackageInfo 0.004
testMethodReturningArrayType 0.007
testNewArrayDeclaratorStructure 0.01
testCorrect 0.021
testAtclause 0.011
testAtclauseOrderRecords 0.008
testGetAcceptableTokens 0

LocalVariableNameCheckTest

testInnerClass 0.005
testDefault 0.007
testLoopVariables 0.009
testGetAcceptableTokens 0

PropertiesExpanderTest

testCtorException 0
testDefaultProperties 0

RecordComponentNumberCheckTest

testRecordComponentNumberMax1 0.032
testRecordComponentNumberMax20 0.025
testGetRequiredTokens 0
testRecordComponentNumberTopLevel1 0.004
testRecordComponentNumberTopLevel2 0.003
testRecordComponentNumberPrivateModifier 0.03
testDefault 0.028
testGetAcceptableTokens 0

InlineTagUtilTest

testBadInputExtractInlineTagsCarriageReturn 0
testExtractInlineTags 0
testMultiLineLinkTag 0
testBadInputExtractInlineTagsLineFeed 0
testHasPrivateConstructor 0
extractInlineTags 0
testCollapseWhitespace 0

InnerTypeLastCheckTest

testInnerTypeBeforeCtor 0.003
testInnerTypeLastCstyleArray 0.004
testIfRootClassChecked 0.004
testGetRequiredTokens 0
testIfRootClassChecked2 0.005
testIfRootClassChecked3 0.002
testGetAcceptableTokens 0
testInnerTypeLastRecords 0.008
testMembersBeforeInner 0.012

SarifLoggerTest

testAddException 0
testAddErrorWithWarningLevel 0
testNoCloseStream 0
testEmpty 0
testAddError 0.002
testCloseStream 0.001
testAddErrors 0.001
testFinishLocalSetup 0
testAddExceptions 0
testReadResourceWithInvalidName 0
testEscape 0.001
testNullOutputStreamOptions 0
testLineOnly 0.001

SeverityLevelTest

testMixedCaseSpacesWithDifferentLocales 0
testMisc 0
testSeverityLevelValueOf 0
testMixedCaseSpaces 0

ClassImportRuleTest

testClassImportRule 0
testClassImportRuleRegexp 0
testClassImportRuleRegexpSimple 0

CommentTest

test 0
testIntersects2 0
testIntersects3 0
testIntersects 0

ImportControlCheckTest

testOneRegExp 0.008
testOne 0.008
testTwo 0.008
testUrlInFilePropertyUnableToLoad 0.295
testEmpty 0.005
testWrong 0.006
testPathRegexDoesntMatchPartially 0.007
testNull 0.004
testStrategyOnMismatchOne 0.007
testStrategyOnMismatchTwo 0.007
testStrategyOnMismatchFour 0.007
testDisallowClassOfAllowPackage 0.006
testPkgRegExpInChild 0.006
testUnknown 0.002
testResourceUnableToLoad 0.002
testGetRequiredTokens 0
testNotRegExpNoMatch 0.005
testFileName 0.008
testPathRegexMatches 0.007
testPathRegexMatchesPartially 0.006
testResource 0.006
testUrlInFileProperty 0.006
testTwoRegExp 0.007
testPkgRegExpInParent 0.006
testMissing 0.004
testCacheWhenFileExternalResourceContentDoesNotChange 0.011
testPathRegexDoesntMatch 0.006
testBroken 0.004
testFileNameNoExtension 0.003
testGetAcceptableTokens 0
testPkgRegExpInBoth 0.006
testBlacklist 0.007
testStrategyOnMismatchThree 0.006

ImportControlLoaderTest

testLoad 0.002
testSafeGetThrowsException 0.001
testLoadThrowsException 0
testInputStreamFailsOnRead 0.401
testWrongFormatUri 0.002
testExtraElementInConfig 0.005

RecordTypeParameterNameCheckTest

testRecordDefault 0.01
testClassFooName 0.006
testGetAcceptableTokens 0
testGetClassRequiredTokens 0

GeneratedJavaTokenTypesTest

testTokenNumbering 0.001

CatchParameterNameCheckTest

testCustomFormatFromJavadoc 0.005
testCustomFormatWithNoAnchors 0.004
testDefaultConfigurationOnFileWithViolations 0.004
testDefaultConfigurationOnCorrectFile 0.006
testTokens 0.001

CheckerTest

testDefaultLoggerClosesItStreams 0.081
testFileExtensions 0.107
testTabViolationDefault 0.035
testAddBeforeExecutionFileFilter 0.002
testIgnoredFileExtensions 0.008
testRemoveListener 0.003
testClearCache 0.043
testWithCacheWithNoViolation 0.013
testNoClassLoaderNoModuleFactory 0.001
testSetupChildListener 0.001
testClearLazyLoadCacheInDetailAST 0.208
testTabViolation 0.009
testClearCacheWhenCacheFileIsNotSet 0.002
testCacheAndCheckWhichDoesNotImplementExternalResourceHolderInterface 0.037
testHaltOnException 0.011
testExceptionWithCache 0.016
testAddListener 0.001
testRemoveFilter 0.001
testExceptionWithCacheAndNoFileName 0.006
setFileExtension 0.001
testDuplicatedModule 0.033
testNoModuleFactory 0.003
testHaltOnExceptionOff 0.012
testAddFilter 0
testSetFileSetCheckSetsMessageDispatcher 0.001
testAddAuditListenerAsChild 0.002
testSetupChildExceptions 0.001
testXmlLoggerClosesItStreams 0.003
testFinishLocalSetupFullyInitialized 0.002
testClearExistingCache 0.006
testExceptionWithNoFileName 0.001
testDestroy 0.002
testCacheOnViolationSuppression 0.026
testCatchErrorWithNoFileName 0.002
testDestroyCheckerWithWrongCacheFileNameLength 0.002
testCheckerProcessCallAllNeededMethodsOfFileSets 0.001
testCacheAndCheckWhichAddsNewResourceLocationButKeepsSameCheckerInstance 0.008
testSetters 0.008
testFileSetCheckInitWhenAddedAsChild 0.004
testAddBeforeExecutionFileFilterAsChild 0.001
testSetupChildInvalidProperty 0.005
testCatchErrorWithCacheWithNoFileName 0.003
testCatchErrorWithCache 0.004
testRemoveBeforeExecutionFileFilter 0.001
testCacheAndFilterWhichDoesNotImplementExternalResourceHolderInterface 0.005
testCatchErrorInProcessFilesMethod 0.001

XpathUtilTest

testPrintXpathNotComment 0.006
testPrintXpathComment 0.003
testIsProperUtilsClass 0
testGetValue 0.001
testPrintXpathTwo 0.003
testCreateChildren 0.001
testInvalidXpath 0.003
testSupportsTextAttribute 0.001

NestedIfDepthCheckTest

testTokensNotNull 0
testCustomizedDepth 0.005
testDefault 0.006

IllegalInstantiationCheckTest

testClearStateImports 0.001
testJava8 0.007
testTokensNotNull 0
testWrongPackage 0.004
testSameClassNameAsJavaLang 0.005
testImproperToken 0
testClearStateClassNames 0.001
testJavaLangPackage 0.004
testNoPackage 0.005
testClasses 0.014
testClearStateInstantiations 0.001
testDefault 0.005

SeverityLevelCounterTest

testAddException 0
testAddExceptionWarning 0
testAddError 0
testAuditStartedClearsState 0
testCtorException 0

XdocsJavaDocsTest

testAllCheckSectionJavaDocs 1.874

GeneratedJavadocTokenTypesTest

testRuleNumbers 0
testTokenNumbers 0.002

PackageNamesLoaderTest

testPackagesFile 0.003
testPackagesWithIoException 0.001
testPackagesWithSaxException 0.001
testPackagesWithIoExceptionGetResources 0.001
testPackagesWithDots 0.001
testDefault 0.001
testNoPackages 0.001
testPackagesWithDotsEx 0.002

JavaAstVisitorTest

testAllVisitMethodsAreOverridden 0.003
testNoStackOverflowOnDeepStringConcat 0.029
testOrderOfVisitMethodsAndProductionRules 0.294
testNullSelfInAddLastSibling 0

IllegalTokenCheckTest

testCommentContentToken 0.008
testCheckWithDefaultSettings 0.004
testSingleLineCommentToken 0.005
testBlockCommentBeginToken 0.005
testPreviouslyIllegalTokens 0.004
testNative 0.005
testBlockCommentEndToken 0.006

MethodCountCheckTest

testMethodCountRecords 0.007
testInterfaceMemberScopeIsPublic 0.005
testEnum 0.006
testPartialTokens 0.004
testOnInterfaceDefinitionWithField 0.003
testGetRequiredTokens 0
testCountMethodToCorrectDefinition 0.005
testWithInterfaceDefinitionInClass 0.004
testWithPackageModifier 0.004
testDefaults 0.005
testGetAcceptableTokens 0
testThrees 0.008

XpathMapperTest

testQueryElementByIndex 0.004
testFirstImport 0.005
testQueryByMethodName 0.003
testQueryAncestorOrSelf 0.007
testQueryAncestor 0.003
testQueryInterfaceParameterDef 0.003
testQueryAllClassDefinitions 0.003
testCurlyBrackets 0.006
testMethodDefByAnnotationValue 0.005
testQueryAllVariableDefinitionsWithAttribute 0.004
testQueryElementNotImplementedAxis 0.003
testQueryNonExistentAttribute 0.004
testQueryElementFollowingTwo 0.003
testIdent 0.003
testQuerySelf 0.005
testAttributeOr 0.003
testQueryEnumElementByName 0.002
testQueryElementPrecedingLiteralPublic 0.002
testQueryMethodDefinitionsByClassName 0.003
testOr 0.002
testThirdImport 0.004
testQueryAllElementsWithAttribute 0.004
testQueryRootSelf 0.003
testQueryElementPrecedingSiblingVariableDef 0.004
testQueryElementNoFollowing 0.004
testQueryAnnotation 0.004
testQueryElementPrecedingOne 0.003
testQueryElementPrecedingTwo 0.004
testQueryClassDefinitionByClassName 0.005
testQueryElementPrecedingSiblingArray 0.004
testTextBlockByItsValue 0.003
testManyNestedNodes 31.307
testIdentByText 0.003
testSameNodesByNameAndByText 0.005
testQueryEnumElementsNumber 0.002
testQueryDescendant 0.002
testQueryElementFollowingMethodDef 0.003
testQueryElementFollowing 0.004
testComplexQueryOne 0.004
testComplexQueryTwo 0.002
testAttributeAnd 0.004
testQueryWrongClassName 0.002
testSecondImport 0.002
testSecondCaseGroup 0.004
testQueryRootNotImplementedAxis 0.002
testQueryNoDescendant 0.002
testQueryAllVariableDefWrongAttribute 0.003
testQueryAllMethodDefinitionsInContext 0.003
testQueryNoChild 0.002
testNumVariableByItsValue 0.002
testQueryDescendantOrSelf 0.002
testFirstCaseGroup 0.002
testQueryElementPrecedingSibling 0.002
testQueryEnumDef 0.002
testQuerySingleLineCommentByCommentContent 0.003
testLastImport 0.002
testQueryElementNoFollowingSibling 0.002
testQueryInterfaceMethodDefNumber 0.002
testQueryElementFollowingSibling 0.002
testQueryByClassNameAndMethodName 0.003
testQueryWrongXpath 0.002
testQueryInterfaceDef 0.002
testNodeOrdering 0.003
testStringVariableByItsValue 0.002
testParent 0.002
testQueryElementFollowingSiblingRcurly 0.002
testComplexQueryThree 0.003
testQueryNonExistentAnnotation 0.002
testThirdCaseGroup 0.002
testFourthCaseGroup 0.003
testFullPath 0.003

XmlMetaReaderTest

test 0.306
testDuplicatePackage 0.313
testReadXmlMetaFileFilter 0.001
testReadXmlMetaCheckNoProperties 0
testBadPackage 0.195
testReadXmlMetaFilter 0
testReadXmlMetaCheckWithProperties 0.001
testReadXmlMetaModuleTypeNull 0

JavadocTagContinuationIndentationCheckTest

testCheck 0.036
testFp 0.007
testGetRequiredTokens 0
testBlockTag 0.032
testCheckWithDescription 0.005
testCheckWithOffset3 0.005

LineColumnTest

testCompareToBothEqual 0
testCompareToFirstLarger 0
testGetters 0
testEqualsAndHashCode 0.015
testCompareToFirstSmaller 0

CommitValidationTest

testHasCommits 0
testSupplementalPrefix 0
testCommitMessageHasProperStructure 0
testCommitMessage 0.001

AnnotationUseStyleCheckTest

testStyleExpanded 0.012
testCommaNeverViolations 0.008
testStyleCompactNoArray 0.009
testCommaAlwaysNoViolationsNonCompilable 0.007
testStyleCompact 0.008
testStyleNotInList 0.004
testAnnotationsWithoutDefaultValues 0.003
testTrailingArrayIgnore 0.005
testCommaAlwaysViolationsNonCompilable 0.005
testParensNever 0.008
testClosingParensOptionValueOf 0
testCommaAlwaysViolations 0.007
testParensAlways 0.008
testDefault 0.008
testCommaNeverNoViolations 0.004
testTrailingArrayCommaOptionValueOf 0
testGetOption 0
testGetAcceptableTokens 0
testEverythingMixed 0.007
testElementStyleOptionValueOf 0
testCommaAlwaysNoViolations 0.005

CrAwareLexerTest

testConsumeWindowsNewlineZeroCharPositionInLine 0
testConsumeCarriageReturnZeroCharPositionInLine 0
testConsumeWindowsNewline 0
testConsumeCarriageReturnNewline 0

IntRangeFilterElementTest

testDecideEmpty 0
testDecideSingle 0
testDecide 0
testEqualsAndHashCode 0.009

AccessResultTest

testAccessResultValueOf 0
testAccessResultValues 0

XpathFileGeneratorAuditListenerTest

testAddException 0.002
testNoCloseStream 0
testOnlyOneMatching 0.022
testFileFinished 0
testFileStarted 0
testCloseStream 0
testFinishLocalSetup 0
testCorrectOne 0.001
testCorrectTwo 0.019

RegexpSinglelineCheckTest

testSetMessage 0.006
testIt 0.007
testIgnoreCaseFalse 0.006
testMessageProperty 0.006
testStateIsBeingReset 0.001
testMaximum 0.008
testMinimum 0.009
testIgnoreCaseTrue 0.007

ScopeTest

testIsInPublic 0
testMisc 0
testIsInPackage 0
testIsInPrivate 0
testMixedCaseSpaces 0
testIsInAnonInner 0
testMixedCaseSpacesWithDifferentLocale 0
testIsInNothing 0
testIsInProtected 0
testScopeValueOf 0.001

XpathFileGeneratorAstFilterTest

testAcceptNoToken 0
testClearState 0.001
testTabWidth 0.001
testNoXpathQuery 0
test 0.001

UnnecessaryParenthesesCheckTest

test15Extensions 0.005
testTokensNotNull 0
testUnnecessaryParenthesesTextBlocks 0.005
testLambdas 0.04
testIfStatement2 0.016
testUnnecessaryParenthesesSwitchExpression 0.018
testIfStatement 0.014
testUnnecessaryParenthesesPatterns 0.004
testDefault 0.027
testReturn 0.008

OperatorWrapCheckTest

testGuardedPattern 0.024
testOpWrapEol 0.012
testTryWithResources 0.009
testEol 0.008
testArraysAssign 0.005
testNl 0.007
testNonDefOpsDefault 0.008
testNonDefOpsWrapEol 0.008
testInvalidOption 0.003
testDefault 0.007
testAssignEol 0.009

PkgImportControlTest

testRegExpChildUnknownPkg 0
testEnsureTrailingDot 0
testRegExpParentUnknownPkg 0
testRegExpParentAlternationInParentIfUserCaresForIt 0
testDotMetaCharacter 0
testCheckAccess 0
testRegExpChildLocateFinest 0
testRegExpParentAlternationInSubpackageIsHandledCorrectly 0
testRegExpParentEnsureTrailingDot 0
testUnknownPkg 0.001
testLocateFinest 0
testRegExpChildCheckAccess 0
testRegExpParentInSubpackageIsConsidered 0
testRegExpParentInRootIsConsidered 0
testRegExpParentAlternationInParentIsHandledCorrectly 0

InterfaceTypeParameterNameCheckTest

testInterfaceDefault 0.005
testGetRequiredTokens 0.001
testInterfaceFooName 0.005
testGetAcceptableTokens 0

BooleanExpressionComplexityCheckTest

testNullPointerException 0.004
testSmall 0.011
testWrongToken 0.001
test 0.013
testBooleanExpressionComplexityRecordsAndCompactCtors 0.011
testNoBitwise 0.01

ModifierOrderCheckTest

testModifierOrderSealedAndNonSealedNoViolation 0.004
testSkipTypeAnnotations 0.019
testGetDefaultTokens 0.002
testAnnotationOnAnnotationDeclaration 0.004
testIt 0.006
testGetRequiredTokens 0
testModifierOrderSealedAndNonSealed 0.009
testGetAcceptableTokens 0
testDefaultMethods 0.004

FileImportControlTest

testLocateFinest 0

SingleSpaceSeparatorCheckTest

testSpaceErrorsAroundComments 0.005
testSpaceErrorsInChildNodes 0.006
testEmpty 0.003
testSpaceErrorsIfCommentsIgnored 0.005
testMinColumnNo 0.004
testNoSpaceErrors 0.007
testSpaceErrorsAroundCommentsWithEmoji 0.013
testWhitespaceInStartOfTheLine 0.004
testSpaceErrors 0.009
testGetAcceptableTokens 0
testNoStackoverflowError 0.042
testSpaceErrorsWithEmoji 0.017

AvoidEscapedUnicodeCharactersCheckTest

testAllowByTailCommentWithEmoji 0.017
testCountMatches 0
allowNonPrintableEscapes 0.016
testAvoidEscapedUnicodeCharactersTextBlocksAllowByComment 0.007
testAvoidEscapedUnicodeCharactersEscapedS 0.006
testAllowEscapesForControlCharacterSetForAllCharacters 7.458
testGetRequiredTokens 0
testAllowByTailComment 0.01
testNonPrintableCharsAreSorted 0.003
testDefault 0.009
testGetAcceptableTokens 0.001
testAllowEscapesForControlCharacterSet 0.009
testAllowAllCharactersEscaped 0.009
testAvoidEscapedUnicodeCharactersTextBlocks 0.005

ChainedPropertyUtilTest

testIsProperUtilsClass 0
testPropertyChainingPropertyNotFound 0.001
testPropertyChaining 0.001
testPropertyChainingRecursiveUnresolvable 0.001

ArchUnitTest

nonProtectedCheckMethodsTest 1.894

SuppressWarningsCheckTest

testCompactAllNonConstant 0.021
testCompactNoUncheckedUnusedAll 0.009
testCompactNoUnchecked 0.008
testExpandedNoUncheckedUnusedNonConstant 0.021
testCompactDefault 0.007
testCompactNoUncheckedUnusedNonConstant 0.011
testCompactAll 0.007
testSingleNoUnchecked 0.01
testExpandedNoUncheckedUnusedAllNonConstant 0.012
testExpandedAll 0.009
testExpandedNoUnWildcard 0.026
testExpandedDefault 0.007
testCompactNoUncheckedTokens 0.006
testCompactNoUncheckedUnused 0.006
testSingleAll 0.008
testUncheckedInConstant 0.004
testExpandedNoUncheckedUnusedAll 0.008
testExpandedNoUnWildcardNonConstant 0.011
testExpandedNoUnchecked 0.007
testSingleNoUnWildcard 0.008
testValuePairAnnotation 0.003
testSuppressWarningsRecords 0.007
testCompactNoUncheckedUnusedAllNonConstant 0.009
testExpandedNoUncheckedNonConstant 0.011
testExpandedNoUncheckedTokensNonConstant 0.011
testCompactNoUncheckedTokensNonConstant 0.009
testExpandedDefaultNonConstant 0.01
testWorkingProperlyOnComplexAnnotations 0.013
testSingleDefault 0.006
testCompactNoUnWildcard 0.006
testCompactDefaultNonConstant 0.009
testExpandedNoUncheckedTokens 0.006
testExpandedNoUncheckedUnused 0.007
testWorkingProperlyOnComplexAnnotationsNonConstant 0.011
testSingleNoUncheckedUnusedAll 0.007
testExpandedAllNonConstant 0.01
testCompactNoUnWildcardNonConstant 0.009
testSingleNoUncheckedTokens 0.007
testSingleNoUncheckedUnused 0.007

AnonInnerLengthCheckTest

testGetRequiredTokens 0
testDefault 0.012
testGetAcceptableTokens 0
testNonDefault 0.008

JavadocBlockTagLocationCheckTest

testIncorrect 0.006
testMultilineCodeBlock 0.029
testCorrect 0.005
testGetAcceptableTokens 0
testCustomTags 0.005

TodoCommentCheckTest

testIt 0.007
testGetRequiredTokens 0
testGetAcceptableTokens 0

RegexpHeaderCheckTest

testRegexpHeader 0.002
testIgnoreLinesSorted 0.002
testRegexpHeaderMulti52 0.001
testRegexpHeaderSmallHeader 0.002
testEmptyFilename 0.001
testNoWarningIfSingleLinedLeft 0.001
testFailureForMultilineRegexp 0.002
testInlineRegexpHeaderConsecutiveNewlines 0.002
testRegexpHeaderIgnore 0.002
testEmptyMultiline 0.002
testRegexpHeaderMulti1 0.002
testRegexpHeaderMulti2 0.002
testRegexpHeaderMulti3 0.001
testRegexpHeaderMulti4 0.001
testRegexpHeaderMulti5 0.003
testRegexpHeaderMulti6 0.003
testNoHeaderMissingErrorInCaseHeaderSizeEqualToFileSize 0.002
testSetHeaderNull 0
testSetHeaderSimple 0
testDefaultConfiguration 0.002
testInlineRegexpHeaderConsecutiveNewlinesThroughConfigFile 0.002
testRegexpHeaderUrl 0.002
testSetHeader 0
testInlineRegexpHeader 0.002
testSetHeaderEmpty 0
testHeaderWithInvalidRegexp 0.002

PkgImportRuleTest

testPkgImportRuleExactMatchRegexpSimple 0
testPkgImportRuleExactMatch 0
testPkgImportRuleExactMatchRegexp 0
testPkgImportRule 0
testPkgImportRuleNoRegexp 0
testPkgImportRuleRegexp 0
testPkgImportRuleRegexpSimple 0

NoFinalizerCheckTest

testHasFinalizer 0.003
testHasNoFinalizer 0.017
testHasNoFinalizerTryWithResource 0.007
testGetAcceptableTokens 0

AbstractViolationReporterTest

testSeverity 0
testCustomMessage 0
testGetMessageBundleWithPackage 0
testCustomMessageWithParameters 0
testGetMessageBundleWithoutPackage 0
testCustomMessageWithParametersNegative 0
testCustomId 0

ArrayTypeStyleCheckTest

testNestedGenerics 0.008
testJavaStyleOn 0.007
testGetRequiredTokens 0
testJavaStyleOff 0.005
testGetAcceptableTokens 0

AllBlockCommentsTest

testAllBlockComments 0.012

MissingDeprecatedCheckTest

testBadDeprecatedJavadoc 0.006
testBadDeprecatedAnnotation 0.006
testGoodDeprecated 0.007
testGetDefaultJavadocTokens 0
testDepPackageInfoBelowComment 0.004
testGetRequiredJavadocTokens 0
testPackageInfo 0.004
testEmptyJavadocLine 0.006
testPackageInfoBelowComment 0.004
testSpecialCaseDeprecated 0.01
testTwoInJavadocWithoutAnnotation 0.004

FinalLocalVariableCheckTest

testLeavingSlistToken 0.009
testParameter 0.017
testFalsePositive 0.006
testBreakOrReturn 0.008
testAnonymousClass 0.004
testEnhancedForLoopVariableTrue 0.015
testFinalLocalVariableFalsePositives 0.068
testVariableWhichIsAssignedMultipleTimes 0.055
testMultipleAndNestedConditions 0.006
testVariableIsAssignedInsideAndOutsideSwitchBlock 0.01
testImproperToken 0
testRecordsInput 0.003
testFinalLocalVariableSwitchAssignment 0.005
testReceiverParameter 0.004
testVariableNameShadowing 0.008
testDefault 0.013
testFinalLocalVariableSwitchExpressions 0.03
testLambda 0.005
testMultiTypeCatch 0.004
testEnhancedForLoopVariableFalse 0.007
testNativeMethods 0.006

MissingJavadocTypeCheckTest

testInterfaceMemberScopeIsPublic 0.003
testSkipAnnotationsWithFullyQualifiedName 0.005
testPkg 0.004
testInner 0.006
testDontAllowUnusedParameterTag 0.003
testTags 0.01
testProtest 0.005
testSkipAnnotationsAllowed 0.004
testExcludeScope 0.006
testGetRequiredTokens 0.001
testProtected 0.008
testSkipAnnotationsNotAllowed 0.005
testLimitViolationsBySpecifyingTokens 0.004
testGetAcceptableTokens 0
testScopes2 0.005
testPublic 0.004
testScopes 0.005
testStrict 0.004
testSkipAnnotationsDefault 0.004
testMissingJavadocTypeCheckRecords 0.009
testEclipse 0.003

Java7DiamondTest

testCanParse 0.018

Java7NumericalLiteralsTest

testCanParse 0.01

UnusedLocalVariableCheckTest

testUnusedLocalVarDepthOfClasses 0.013
testUnusedLocalVarEnum 0.011
testUnusedLocalVarWithoutPackageStatement 0.006
testUnusedLocalVarGenericAnonInnerClasses 0.025
testClearStateVariables 0.012
testUnusedLocalVar2 0.016
testUnusedLocalVarNestedClasses2 0.019
testGetRequiredTokens 0
testClearStatePackageDef 0.005
testUnusedLocalVarNestedClasses 0.023
testUnusedLocalVarRecords 0.005
testClearStateClasses 0.005
testGetAcceptableTokens 0
testUnusedLocalVarInAnonInnerClasses 0.012
testClearStateAnonInnerClass 0.003
testUnusedLocalVariable 0.012

ViolationTest

testGetColumnCharIndex 0.001
testEnforceEnglishLanguageBySettingRootLocale 0.003
testCompareToWithDifferentLines 0
testCountryIsValid 0.001
testCompareToWithDifferentModuleId 0
testBundleReloadUrlNotNullStreamNull 0.001
testCompareToWithDifferentColumns 0
testMessageInFrench 0.001
testMessageInEnglish 0
testGetSeverityLevel 0
testGetSourceName 0
testLanguageIsValid 0
testEnforceEnglishLanguageBySettingUnitedStatesLocale 0
testTokenType 0
testGetModuleId 0
testCleatBundleCache 0.001
testBundleReloadUrlNotNull 0.001
testBundleReloadUrlNull 0
testGetKey 0
testEqualsAndHashCode 0.036
testBundleReloadUrlNotNullFalseReload 0

RegexpCheckTest

testIgnoreCommentsNoSpaces 0.005
testIllegalFailBelowErrorLimit 0.013
testStopEarly 0.043
testRequiredNoDuplicatesFail 0.01
testRequiredNoDuplicatesPass 0.008
testIgnoreCommentsMultiLine 0.005
testIgnoreCommentsFalseBlockStyle 0.005
testIgnoreCaseFalse 0.017
testIgnoreCommentsInlineMiddle 0.006
testRequiredFail 0.004
testRequiredPass 0.008
testIgnoreCommentsFalseCppStyle 0.006
testOnFileStartingWithEmptyLine 0.002
testGetRequiredTokens 0
testIllegalFailAboveErrorLimit 0.01
testIgnoreCommentsInlineStart 0.006
testMessagePropertyBad 0.009
testMessagePropertyBad2 0.01
testMessagePropertyGood 0.009
testSetDuplicatesTrue 0.008
testIgnoreCommentsMultipleBlockStyle 0.005
testIgnoreCommentsBlockStyle 0.005
testGetAcceptableTokens 0
testIgnoreCommentsCppStyle 0.005
testIgnoreCommentsCppStyleWithIllegalPatternFalse 0.004
testIgnoreCommentsInlineEnd 0.005
testIllegalPass 0.008
testIgnoreCaseTrue 0.009

ParameterNameCheckTest

testCatch 0.005
testIsOverriddenNoNullPointerException 0.006
testSpecified 0.007
testSkipMethodsWithOverrideAnnotationFalse 0.01
testGetRequiredTokens 0
testPublicAccessModifier 0.009
testReceiverParameter 0.005
testLambdaParameterNoViolationAtAll 0.02
testSkipMethodsWithOverrideAnnotationTrue 0.005
testDefault 0.006
testGetAcceptableTokens 0

InvalidJavadocPositionCheckTest

testPackageInfoComment 0.003
testGetRequiredTokens 0
testPackageInfo 0.004
testDefault 0.005
testGetAcceptableTokens 0

SuppressionFilterTest

testLocalFileExternalResourceContentDoesNotChange 0.008
testNonExistentSuppressionUrlWithTrueOptional 0.84
testExistingSuppressionFileWithTrueOptional 0.005
testAcceptOnNullFile 0.002
testAcceptFalse 0.004
testRemoteFileExternalResourceContentDoesNotChange 3.146
testAccept 0.005
testExistingInvalidSuppressionFileWithTrueOptional 0.006
testNonExistentSuppressionFileWithTrueOptional 0.003
testNonExistentSuppressionFileWithFalseOptional 0.002

IllegalTypeCheckTest

testArrayTypes 0.008
testGenerics 0.022
testLegalAbstractClassNames 0.009
testRecordComponentsFinal 0.009
testStarImports 0.005
testTokensNotNull 0
testIllegalTypeEnhancedInstanceof 0.018
testClearDataBetweenFiles 0.003
testRecordComponentsDefault 0.005
testImproperToken 0
testIllegalTypeNewArrayStructure 0.004
testSameFileNameFalsePositive 0.005
testRecordComponentsPublicProtectedStatic 0.006
testStaticImports 0.005
testIllegalTypeRecordsAndCompactCtors 0.016
testValidateAbstractClassNamesSetToTrue 0.005
testSameFileNameGeneral 0.006
testValidateAbstractClassNamesSetToFalse 0.004
testPackageClassName 0.003
testPlainAndArrayTypes 0.005
testIgnoreMethodNames 0.005
testFormat 0.005
testDefaults 0.004
testMemberModifiers 0.012
testDefaultsEmptyStringMemberModifiers 0.005
testExtendsImplements 0.002
testRecordComponentsPrivateFinal 0.006

AvoidInlineConditionalsCheckTest

testTokensNotNull 0
testDefault 0.009

InnerAssignmentCheckTest

testTokensNotNull 0
testIt 0.049
testLambdaExpression 0.006

DeclarationOrderCheckTest

testAvoidDuplicatesForStaticFinalFields 0.004
testTokensNotNull 0
testParents 0
testOnlyConstructors 0.007
testDeclarationOrderRecordsAndCompactCtors 0.007
testImproperToken 0.001
testForwardReference 0.01
testDeclarationOrderInterfaceMemberScopeIsPublic 0.005
testVariableAccess 0.012
testDefault 0.008
testOnlyModifiers 0.008

MemberNameCheckTest

testSpecified 0.007
testProtectedOnly 0.007
testGetRequiredTokens 0
testInnerClass 0.005
testPackageOnly 0.007
memberNameExtended 0.011
testPublicOnly 0.005
testPrivateOnly 0.005
testDefaults 0.003
testGetAcceptableTokens 0.001
testUnderlined 0.004
testNotPrivate 0.004

Java7StringSwitchTest

testCanParse 0.02

AvoidStarImportCheckTest

testDefaultOperation 0.004
testExcludes 0.005
testAllowStaticMemberImports 0.006
testGetRequiredTokens 0
testGetAcceptableTokens 0
testAllowClassImports 0.005

JavadocMissingWhitespaceAfterAsteriskCheckTest

testValidWithTabCharacter 0.004
testValid 0.005
testGetRequiredJavadocTokens 0
testGetAcceptableTokens 0.001
testInvalid 0.007

JavadocParseTreeTest

testHtmlVoidElementKeygen 0.09
paramWithGeneric 0.001
javadocTagDescriptionWithInlineTags 0.002
dotCharacterInCustomTags 0.002
testHtmlVoidElementSource 0.036
testAsteriskInJavadocInlineTag 0.001
dollarInLink 0.002
testParagraph 0.053
testRbHtmlTag 0.045
seeReferenceWithFewNestedClasses 0.001
testRtcHtmlTag 0.058
testSpaceBeforeDescriptionInBlockJavadocTags 0.013
testNonTightRbHtmlTag 0.029
unclosedParagraphFollowedByJavadocTag 0.002
testCdata 0.001
testInlineCustomJavadocTag 0
testDosLineEndingAsNewlineMultiline 0.002
leadingAsterisks 0.001
serial 0.002
testTwoLinkTagsInRow 0.002
docRootInheritDoc 0.002
testInnerBracesInCodeTag 0
testAllStandardJavadocTags 0.011
testAttributeValueWithoutQuotes 0.001
testNonTightOptgroupHtmlTag 0.046
testAsteriskInLiteral 0
testSpaceBeforeDescriptionInInlineTags 0.002
testNonTightRtcHtmlTag 0.032
testRtHtmlTag 0.04
negativeNumberInAttribute 0.001
testClosedOtherTag 0
htmlTagsInParagraph 0.005
allJavadocInlineTags 0.001
testNonTightRtHtmlTag 0.028
testNestingWithSingletonElement 0.05
testOptgroupHtmlTag 0.031
since 0.001
htmlComments 0.001
testUppercaseInPackageName 0.016
textBeforeJavadocTags 0
testLeadingAsterisksExtended 0.001
testHtmlVoidElementEmbed 0.032
testHtmlVoidElementTrack 0.03
testHtmlVoidElementWbr 0.029
mixedCaseOfHtmlTags 0.006
listWithUnclosedItemInUnclosedParagraph 0.003
testLinkToPackage 0
testLeadingAsteriskAfterSeeTag 0.002
linkInlineTags 0.001
testRpHtmlTag 0.047
authorWithMailto 0.001
fewWhiteSpacesAsSeparator 0
testNonTightRpHtmlTag 0.06
customJavadocTags 0.002
testJavadocWithCrAsNewline 0.002
unclosedAndClosedParagraphs 0.004
testCrAsNewlineMultiline 0.002
testNewlineAndAsteriskInParameters 0.001
testVoidElements 0.004
oneSimpleHtmlTag 0.001

ThreadModeSettingsTest

testResolveAnyOtherModule 0.381
testProperties 0
testResolveCheckerInSingleThreadMode 0
testResolveTreeWalkerInSingleThreadMode 0
testResolveCheckerInMultiThreadMode 0
testResolveTreeWalker 0

ParameterAssignmentCheckTest

testClearState 0.001
testTokensNotNull 0
testReceiverParameter 0.003
testDefault 0.018
testEnhancedSwitch 0.005

DefaultLoggerTest

testCountryIsValid 0.001
testNullInfoStreamOptions 0
testNullArgs 0.001
testCtor 0
testAddError 0.001
testNullErrorStreamOptions 0
testCtorWithTwoParameters 0
testCtorWithNullParameter 0
testFinishLocalSetup 0.001
testLanguageIsValid 0
testCleatBundleCache 0.001
testNewCtor 0
testNewCtorWithTwoParameters 0.001
testAddErrorModuleId 0

EmptyForIteratorPadCheckTest

testGetRequiredTokens 0
testInvalidOption 0
testDefault 0.005
testGetAcceptableTokens 0
testWithEmoji 0.009
testSpaceOption 0.006

DetailAstImplTest

testTreeStructure 40.205
testAddNextSibling 0.001
testGetChildCount 0.001
testToString 0.001
testGetChildCountType 0
testManyComments 2.563
testBranchContains 0
testInitializeToken 0.001
testHasChildren 0
testAddNextSiblingNullParent 0
testInitialize 0
testCacheBranchTokenTypes 0
testInsertSiblingBetween 0.001
testGetColumnNo 0
testAddPreviousSiblingNullParent 0.001
testSetSiblingNull 0.001
testClearChildCountCache 0.001
testGetLineNo 0.001
testAddPreviousSibling 0
testClearBranchTokenTypes 0.002
testFindFirstToken 0.001
testCacheGetChildCount 0

VariableDeclarationUsageDistanceCheckTest

testGeneralLogic 0.072
testAnonymousClass 0.004
testTokensNotNull 0
testValidateBetweenScopesOption 0.034
testVariableDeclarationUsageDistanceSwitchExpressions 0.011
testIgnoreFinalOption 0.037
testGeneralLogic2 0.006
testDefaultConfiguration 0.034
testDistance 0.035
testVariableRegExp 0.034
testLabels 0.004

XdocsUrlTest

testXdocsUrl 0.274

CommentsIndentationCheckTest

testCommentsAtTheEndOfMethodCall 0.004
testCheckOnlySingleLineComments 0.01
testNoNpeWhenBlockCommentEndsClassFile 0.003
testCommentsAfterAnnotation 0.003
testCommentIsAtTheEndOfBlock 0.038
testCommentsInSameMethodCallWithSameIndent 0.005
testCommentIsInsideSwitchBlock 0.013
testCommentsBlockCommentBeforePackage 0.003
testMultiblockStructures 0.004
testSurroundingCode 0.006
testCommentIsInsideEmptyBlock 0.005
testCommentIndentationWithEmoji 0.009
testCheckOnlyBlockComments 0.005
testCommentsAfterRecordsAndCompactCtors 0.004
testVisitToken 0.001
testJavadoc 0.003

LambdaParameterNameCheckTest

testAcceptableTokens 0
testGetRequiredTokens 0
testLambdaParameterNameSwitchExpression 0.026
testParametersInLambda 0.01

OuterTypeFilenameCheckTest

testPublicClassIsNotFirst 0.004
testPackageAnnotation 0.004
testGood1 0.006
testGood2 0.006
testFineDefault 0.004
testOuterTypeFilenameRecordsMethodRecordDef 0.006
testGetRequiredTokens 0
testFinePublic 0.005
testOuterTypeFilenameRecords 0.006
testNoPublicClasses 0.004
testWrongDefault 0.004
testNestedClass2 0.005
testGetAcceptableTokens 0
testNestedClass 0.004

LambdaBodyLengthCheckTest

testMaxLimitIsDifferent 0.027
testDefaultSwitchExpressions 0.008
testGetRequiredTokens 0
testDefault 0.033
testGetAcceptableTokens 0

CommentsTest

testGetCommentMeasures 0
testToString 0.009
testCompareExpectedTreeWithInput1 0.001
testCompareExpectedTreeWithInput2 0.001
testIntersects 0

OverloadMethodsDeclarationOrderCheckTest

testTokensNotNull 0
testOverloadMethodsDeclarationOrderRecords 0.004
testDefault 0.006

AbbreviationAsWordInNameCheckTest

testTypeAndVariablesAndMethodNames 0.007
testNullPointerException 0.008
testTypeAndVariablesAndMethodNamesWithIgnores 0.01
testTypeNamesForThreePermittedCapitalLettersWithOverriddenMethod 0.009
testTypeNamesForThreePermittedCapitalLetters 0.007
testTypeNamesForFivePermittedCapitalLetters 0.009
testTypeAndVariablesAndMethodNamesWithIgnoresNonStaticFinal 0.009
testTypeAndVariablesAndMethodNamesWithNoIgnores 0.009
testTypeNamesForZeroPermittedCapitalLetter 0.015
testTypeAndVariablesAndMethodNamesWithIgnoresFinal 0.007
testTypeAndVariablesAndMethodNamesWithIgnoresStaticFinal 0.008
testAbbreviationAsWordInNameCheckEnhancedInstanceof 0.009
testReceiver 0.004
testTypeAndVariablesAndMethodNamesWithIgnoresStatic 0.009
testTypeNamesForFourPermittedCapitalLetters 0.006
testTypeAndVariablesAndMethodNamesWithIgnoresStaticKeepStaticFinal 0.012
testDefault 0.006
testAbbreviationAsWordInNameCheckRecords 0.008
testAbbreviationAsWordInNameCheckEnhancedInstanceofAllowXmlLength1 0.01
testOverriddenMethod 0.005
testTypeAndVariablesAndMethodNamesWithIgnoresFinalKeepStaticFinal 0.01

FallThroughCheckTest

testOwnPattern 0.028
testTryWithResources 0.009
testTokensNotNull 0
testOwnPatternTryWithResources 0.007
testLastCaseGroup 0.016
testDefault 0.016
testWithEmoji 0.009
testFallThroughNoElse 0.01

XpathFilterElementTest

testNullModuleIdAndNonMatchingChecks 0.347
testNonMatchingFileRegexp 0.001
testInvalidCheckRegexp 0.001
testNonMatchingCheckPattern 0
testNonMatchingFileNameModuleIdAndCheck 0.016
testNonMatchingColumnNumber 0.041
testNonMatchingModuleId 0.001
testDecideByMessage 0.001
testNullFileName 0
testNonMatchingLineNumber 0.004
testMatchingModuleId 0.003
testComplexQuery 0.016
testNonMatchingCheckRegexp 0.001
testMatching 0.004
testNonMatchingFilePattern 0.001
testThrowException 0.003
testEqualsAndHashCode 0.047
testNonMatchingChecks 0.002
testNoQuery 0
testIncorrectQuery 0.002
testNullViolation 0
testNonMatchingTokenType 0.004

ReverseListIteratorTest

testNullList 0
testCorrectOrder 0.001

CustomImportOrderCheckTest

testDefaultPackage2 0.01
testWithoutLineSeparator2 0.005
testInputCustomImportOrderSingleLine2 0.006
testNoImports 0.004
testStaticStandardThird 0.006
testInputCustomImportOrderSingleLine 0.005
testSamePackageDepthLongerThenActualPackage 0.005
testBeginTreeClear 0.002
testWithoutThirdPartyPackage 0.005
testWithoutLineSeparator 0.007
testInputCustomImportOrderMultipleViolationsSameLine 0.005
testUnsupportedRule 0.002
testGetRequiredTokens 0
testSamePackageDepthNegative 0.002
testSamePackageDepth2 0.004
testSamePackageDepth3 0.004
testSamePackageDepth4 0.004
testNoPackage 0.005
testGetFullImportIdent 0
testDefaultConfiguration 0.004
testPossibleIndexOutOfBoundsException 0.004
testThirdPartyAndSpecialImports 0.005
testRulesWithOverlappingPatterns 0.005
testSamePackageDepthZero 0.002
testSamePackageDepthNotInt 0.002
testMultiplePatternMatchesFirstPatternHasEarlierPosition 0.004
testMultiplePatternMatchesFirstPatternHasLaterPosition 0.004
testNonSpecifiedImports 0.005
testInputCustomImportOrderSpanMultipleLines 0.005
testOrderRuleWithOneGroup 0.005
testStaticSamePackage 0.004
testNoPackage2 0.005
testNoPackage3 0.004
testCustom 0.005
testCompareImports 0.004
testImportsContainingJava 0.004
testMultiplePatternMultipleImportFirstPatternHasLaterPosition 0.004
testGetAcceptableTokens 0
testOrderRuleEmpty 0.003
testFindBetterPatternMatch 0.005
testNoValid 0.004
testInputCustomImportOrderThirdPartyAndSpecial2 0.006
testMultiplePatternMatchesSecondPatternIsLonger 0.004
testInputCustomImportOrderEclipseDefaultPositive 0.006

AstRegressionTest

testCustomAstTree 0.01
testJava8InterfaceAstTree1 0.007
testInputManyAlternativesInMultiCatch 0.033
testJava14InstanceofWithPatternMatching 0.186
testInputTopLevelNonSealed 0.002
testClassAstTree1 0.197
testClassAstTree2 0.046
testInputSealedAndPermits 0.005
testJava9TryWithResourcesAstTree 0.003
testInputSemicolonBetweenImports 0.002
testCharLiteralSurrogatePair 0.003
testInputMethodDefArrayDeclarator 0.003
testInputCstyleArrayDefinition 0.001
testAdvanceJava9TryWithResourcesAstTree 0.009
testInterfaceAstTree1 0.001
testInterfaceAstTree2 0.001
testJava14TextBlocksEscapes 0.002
testEnumAstTree1 0.003
testEnumAstTree2 0.001
testInputEscapedS 0.005
testInputAnnotatedMethodVariableArityParam 0.015
testTypecast 0.007
testJava14LocalRecordAnnotation 0.009
testPatternVariableWithModifiers 0.007
testJava14RecordsTopLevel 0.004
testNewlineCr 0.001
testJava14TextBlocks 0.009
testJava14SwitchExpression 0.145
testInputJava14TextBlocksTabSize 0.001
testJava8ClassAstTree1 0.043
testJava8ClassAstTree2 0.007
testJava14Records 0.033
testAnnotationAstTree1 0.004

MethodNameCheckTest

testInterfacesExcludePrivate 0.004
testMethodEqClass 0.006
testAccessTuning 0.007
testRecordInInterfaceBody 0.007
testGetRequiredTokens 0
testMethodEqClassAllow 0.005
testOverriddenMethods 0.004
testInterfacesExcludePublic 0.005
testDefault 0.007
testForNpe 0.006
testGetAcceptableTokens 0

CyclomaticComplexityCheckTest

testSwitchBlockAsSingleDecisionPointSetToFalse 0.016
testSwitchBlockAsSingleDecisionPointSetToTrue 0.006
testCyclomaticComplexityRecords 0.017
testGetRequiredTokens 0
test 0.01
testEqualsMaxComplexity 0.004
testHighMax 0.005
testGetAcceptableTokens 0

GenericWhitespaceCheckTest

testAtTheStartOfTheLine 0.008
testList 0.005
testMethodReferences 0.013
testGetRequiredTokens 0.001
testNestedGeneric 0.008
testWrongTokenType 0
testInnerClass 0.009
testGenericEndsTheLine 0.004
testMethodReferences2 0.006
testDefault 0.018
testGetAcceptableTokens 0
testGenericWhitespaceWithEmoji 0.008

ModuleReflectionUtilTest

testIsProperUtilsClass 0
testIsTreeWalkerFilterModule 0
testIsFileFilterModule 0
testIsFilterModule 0
testIsAuditListener 0
testIsValidCheckstyleClass 0
testIsRootModule 0
testKeepEclipseHappy 0
testIsFileSetModule 0
testIsCheckstyleModule 0
testIsCheckstyleCheck 0

LocalFinalVariableNameCheckTest

testTryWithResourcesJava9 0.004
testTryWithResources 0.007
testSet 0.011
testGetRequiredTokens 0.001
testInnerClass 0.008
testDefault 0.007
testGetAcceptableTokens 0

AllTestsTest

testAllInputsHaveTest 0.136
testAllTestsHaveProductionCode 0.027

VarargTest

testCanParse 0.006

AuditEventDefaultFormatterTest

testFormatFullyQualifiedModuleNameContainsCheckSuffix 0
testFormatModuleWithModuleId 0
testFormatFullyQualifiedModuleNameDoesNotContainCheckSuffix 0
testCalculateBufferLength 0

XdocsMobileWrapperTest

testAllCheckSectionMobileWrapper 0.065

XmlLoaderTest

testIsProperUtilsClass 0
testResolveEntityMap 0
testParserConfiguredSuccessfully 0.001
testResolveEntityDefault 0

OrderedPropertiesCheckTest

testMalformedValue 0.002
testIoException 0.001
testShouldNotProcessFilesWithWrongFileExtension 0.001
testCommentsMultiLine 0.001
testKeepForLoopIntact 0
testEmptyKeys 0.002
testFileExtension 0
testDefault 0.002
testKeysOnly 0.002
testLineNumberRepeatingPreviousKey 0.002

Java17AstRegressionTest

testPatternsInTernary 0.002
testPatternMatchingInSwitch 0.044
testPatternsInSwitch 0.006
testPatternsInIfStatement 0.002
testPatternsInFor 0.002
testPatternsInWhile 0.002
testCaseDefault 0.008

UnusedImportsCheckTest

testImportsFromJavaLang 0.014
testAnnotations 0.004
testReferencedStateIsCleared 0.009
testBug 0.007
testSingleWordPackage 0.004
testImportsJavadocQualifiedName 0.005
testArrayRef 0.009
testProcessJavadocWithBlockTagContainingMethodParameters 0.004
testGetRequiredTokens 0
testWithoutProcessJavadoc 0.008
testProcessJavadocWithLinkTag 0.004
testRecordsAndCompactCtors 0.012
testNewlinesInsideTags 0.004
testProcessJavadoc 0.008
testGetAcceptableTokens 0.001
testFileInUnnamedPackage 0.004
testShadowedImports 0.01

SuppressionCommentFilterTest

testCompareToOfTagClass 0.002
testInvalidCheckFormat 0.004
testCheckCpp 0.02
testAcceptNullViolation 0
testToStringOfTagClassWithMessage 0.012
testEqualsAndHashCodeOfTagClass 0.013
testSuppressByCheck 0.015
testNone 0.016
testSuppressByIdAndMessage 0.03
testTagsAreClearedEachRun 0.001
testFindNearestMatchDontAllowSameColumn 0
testMessage 0.022
testExpansion 0.022
testInvalidMessageFormat 0.003
testSuppressByCheckAndId 0.02
testSuppressByCheckAndMessage 0.019
testDefault 0.021
testCheckC 0.022
testOffFormat 0.022
testToStringOfTagClass 0.001
testSuppressById 0.019
testAcceptNullFileContents 0
testArgumentSuppression 0.021
testOffFormatCheck 0.018

AbstractJavadocCheckTest

testRequiredTokenIsNotInDefaultTokens 0.003
testCustomTag 0.002
testAcceptableTokensFail 0.002
testAcceptableTokensPass 0.003
testJavadocTagsWithoutArgs 0.004
testWithMultipleChecks 0.011
testNonTightHtmlTagIntolerantCheckVisitCount 0.193
testTokensFail 0.001
testNoWsBeforeDescriptionInJavadocTags 0.005
testParsingErrors{Capturable} 0.003
testVisitCountForCheckAcceptingJavadocWithNonTightHtml 0.104
testNonTightHtmlTagIntolerantCheckReportingNoViolation 0.077
testVisitLeaveToken 0.013
testCheckReuseAfterParseErrorWithFollowingAntlrErrorInSingleFile 0.002
testAntlrError{Capturable} 0.003
testNonTightHtmlTagIntolerantCheck 0.079
testNumberFormatException 0.003
testWrongSingletonTagInJavadoc 0.002
testPosition 0.01
testPositionWithSinglelineComments 0.005
testPositionOnlyComments 0.002
testTokens 0.001
testCheckReuseAfterParseErrorWithFollowingAntlrErrorInTwoFiles{Capturable} 0.003

HiddenFieldCheckTest

testHiddenFieldSwitchExpression 0.014
testClearState 0.002
testHiddenFieldRecords 0.014
testNoParameters 0.009
testIgnoreAbstractMethods 0.009
testIgnoreConstructorParameter 0.01
testStaticVisibilityFromLambdas 0.05
testReordered 0.005
testStaticVisibilityFromAnonymousClasses 0.005
testReceiverParameter 0.003
testIgnoreFormat 0.008
testIgnoreSetter 0.008
testDefault 0.008
testHiddenFieldEnhancedInstanceof 0.006
testIgnoreChainSetter 0.009

AbstractClassNameCheckTest

testAllVariants 0.004
testIllegalClassType 0.004
testFalsePositive 0.004
testIllegalAbstractClassName 0.004
testGetRequiredTokens 0
testCustomFormat 0.005
testGetAcceptableTokens 0

JavadocContentLocationCheckTest

testPackage 0.002
testGetDefaultTokens 0
testOptionalSpacesAndAsterisks 0.004
testFirstLine 0.003
testDefault 0.004
testInterface 0.004
testGetAcceptableTokens 0

CsvFilterElementTest

testEmptyChain 0
testDecideRange 0
testDecideSingle 0
testDecidePair 0
testEqualsAndHashCode 0.007
testDecideRangePlusValue 0
testDecideEmptyRange 0

HexFloatsTest

testCanParse 0.011

MethodTypeParameterNameCheckTest

testMethodFooName 0.005
testGetRequiredTokens 0
testMethodDefault 0.007
testGetAcceptableTokens 0

CodePointUtilTest

testIsProperUtilsClass 0

ExplicitInitializationCheckTest

testTokensNotNull 0
testDefault 0.008
testOnlyObjectReferences 0.006

RequireEmptyLineBeforeBlockTagGroupCheckTest

testIncorrect 0.007
testGetRequiredTokens 0
testCorrect 0.009

FileContentsTest

testReportCppComment 0
testHasIntersectionWithSingleLineComment 0.001
testSinglelineCommentNotIntersect 0.001
testIsLineBlank 0
testSinglelineCommentIntersect 0
testDeprecatedAbbreviatedMethod 0.001
testNotInPackageInfo 0
testHasIntersectionWithBlockComment2 0
testTextFileName 0.001
testReportJavadocComment2 0
testReportBlockCommentMultiLine 0
testLineIsComment 0.001
testInPackageInfo 0
testReportJavadocComment 0
testGetJavadocBefore 0
testHasIntersectionEarlyOut 0
testReportBlockCommentSameLine 0.001
testExtractBlockComment 0
testReportComment 0
testReportBlockCommentJavadoc 0.001
testHasIntersectionWithBlockComment 0

AccessModifierOptionTest

testCase 0
testDefaultCase 0

XMLLoggerTest

testAddException 0.011
testAddIgnored 0.002
testNoCloseStream 0.002
testAuditFinishedWithoutFileFinished 0.004
testFileFinished 0.003
testAddExceptionAfterFileStarted 0.003
testAddErrorOnZeroColumns 0.003
testFileStarted 0.002
testAddErrorWithNullFileName 0.003
testAddError 0.003
testCloseStream 0.002
testIsReference 0.001
testAddExceptionBetweenFileStartedAndFinished 0.003
testFinishLocalSetup 0
testAddExceptionWithNullFileName 0.002
testAddExceptionBeforeFileFinished 0.002
testEncode 0.001
testNullOutputStreamOptions 0
testAddErrorModuleId 0.002

ConstantNameCheckTest

testIntoInterface 0.007
testStaticMethodInInterface 0.005
testIllegalRegexp 0.002
testIntoInterfaceExcludePublic 0.005
testInterfaceAndAnnotation 0.01
testAccessControlTuning 0.009
testGetRequiredTokens 0.001
testDefault 0.007
testDefault1 0.005
testGetAcceptableTokens 0

AbstractCheckTest

testLineColumnLog 0
testCheck 0.004
testGetLineCodePoints 0.001
testFileContents 0
testTokenNames 0
testGetLine 0
testGetRequiredTokens 0
testGetAcceptable 0.001
testGetTabWidth 0
testClearViolations 0
testAstLog 0.001
testGetAcceptableTokens 0
testVisitToken 0
testCommentNodes 0

MainTest

testRemoveParserDefaultErrorListener{Capturable} 0.88
testExceptionOnExecuteIgnoredModuleWithUnknownModuleName{Capturable} 0.481
testPlainOutputFormatCreateListener 0.003
testExcludeOption{Capturable, Capturable} 0.01
testWrongArgument{Capturable, Capturable} 0.009
testGenerateXpathSuppressionOptionDefaultTabWidth{Capturable, Capturable} 0.035
testPrintXpathCommentNode{Capturable, Capturable} 0.021
testIsProperUtilsClass 0.003
testListFilesNotFile 0.004
testExcludeOptionFile{Capturable, Capturable} 0.009
testExistingTargetFileXmlOutput{Capturable, Capturable} 0.025
testExistingTargetFilePlainOutputNonexistentProperties{Capturable, Capturable} 0.008
testSarifOutputFormatCreateListener 0.006
testNonExistentTargetFile{Capturable, Capturable} 0.008
testExcludeRegexpOptionFile{Capturable, Capturable} 0.007
testExistingIncorrectChildrenInConfigFile{Capturable} 0.017
testNonClosedSystemStreams{Capturable, Capturable} 0.015
testPrintXpathInvalidXpath{Capturable} 0.013
testPrintTreeCommentsOption{Capturable, Capturable} 0.008
testNonExistentConfigFile{Capturable, Capturable} 0.008
testExistingDirectoryWithViolations{Capturable, Capturable} 0.026
testExistingTargetFile{Capturable, Capturable} 0.014
testGenerateXpathSuppressionOptionCustomTabWidth{Capturable, Capturable} 0.016
testExcludeDirectoryNotMatch 0.002
testExistingTargetFilePlainOutputToFile{Capturable, Capturable} 0.013
testPrintXpathTwoResults{Capturable, Capturable} 0.012
testExistentTargetFilePlainOutputToNonExistentFile{Capturable, Capturable} 0.013
testExistingTargetFileWithViolations{Capturable, Capturable} 0.013
testMissingFiles{Capturable, Capturable} 0.006
testPropertyFileWithPropertyChainingUndefinedProperty{Capturable, Capturable} 0.008
testExcludeRegexpOption{Capturable, Capturable} 0.006
testNonExistentOutputFormat{Capturable, Capturable} 0.007
testPropertyFileWithPropertyChaining{Capturable, Capturable} 0.013
testPrintTreeOption{Capturable, Capturable} 0.007
testUsageHelpPrint{Capturable, Capturable} 0.018
testXmlOutputFormatCreateListener 0.001
testNonExistentClass{Capturable} 0.315
testGenerateXpathSuppressionOptionCustomOutput{Capturable} 0.014
testGetOutputStreamOptionsMethod 0.001
testNoProblemOnExecuteIgnoredModuleWithBadPropertyValue{Capturable} 0.01
testLoadPropertiesIoException 0.002
testPrintSuppressionAndTabWidthOption{Capturable, Capturable} 0.011
testExistingIncorrectChildrenInConfigFile2{Capturable} 0.021
testPrintXpathNodeParentNull{Capturable, Capturable} 0.013
testGenerateXpathSuppressionOptionEmptyConfig{Capturable, Capturable} 0.011
testExistingTargetFileWithOneError{Capturable, Capturable} 0.016
testCustomSimpleRootModule{Capturable} 0.304
testExistingTargetFilePlainOutput{Capturable, Capturable} 0.011
testVersionPrint{Capturable, Capturable} 0.005
testOutputFormatToStringLowercase 0.001
testExistingTargetFileWithError{Capturable, Capturable} 0.01
testWrongArgumentMissingFiles{Capturable, Capturable} 0.005
testGenerateXpathSuppressionOptionOne{Capturable, Capturable} 0.31
testGenerateXpathSuppressionOptionTwo{Capturable, Capturable} 0.022
testPrintSuppressionConflictingOptionsTvsC{Capturable, Capturable} 0.005
testPrintSuppressionConflictingOptionsTvsF{Capturable, Capturable} 0.005
testPrintSuppressionConflictingOptionsTvsO{Capturable, Capturable} 0.005
testPrintSuppressionConflictingOptionsTvsP{Capturable, Capturable} 0.005
testPrintFullTreeOption{Capturable, Capturable} 0.006
testExistingTargetFilePlainOutputProperties{Capturable, Capturable} 0.009
testViolationsByGoogleAndXpathSuppressions{Capturable, Capturable} 0.152
testCreateNonExistentOutputFile 0.015
testExistingTargetFileButWithoutReadAccess{Capturable, Capturable} 0.008
testPrintSuppressionOption{Capturable, Capturable} 0.008
testFileReferenceDuringException{Capturable} 0.015
testExistingTargetFileWithOneErrorAgainstSunCheck{Capturable, Capturable} 0.117
testNoConfigSpecified{Capturable, Capturable} 0.007
testPrintXpathFullOption{Capturable, Capturable} 0.014
testPrintSuppressionOnMoreThanOneFile{Capturable, Capturable} 0.008
testPrintTreeOnMoreThanOneFile{Capturable, Capturable} 0.008
testRemoveLexerDefaultErrorListener{Capturable} 0.008
testPrintTreeJavadocOption{Capturable, Capturable} 0.03
testViolationsByGoogleAndSuppressions{Capturable, Capturable} 0.11
testCustomRootModule{Capturable, Capturable} 0.009
testPrintXpathOption{Capturable, Capturable} 0.012
testConflictingOptionsTvsC{Capturable, Capturable} 0.007
testConflictingOptionsTvsF{Capturable, Capturable} 0.007
testConflictingOptionsTvsO{Capturable, Capturable} 0.007
testConflictingOptionsTvsP{Capturable, Capturable} 0.006
testConflictingOptionsTvsS{Capturable, Capturable} 0.005
testDebugOption{Capturable} 1.715
testExistingIncorrectConfigFile{Capturable} 0.01
testExceptionOnExecuteIgnoredModuleWithBadPropertyValue{Capturable} 0.012
testListFilesDirectoryWithNull 0.003

VisibilityModifierCheckTest

testImmutableStarImportNoWarn 0.006
testImmutableStarImportFalseNegative 0.005
testAllowPublicFinalFieldsInNonFinalClass 0.011
testIgnoreAnnotationSameName 0.005
testImmutableValueSameTypeName 0.007
testPublicImmutableFieldsNotAllowed 0.007
testIsStarImportNullAst 0
testAllowPublicFinalFieldsInImmutableClassWithNonCanonicalClasses 0.007
testInner 0.006
testDefaultAnnotationPatterns 0.007
testStrictJavadoc 0.005
testGetRequiredTokens 0.001
testPublicFinalFieldsNotAllowed 0.005
testWrongTokenType 0
testAllowPublicFinalFieldsInImmutableClass 0.006
testCustomAnnotationPatterns 0.007
testIgnoreAccess 0.006
testVisibilityModifiersOfGenericFields 0.019
testPackageClassName 0.004
testUserSpecifiedImmutableClassesList 0.007
testDisAllowPublicFinalAndImmutableFieldsInImmutableClass 0.006
testIgnoreAnnotationNoPattern 0.008
testImmutableSpecifiedSameTypeName 0.006
testNullModifiers 0.022
testGetAcceptableTokens 0
testSimple 0.006
testPublicFinalFieldInEnum 0.005
testPublicFinalFieldsAllowed 0.005

EmptyLineSeparatorCheckTest

testNonPackageInfoWithJavadocBeforePackage 0.003
testEmptyLineSeparatorAnnotation 0.004
testAllowMultipleFieldInClass 0.003
testImportSeparatedFromPackage 0.004
testBlockCommentNotSeparatedFromPackage 0.003
testEmptyLineSeparatorNewMethodDef 0.007
testEmptyLineSeparatorEmptyLinesInsideClassMembersRecursive 0.006
testPrePreviousLineIsEmpty 0.003
testAllowPackageAnnotation 0.004
testBlockCommentSeparatedFromPackage 0.003
testClassDefinitionNotSeparatedFromPackage 0.003
testIgnoreEmptyLinesBeforeCommentsWhenItIsAllowed 0.007
testEmptyLineSeparatorRecordsAndCompactCtors 0.004
testDisAllowBlockCommentBeforePackage 0.003
testEmptyLineAfterPackageForPackageAst 0.003
testGetRequiredTokens 0.001
testFormerArrayIndexOutOfBounds 0.003
testDisAllowMultipleEmptyLinesInsideClassMembers 0.004
testPrePreviousLineEmptiness 0.002
testClassDefinitionAndCommentNotSeparatedFromPackage 0.003
testEmptyLineSeparatorRecordsAndCompactCtorsNoEmptyLines 0.003
testEmptyLineSeparatorPostFixCornerCases 0.004
testAllowJavadocBeforePackage 0.003
testClassOnly 0.004
testSingleCommentSeparatedFromPackage 0.003
testEnumMembers 0.004
testPackageImportsClassInSingleLine 0.003
testAllowSingleLineCommentPackage 0.003
testSingleCommentNotSeparatedFromPackage 0.002
testEmptyLineAfterPackageForImportAst 0.003
testAllowMultipleImportSeparatedFromPackage 0.004
testCommentAfterPackageWithImports 0.003
testEmptyLineSeparatorWithEmoji 0.005
testDefault 0.004
testNoViolationsOnEmptyLinesBeforeComments 0.007
testAllowMultipleEmptyLinesInsideClassMembers 0.003
testLineSeparationBeforeComments 0.007
testPreviousLineEmptiness 0.004
testJavadocCommentAfterPackageWithImports 0.001
testHeader 0.002
testInterfaceFields 0.004
testMultipleEmptyLinesBetweenClassMembers 0.004
testGetAcceptableTokens 0
testImportsAndStaticImports 0.003
testAllowNoEmptyLineBetweenFields 0.005
testEmptyLineSeparatorMultipleSingleTypeVariables 0.003

JavadocPackageCheckTest

testBoth 0.002
testWithFileWithoutParent 0.002
testHtmlDisallowed 0.001
testMissingWithAllowLegacy 0.002
testWithMultipleFiles 0.001
testHtmlAllowed 0.002
testMissing 0.001
testNonJava 0.001
testAnnotation 0.001
testCheckstyleExceptionIfFailedToGetCanonicalPathToFile 0

FinalParametersCheckTest

testIgnorePrimitiveTypesParameters 0.012
testMethodToken 0.013
testForEachClauseToken 0.01
testDefaultTokens 0.01
testCatchToken 0.007
testPrimitiveTypesParameters 0.009
testReceiverParameters 0.006
testCtorToken 0.011

SeparatorWrapCheckTest

testArrayDeclarator 0.003
testDot 0.007
testComma 0.005
testGetDefaultTokens 0
testMethodRef 0.005
testInvalidOption 0.002
testEllipsis 0.004
testWithEmoji 0.008

EmptyCatchBlockCheckTest

testLinesAreProperlySplitSystemIndependently 0.007
testWithUserSetValues 0.009
testGetRequiredTokens 0
testDefault 0.007
testGetAcceptableTokens 0

TranslationCheckTest

testStateIsCleared 0.001
testFileExtensions 0.005
testLogOutput 0.005
testBaseNameWithSeparatorDefaultTranslationIsMissing 0.002
testLogIoException 0.001
testLogIllegalArgumentException 0.003
testBundlesWithSameNameButDifferentPaths 0.003
testRegexpToMatchPartOfBaseName 0.003
testOnePropertyFileSet 0.002
testTranslationFileWithLanguageCountryVariantArePresent 0.003
testDefaultTranslationFileIsMissing 0.003
testBaseNameOption 0.003
testDifferentBases 0.003
testDifferentPaths 0.004
testFileExtension 0.002
testIsNotMessagesBundle 0.002
testEqualBaseNamesButDifferentExtensions 0.004
testTranslationFileWithLanguageCountryVariantIsMissing 0.003
testTranslationFilesAreMissing 0.004
testEqualBaseNamesButDifferentExtensions2 0.003
testWrongUserSpecifiedLanguageCodes 0.001
testTranslation 0.002
testLogIoExceptionFileNotFound 0.001
testBaseNameWithSeparatorTranslationsAreMissing 0.003

MethodParamPadCheckTest

testMethodParamPadCheckWithEmoji 0.015
testAllowLineBreaks 0.008
testMethodParamPadRecords 0.008
testGetRequiredTokens 0
test1322879 0.005
testInvalidOption 0.002
testDefault 0.013
testGetAcceptableTokens 0
testSpaceOption 0.014

IllegalImportCheckTest

testIllegalPackagesRegularExpression 0.012
testIllegalPackagesAndClassesRegularExpression 0.008
testIllegalClassesRegularExpression 0.006
testCustomSunPackageWithRegexp 0.005
testIllegalClasses 0.007
testGetRequiredTokens 0
testIllegalClassesStarImport 0.007
testGetAcceptableTokens 0
testWithDefault 0.006
testWithSupplied 0.006

AvoidNestedBlocksCheckTest

testStrictSettings 0.008
testGetRequiredTokens 0
testAllowSwitchInCase 0.004
testGetAcceptableTokens 0

WriteTagCheckTest

testSeverity 0.002
testTagIncomplete 0.002
testTag 0.002
testDefaultSettings 0.002
testMissingTag 0.002
testIgnoreMissing 0.003
testDoubleTag 0.003
testNoJavadocs 0.002
testMissingFormat 0.002
testWriteTagRecordsAndCompactCtors 0.004
testRegularExError 0.002
testRegularEx 0.001
testMethod 0.002
testEmptyTag 0.002
testEnumsAndAnnotations 0.003

GeneratedJava14LexerTest

testSemicolonBetweenImports 0.006
testUnexpectedChar 0.032

DefaultConfigurationTest

testDefaultMultiThreadConfiguration 0
testRemoveChild 0
testDeprecatedAttributeMethods 0
testMultiThreadConfiguration 0
testGetName 0
testExceptionForNonExistentProperty 0
testAddPropertyAndGetProperty 0
testAddMessageAndGetMessages 0
testGetPropertyNames 0.001

ThrowsCountCheckTest

testMax 0.005
testMethodWithAnnotation 0.005
testNotIgnorePrivateMethod 0.006
testGetRequiredTokens 0
testWrongTokenType 0
testDefault 0.006
testGetAcceptableTokens 0

FileSetCheckTest

testProcessCallsFinishBeforeCallingDestroy 0.003
testTranslation 0.002

NoArrayTrailingCommaCheckTest

testTokensNotNull 0
testDefault 0.005

WhitespaceAfterCheckTest

testCast 0.009
testSemi 0.006
testTypeArgumentAndParameterCommas 0.008
testLiteralCatch 0.005
testLiteralWhile 0.006
testCountUnicodeCorrectly 0.005
testVarargs 0.008
testLiteralDo 0.006
testLiteralIf 0.005
testGetRequiredTokens 0
test1322879 0.009
testLiteralFinally 0.004
testMultilineCast 0.01
testLambdaExpressions 0.014
testWhitespaceAfterWithEmoji 0.01
testLiteralElse 0.005
testDefault 0.005
testDoWhile 0.003
testLiteralReturn 0.004
testLiteralFor 0.004
testLiteralTry 0.005
testSwitchStatements 0.016
testLiteralSynchronized 0.003
testEmptyForIterator 0.003

MissingJavadocPackageCheckTest

testPackageSingleLineJavadocPresent 0.002
testSinglelineCommentInsteadOfJavadoc 0.003
testPackageJavadocMissingWithAnnotation 0.003
testPackageJavadocPresent 0.003
testPackageJavadocPresentWithHeader 0.004
testPackageJavadocMissingWithBlankLines 0.003
testBlockCommentInsteadOfJavadoc 0.003
testPackageJavadocPresentWithAnnotation 0.003
testPackageJavadocMissing 0.002
testPackageJavadocMissingDetachedJavadoc 0.005
testPackageJavadocPresentWithBlankLines 0.003
testTokensAreCorrect 0
testPackageJavadocMissingWithAnnotationAndBlockComment 0.004
testSinglelineCommentInsteadOfJavadoc2 0.003

JavadocTagTest

testJavadocTagTypeValueOf 0
testJavadocTagReferenceImports 0
testToString 0.003
testJavadocTagTypeValues 0
testJavadocTagReferenceImportsInvalid 0

ModifiedControlVariableCheckTest

testClearState 0
testTokensNotNull 0.001
testEnhancedForLoopVariableTrue 0.004
testImproperToken 0
testEnhancedForLoopVariable2 0.005
testModifiedControlVariable 0.013
testEnhancedForLoopVariableFalse 0.007

IllegalTokenTextCheckTest

testIllegalTokenTextTextBlocksQuotes 0.006
testTokensNotNull 0
testCustomMessage 0.005
testNullCustomMessage 0.005
testOrderOfProperties 0
testIllegalTokenTextTextBlocks 0.005
testAcceptableTokensMakeSense 0
testCommentToken 0.005
testCaseSensitive 0.006
testCaseInSensitive 0.006

SeverityMatchFilterTest

testSeverity 0
testAcceptOnMatch 0
testConfigure 0
testDefault 0

AnnotationTest

testSimpleTypeAnnotation 0.009
testClassCastTypeAnnotation 0.011
testAnnotationInGeneric 0.01
testAnnotationInTypeParameters 0.007
testAnnotationOnConstructorCall 0.01
testAnnotationInCatchParameters 0.009
testAnnotationOnWildcards 0.007
testAnnotationOnClass 0.007
testAnnotationNestedCall 0.008
testAnnotationOnVarargs 0.008
testMethodParametersTypeAnnotation 0.007
testAnnotationInThrows 0.007

MainTest

testMain{String}[1] 0.079
testMain{String}[2] 0.019

PatternVariableNameCheckTest

testPatternVariableNameNoSingleChar 0.031
testDefault 0.01
testGetAcceptableTokens 0

Java7TryWithResourcesTest

testCanParse 0.01

FollowingIteratorTest

testFollowingSibling 0
testNoSibling 0

MissingOverrideCheckTest

testGoodAnnotationOverrideJ5Compatible 0.009
testGoodOverrideFromOther 0.006
testGoodAnnotationOverride 0.004
testBadOverrideFromObject 0.005
testBadOverrideFromObjectJ5Compatible 0.004
testNotOverride 0.004
testBadAnnotationOverrideJ5Compatible 0.004
testGoodOverrideFromOtherJ5Compatible 0.004
testBadOverrideFromOtherJ5Compatible 0.005
testGoodOverrideFromObject 0.004
testBadOverrideFromOther 0.005
testGetAcceptableTokens 0
testBadAnnotationOverride 0.005
testGoodOverrideFromObjectJ5Compatible 0.004

UncommentedMainCheckTest

testWrongArrayType 0.004
testVisitPackage 0.009
testDeepDepth 0.006
testExcludedClasses 0.007
testIllegalStateException 0
testWrongName 0.003
testRecords 0.009
testDefaults 0.004
testTokens 0

EmptyStatementCheckTest

testTokensNotNull 0
testEmptyStatements 0.006

NoLineWrapCheckTest

testDefaultTokensLineWrapping 0.007
testCaseWithoutLineWrapping 0.004
testCustomTokensLineWrapping 0.005
testNoLineWrapRecordsAndCompactCtors 0.005

CliOptionsXdocsSyncTest