Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
17 5 14 144

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
14  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 JavadocVariable
  • scope: "protected"
5  Info
naming MethodName 35  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. 59
 Error coding MagicNumber '50.' is a magic number. 82

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. 82
 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,436 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. 349
 Error naming MethodName Name 'head_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 462
 Error coding MagicNumber '25.4' is a magic number. 489
 Error coding MagicNumber '72.' is a magic number. 489
 Error coding MagicNumber '2.54' is a magic number. 492
 Error coding MagicNumber '72.' is a magic number. 492
 Error coding MagicNumber '72.' is a magic number. 495
 Error coding MagicNumber '72.' is a magic number. 499
 Error coding MagicNumber '20.' is a magic number. 503
 Error naming MethodName Name 'title_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 520
 Error naming MethodName Name 'author_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 539
 Error naming MethodName Name 'date_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 558
 Error naming MethodName Name 'body_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 574
 Error naming MethodName Name 'section1_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 591
 Error naming MethodName Name 'section2_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 607
 Error naming MethodName Name 'section3_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 623
 Error naming MethodName Name 'section4_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 639
 Error naming MethodName Name 'section5_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 655
 Error naming MethodName Name 'sectionTitle_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 696
 Error naming MethodName Name 'list_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 718
 Error naming MethodName Name 'listItem_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 745
 Warning coding HiddenField 'numbering' hides a field. 754
 Error naming MethodName Name 'numberedList_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 766
 Error naming MethodName Name 'numberedListItem_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 806
 Error naming MethodName Name 'definitionList_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 879
 Error naming MethodName Name 'definitionListItem_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 898
 Error naming MethodName Name 'definedTerm_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 914
 Error naming MethodName Name 'definition_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 934
 Error naming MethodName Name 'table_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 953
 Error naming MethodName Name 'tableRows_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 969
 Error naming MethodName Name 'tableRow_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1123
 Error naming MethodName Name 'tableHeaderCell_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1139
 Error naming MethodName Name 'tableCell_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1156
 Error naming MethodName Name 'tableCaption_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1176
 Error naming MethodName Name 'paragraph_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1195
 Error naming MethodName Name 'verbatim_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1235
 Error naming MethodName Name 'figure_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1275
 Error sizes MethodLength Method length is 193 lines (max allowed is 150). 1299
 Error coding MagicNumber '2.54' is a magic number. 1323
 Error coding MagicNumber '24' is a magic number. 1328
 Error coding MagicNumber '0xff' is a magic number. 1364
 Error coding MagicNumber '0xff' is a magic number. 1365
 Error coding MagicNumber '0xff' is a magic number. 1366
 Error coding MagicNumber '255' is a magic number. 1399
 Error coding MagicNumber '0x0103' is a magic number. 1423
 Error coding MagicNumber '0x020b' is a magic number. 1428
 Error coding MagicNumber '0x020c' is a magic number. 1433
 Error coding MagicNumber '0x00cc' is a magic number. 1438
 Error naming MethodName Name 'figureCaption_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1509
 Error naming MethodName Name 'anchor_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1549
 Error naming MethodName Name 'link_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1563
 Error naming MethodName Name 'inline_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1610
 Warning coding HiddenField 'style' hides a field. 1612
 Error naming MethodName Name 'italic_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1630
 Error naming MethodName Name 'bold_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1646
 Error naming MethodName Name 'monospaced_' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1662
 Warning coding HiddenField 'style' hides a field. 1667
 Warning coding HiddenField 'style' hides a field. 1855
 Error coding MagicNumber '20' is a magic number. 1983
 Warning coding HiddenField 'value' hides a field. 2014
 Warning coding HiddenField 'value' hides a field. 2029
 Warning coding HiddenField 'context' hides a field. 2041
 Warning coding HiddenField 'space' hides a field. 2180
 Warning coding HiddenField 'space' hides a field. 2202
 Warning coding HiddenField 'space' hides a field. 2219
 Error coding InnerAssignment Inner assignments should be avoided. 2222
 Warning coding HiddenField 'indent' hides a field. 2241
 Warning coding HiddenField 'indent' hides a field. 2261
 Warning coding HiddenField 'line' hides a field. 2352
 Warning coding HiddenField 'line' hides a field. 2366

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