Checkstyle Results

The following document contains the results of Checkstyle 6.1.1 with config/maven_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
20 5 19 143

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
13  Warning
InnerAssignment 2  Error
MagicNumber
  • ignoreNumbers: "-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 31, 32, 37, 64, 100, 128, 256, 512, 1000, 1024"
105  Error
javadoc JavadocMethod
  • scope: "protected"
6  Warning
JavadocVariable
  • scope: "protected"
5  Info
naming MethodName 34  Error
sizes FileLength 1  Error
MethodLength 1  Error

Details

org/apache/maven/doxia/module/rtf/AlphaNumerals.java

Severity Category Rule Message Line
 Error coding MagicNumber '27' is a magic number. 39
 Error coding MagicNumber '27' is a magic number. 46

org/apache/maven/doxia/module/rtf/Font.java

Severity Category Rule Message Line
 Error coding MagicNumber '255' is a magic number. 61
 Error coding MagicNumber '50.' is a magic number. 84

org/apache/maven/doxia/module/rtf/Monospace.java

Severity Category Rule Message Line
 Error coding MagicNumber '629' is a magic number. 160
 Error coding MagicNumber '-157' is a magic number. 160
 Error coding MagicNumber '-28' is a magic number. 160
 Error coding MagicNumber '-250' is a magic number. 160
 Error coding MagicNumber '628' is a magic number. 160
 Error coding MagicNumber '805' is a magic number. 160

org/apache/maven/doxia/module/rtf/MonospaceBold.java

Severity Category Rule Message Line
 Error coding MagicNumber '626' is a magic number. 160
 Error coding MagicNumber '-142' is a magic number. 160
 Error coding MagicNumber '-113' is a magic number. 160
 Error coding MagicNumber '-250' is a magic number. 160
 Error coding MagicNumber '749' is a magic number. 160
 Error coding MagicNumber '801' is a magic number. 160

org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java

Severity Category Rule Message Line
 Error coding MagicNumber '626' is a magic number. 160
 Error coding MagicNumber '-142' is a magic number. 160
 Error coding MagicNumber '-56' is a magic number. 160
 Error coding MagicNumber '-250' is a magic number. 160
 Error coding MagicNumber '868' is a magic number. 160
 Error coding MagicNumber '801' is a magic number. 160

org/apache/maven/doxia/module/rtf/MonospaceItalic.java

Severity Category Rule Message Line
 Error coding MagicNumber '629' is a magic number. 160
 Error coding MagicNumber '-157' is a magic number. 160
 Error coding MagicNumber '-28' is a magic number. 160
 Error coding MagicNumber '-250' is a magic number. 160
 Error coding MagicNumber '742' is a magic number. 160
 Error coding MagicNumber '805' is a magic number. 160

org/apache/maven/doxia/module/rtf/PBMReader.java

Severity Category Rule Message Line
 Error coding MagicNumber '255' is a magic number. 83
 Error coding InnerAssignment Inner assignments should be avoided. 264

org/apache/maven/doxia/module/rtf/RtfSink.java

