Calculator App

Checkstyle Results

The following document contains the results of Checkstyle 9.3 with google_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
2 0 27 0

Files

File  I  W  E
com/ucoruh/calculator/Calculator.java 0 15 0
com/ucoruh/calculator/CalculatorApp.java 0 12 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
4  Warning
javadoc AtclauseOrder
  • tagOrder: "@param, @return, @throws, @deprecated"
  • target: "CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
2  Warning
InvalidJavadocPosition 2  Warning
SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
11  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "100"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
6  Error
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "PACKAGE_DEF, IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF"
2  Warning

Details

com/ucoruh/calculator/Calculator.java

Severity Category Rule Message Line
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 1
 Warning sizes LineLength Line is longer than 100 characters (found 119). 5
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 8
 Warning sizes LineLength Line is longer than 100 characters (found 106). 11
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous line. 13
 Warning imports CustomImportOrder Extra separation in import group before 'ch.qos.logback.classic.Logger' 17
 Warning imports CustomImportOrder Wrong lexicographical order for 'ch.qos.logback.classic.Logger' import. Should be before 'org.slf4j.LoggerFactory'. 17
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 18
 Warning sizes LineLength Line is longer than 100 characters (found 206). 22
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 27
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 32
 Warning sizes LineLength Line is longer than 100 characters (found 137). 35
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 46
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 58
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 70

com/ucoruh/calculator/CalculatorApp.java

Severity Category Rule Message Line
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 1
 Warning sizes LineLength Line is longer than 100 characters (found 162). 5
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 7
 Warning sizes LineLength Line is longer than 100 characters (found 106). 10
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous line. 12
 Warning imports CustomImportOrder Extra separation in import group before 'ch.qos.logback.classic.Logger' 16
 Warning imports CustomImportOrder Wrong lexicographical order for 'ch.qos.logback.classic.Logger' import. Should be before 'org.slf4j.LoggerFactory'. 16
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 18
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 31
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 36
 Warning javadoc AtclauseOrder Javadoc comment at column 39 has parse error. Missed HTML close tag 'number'. Sometimes it means that close tag missed for one of previous tags. 54
 Warning javadoc AtclauseOrder Javadoc comment at column 51 has parse error. Missed HTML close tag 'number'. Sometimes it means that close tag missed for one of previous tags. 61