Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 8.41 with colab/checkstyle/colab_checks.xml ruleset.

Summary

Files
 Info
 Warnings
 Errors
13 0 11 0

Files

File
 I
 W
 E
ch/colabproject/colab/generator/plugin/TypeScriptHelper.java 0 1 0
ch/colabproject/colab/generator/plugin/rest/RestEndpoint.java 0 8 0
ch/colabproject/colab/generator/plugin/rest/RestMethod.java 0 2 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 1
 Warning
indentation CommentsIndentation
  • tokens: "SINGLE_LINE_COMMENT, BLOCK_COMMENT_BEGIN"
2
 Warning
javadoc NonEmptyAtclauseDescription 4
 Warning
naming LocalVariableName
  • format: "^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"
2
 Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "100"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1
 Error
whitespace OperatorWrap
  • tokens: "BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR, METHOD_REF "
  • option: "NL"
1
 Warning

Details

ch/colabproject/colab/generator/plugin/TypeScriptHelper.java

Severity Category Rule Message Line
 Warning
indentation CommentsIndentation Comment has incorrect indentation level 0, expected is 16, 12, indentation should be the same level as line 320, 325. 324

ch/colabproject/colab/generator/plugin/rest/RestEndpoint.java

Severity Category Rule Message Line
 Warning
naming LocalVariableName Local variable name 'pCleaned' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. 240
 Warning
naming LocalVariableName Local variable name 'pName' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. 241
 Warning
javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 629
 Warning
javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 630
 Warning
javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 631
 Warning
javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 632
 Warning
whitespace OperatorWrap '+' should be on a new line. 826
 Warning
coding VariableDeclarationUsageDistance Distance between variable 'methodPath' declaration and its first usage is 6, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 973

ch/colabproject/colab/generator/plugin/rest/RestMethod.java

Severity Category Rule Message Line
 Warning
sizes LineLength Line is longer than 100 characters (found 102). 397
 Warning
indentation CommentsIndentation Comment has incorrect indentation level 0, expected is 12, indentation should be the same level as line 412. 411