Severity Category Rule Message Line
 Error sizes FileLength File length is 2,245 lines (max allowed is 2,000). 1
 Info javadoc JavadocVariable Missing a Javadoc comment. 164
 Info javadoc JavadocVariable Missing a Javadoc comment. 186
 Info javadoc JavadocVariable Missing a Javadoc comment. 188
 Info javadoc JavadocVariable Missing a Javadoc comment. 214
 Info javadoc JavadocVariable Missing a Javadoc comment. 216
 Error coding MagicNumber '20' is a magic number. 346
 Warning javadoc JavadocMethod Expected @param tag for 'format'. 364
 Warning javadoc JavadocMethod Expected @param tag for 'type'. 374
 Warning javadoc JavadocMethod Expected @param tag for 'format'. 384
 Warning javadoc JavadocMethod Expected @param tag for 'compression'. 394
 Warning javadoc JavadocMethod Expected @param tag for 'cp'. 404
 Warning javadoc JavadocMethod Expected @param tag for 'cs'. 414
 Error naming MethodName Name 'head_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 455
 Error coding MagicNumber '25.4' is a magic number. 482
 Error coding MagicNumber '72.' is a magic number. 482
 Error coding MagicNumber '2.54' is a magic number. 485
 Error coding MagicNumber '72.' is a magic number. 485
 Error coding MagicNumber '72.' is a magic number. 488
 Error coding MagicNumber '72.' is a magic number. 492
 Error coding MagicNumber '20.' is a magic number. 496
 Error naming MethodName Name 'title_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 509
 Error naming MethodName Name 'author_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 524
 Error naming MethodName Name 'date_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 539
 Error naming MethodName Name 'body_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 551
 Error naming MethodName Name 'section1_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 564
 Error naming MethodName Name 'section2_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 576
 Error naming MethodName Name 'section3_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 588
 Error naming MethodName Name 'section4_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 600
 Error naming MethodName Name 'section5_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 612
 Error naming MethodName Name 'sectionTitle_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 649
 Error naming MethodName Name 'list_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 667
 Error naming MethodName Name 'listItem_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 690
 Warning coding HiddenField 'numbering' hides a field. 699
 Error naming MethodName Name 'numberedList_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 709
 Error naming MethodName Name 'numberedListItem_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 745
 Error naming MethodName Name 'definitionList_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 814
 Error naming MethodName Name 'definitionListItem_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 829
 Error naming MethodName Name 'definedTerm_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 841
 Error naming MethodName Name 'definition_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 857
 Error naming MethodName Name 'table_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 872
 Error naming MethodName Name 'tableRows_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 886
 Error naming MethodName Name 'tableRow_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1036
 Error naming MethodName Name 'tableHeaderCell_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1048
 Error naming MethodName Name 'tableCell_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1061
 Error naming MethodName Name 'tableCaption_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1077
 Error naming MethodName Name 'paragraph_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1092
 Error naming MethodName Name 'verbatim_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1130
 Error naming MethodName Name 'figure_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1166
 Error sizes MethodLength Method length is 193 lines (max allowed is 150). 1190
 Error coding MagicNumber '2.54' is a magic number. 1214
 Error coding MagicNumber '24' is a magic number. 1219
 Error coding MagicNumber '0xff' is a magic number. 1255
 Error coding MagicNumber '0xff' is a magic number. 1256
 Error coding MagicNumber '0xff' is a magic number. 1257
 Error coding MagicNumber '255' is a magic number. 1290
 Error coding MagicNumber '0x0103' is a magic number. 1314
 Error coding MagicNumber '0x020b' is a magic number. 1319
 Error coding MagicNumber '0x020c' is a magic number. 1324
 Error coding MagicNumber '0x00cc' is a magic number. 1329
 Error naming MethodName Name 'figureCaption_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1396
 Error naming MethodName Name 'anchor_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1430
 Error naming MethodName Name 'link_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1442
 Error naming MethodName Name 'italic_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1454
 Error naming MethodName Name 'bold_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1466
 Error naming MethodName Name 'monospaced_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1478
 Warning coding HiddenField 'style' hides a field. 1483
 Warning coding HiddenField 'style' hides a field. 1667
 Error coding MagicNumber '20' is a magic number. 1792
 Warning coding HiddenField 'value' hides a field. 1823
 Warning coding HiddenField 'value' hides a field. 1838
 Warning coding HiddenField 'context' hides a field. 1850
 Warning coding HiddenField 'space' hides a field. 1989
 Warning coding HiddenField 'space' hides a field. 2011
 Warning coding HiddenField 'space' hides a field. 2028
 Error coding InnerAssignment Inner assignments should be avoided. 2031
 Warning coding HiddenField 'indent' hides a field. 2050
 Warning coding HiddenField 'indent' hides a field. 2070
 Warning coding HiddenField 'line' hides a field. 2161
 Warning coding HiddenField 'line' hides a field. 2175

org/apache/maven/doxia/module/rtf/SansSerif.java

Severity Category Rule Message Line
 Error coding MagicNumber '718' is a magic number. 160
 Error coding MagicNumber '-207' is a magic number. 160
 Error coding MagicNumber '-166' is a magic number. 160
 Error coding MagicNumber '-225' is a magic number. 160
 Error coding MagicNumber '931' is a magic number. 160

org/apache/maven/doxia/module/rtf/SansSerifBold.java

Severity Category Rule Message Line
 Error coding MagicNumber '718' is a magic number. 160
 Error coding MagicNumber '-207' is a magic number. 160
 Error coding MagicNumber '-170' is a magic number. 160
 Error coding MagicNumber '-228' is a magic number. 160
 Error coding MagicNumber '1003' is a magic number. 160
 Error coding MagicNumber '962' is a magic number. 160

org/apache/maven/doxia/module/rtf/SansSerifBoldItalic.java

Severity Category Rule Message Line
 Error coding MagicNumber '718' is a magic number. 160
 Error coding MagicNumber '-207' is a magic number. 160
 Error coding MagicNumber '-174' is a magic number. 160
 Error coding MagicNumber '-228' is a magic number. 160
 Error coding MagicNumber '1114' is a magic number. 160
 Error coding MagicNumber '962' is a magic number. 160

org/apache/maven/doxia/module/rtf/SansSerifItalic.java

Severity Category Rule Message Line
 Error coding MagicNumber '718' is a magic number. 160
 Error coding MagicNumber '-207' is a magic number. 160
 Error coding MagicNumber '-170' is a magic number. 160
 Error coding MagicNumber '-225' is a magic number. 160
 Error coding MagicNumber '1116' is a magic number. 160
 Error coding MagicNumber '931' is a magic number. 160

org/apache/maven/doxia/module/rtf/Serif.java

Severity Category Rule Message Line
 Error coding MagicNumber '683' is a magic number. 160
 Error coding MagicNumber '-217' is a magic number. 160
 Error coding MagicNumber '-168' is a magic number. 160
 Error coding MagicNumber '-218' is a magic number. 160
 Error coding MagicNumber '898' is a magic number. 160

org/apache/maven/doxia/module/rtf/SerifBold.java

Severity Category Rule Message Line
 Error coding MagicNumber '676' is a magic number. 160
 Error coding MagicNumber '-205' is a magic number. 160
 Error coding MagicNumber '-168' is a magic number. 160
 Error coding MagicNumber '-218' is a magic number. 160
 Error coding MagicNumber '935' is a magic number. 160

org/apache/maven/doxia/module/rtf/SerifBoldItalic.java

Severity Category Rule Message Line
 Error coding MagicNumber '699' is a magic number. 160
 Error coding MagicNumber '-205' is a magic number. 160
 Error coding MagicNumber '-200' is a magic number. 160
 Error coding MagicNumber '-218' is a magic number. 160
 Error coding MagicNumber '996' is a magic number. 160
 Error coding MagicNumber '921' is a magic number. 160

org/apache/maven/doxia/module/rtf/SerifItalic.java

Severity Category Rule Message Line
 Error coding MagicNumber '683' is a magic number. 160
 Error coding MagicNumber '-205' is a magic number. 160
 Error coding MagicNumber '-169' is a magic number. 160
 Error coding MagicNumber '-217' is a magic number. 160
 Error coding MagicNumber '1010' is a magic number. 160
 Error coding MagicNumber '883' is a magic number. 160

org/apache/maven/doxia/module/rtf/WMFWriter.java

Severity Category Rule Message Line
 Error coding MagicNumber '0x0300' is a magic number. 66
 Error coding MagicNumber '24' is a magic number. 140
 Error coding MagicNumber '24' is a magic number. 180
 Error coding MagicNumber '76' is a magic number. 413
 Error coding MagicNumber '255' is a magic number. 434
 Error coding MagicNumber '255' is a magic number. 436
 Error coding MagicNumber '255' is a magic number. 438
 Error coding MagicNumber '255' is a magic number. 457
 Error coding MagicNumber '255' is a magic number. 460
 Error coding MagicNumber '255' is a magic number. 461
 Error coding MagicNumber '255' is a magic number. 466
 Error coding MagicNumber '0x0940' is a magic number. 528