Checkstyle Results
The following document contains the results of Checkstyle 9.3 with sun_checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 25 | 0 | 0 | 155 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | HiddenField | 14 | |
| MagicNumber | 8 | ||
| design | DesignForExtension | 7 | |
| HideUtilityClassConstructor | 2 | ||
| imports | UnusedImports
|
1 | |
| javadoc | JavadocPackage | 8 | |
| JavadocStyle | 1 | ||
| JavadocVariable | 41 | ||
| MissingJavadocMethod | 20 | ||
| misc | NewlineAtEndOfFile | 6 | |
| sizes | LineLength
|
47 |
Details
de/aikiit/bilanzanalyser/WebAppApplication.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 7 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 10 |
de/aikiit/bilanzanalyser/analyse/AnalyseController.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 16 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 18 | |
| coding | HiddenField | 'categoryRepository' hides a field. | 18 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 22 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 29 |
de/aikiit/bilanzanalyser/analyse/AnalyseService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 |
de/aikiit/bilanzanalyser/api/DataController.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 17 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 18 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 19 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 20 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 21 | |
| sizes | LineLength | Line is longer than 80 characters (found 240). | 23 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 23 | |
| coding | HiddenField | 'bilanzRowRepository' hides a field. | 23 | |
| coding | HiddenField | 'categoryRepository' hides a field. | 23 | |
| coding | HiddenField | 'paymentRepository' hides a field. | 23 | |
| coding | HiddenField | 'shopRepository' hides a field. | 23 | |
| coding | HiddenField | 'sourceRepository' hides a field. | 23 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 31 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 33 |
de/aikiit/bilanzanalyser/api/DataItem.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 | |
| javadoc | JavadocPackage | Missing package-info.java file. | 1 |
de/aikiit/bilanzanalyser/entity/BilanzRow.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 17 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 19 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 20 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 21 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 22 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 23 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
de/aikiit/bilanzanalyser/entity/database/BilanzRowEntity.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 16 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 20 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 21 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 22 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 24 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 26 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 28 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 30 |
de/aikiit/bilanzanalyser/entity/database/CategoryEntity.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 15 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
de/aikiit/bilanzanalyser/entity/database/DataInitializer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Class 'DataInitializer' looks like designed for extension (can be subclassed), but the method 'initData' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DataInitializer' final or making the method 'initData' static/final/abstract/empty, or adding allowed annotation for the method. | 14 | |
| sizes | LineLength | Line is longer than 80 characters (found 116). | 15 |
de/aikiit/bilanzanalyser/entity/database/PaymentEntity.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 15 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
de/aikiit/bilanzanalyser/entity/database/ShopEntity.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 15 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
de/aikiit/bilanzanalyser/entity/database/SourceEntity.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 15 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
de/aikiit/bilanzanalyser/entity/database/repository/BilanzRowRepository.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 | |
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 6 | |
| sizes | LineLength | Line is longer than 80 characters (found 96). | 9 |
de/aikiit/bilanzanalyser/entity/database/repository/CategoryRepository.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 8 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 10 |
de/aikiit/bilanzanalyser/entity/database/repository/PaymentRepository.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 10 |
de/aikiit/bilanzanalyser/entity/database/repository/ShopRepository.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 10 |
de/aikiit/bilanzanalyser/entity/database/repository/SourceRepository.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 12 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 14 |
de/aikiit/bilanzanalyser/reader/BilanzOdsReader.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.io.File. | 12 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 27 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 28 | |
| sizes | LineLength | Line is longer than 80 characters (found 109). | 34 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 46 | |
| coding | MagicNumber | '5' is a magic number. | 57 | |
| sizes | LineLength | Line is longer than 80 characters (found 122). | 58 | |
| sizes | LineLength | Line is longer than 80 characters (found 141). | 81 | |
| sizes | LineLength | Line is longer than 80 characters (found 102). | 89 |
de/aikiit/bilanzanalyser/reader/BilanzRowParser.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 16 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 20 | |
| sizes | LineLength | Line is longer than 80 characters (found 142). | 22 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 23 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 28 | |
| sizes | LineLength | Line is longer than 80 characters (found 94). | 30 | |
| coding | MagicNumber | '3' is a magic number. | 39 | |
| coding | MagicNumber | '4' is a magic number. | 40 | |
| coding | MagicNumber | '5' is a magic number. | 41 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 51 | |
| sizes | LineLength | Line is longer than 80 characters (found 306). | 60 | |
| coding | MagicNumber | '3' is a magic number. | 60 | |
| coding | MagicNumber | '4' is a magic number. | 60 | |
| coding | MagicNumber | '5' is a magic number. | 60 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 64 |
de/aikiit/bilanzanalyser/reader/BilanzRowParserResult.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocStyle | First sentence should end with a period. | 7 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 14 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 16 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 20 |
de/aikiit/bilanzanalyser/reader/BilanzRowParserStatistic.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 10 | |
| sizes | LineLength | Line is longer than 80 characters (found 106). | 11 |
de/aikiit/bilanzanalyser/upload/SourceService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 11 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 13 | |
| coding | HiddenField | 'sourceRepository' hides a field. | 13 |
de/aikiit/bilanzanalyser/upload/UploadAnalysisService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 30 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 31 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 32 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 33 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 34 | |
| sizes | LineLength | Line is longer than 80 characters (found 247). | 36 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 36 | |
| coding | HiddenField | 'bilanzRowRepository' hides a field. | 36 | |
| coding | HiddenField | 'shopRepository' hides a field. | 36 | |
| coding | HiddenField | 'paymentRepository' hides a field. | 36 | |
| coding | HiddenField | 'categoryRepository' hides a field. | 36 | |
| coding | HiddenField | 'sourceRepository' hides a field. | 36 | |
| sizes | LineLength | Line is longer than 80 characters (found 110). | 52 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 53 | |
| design | DesignForExtension | Class 'UploadAnalysisService' looks like designed for extension (can be subclassed), but the method 'flushDataIntoDatabase' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UploadAnalysisService' final or making the method 'flushDataIntoDatabase' static/final/abstract/empty, or adding allowed annotation for the method. | 57 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 57 | |
| sizes | LineLength | Line is longer than 80 characters (found 111). | 75 | |
| coding | MagicNumber | '1_000_000' is a magic number. | 75 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 79 | |
| sizes | LineLength | Line is longer than 80 characters (found 111). | 80 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 82 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 83 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 84 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 86 | |
| sizes | LineLength | Line is longer than 80 characters (found 93). | 87 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 88 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 90 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 93 | |
| sizes | LineLength | Line is longer than 80 characters (found 94). | 94 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 97 | |
| sizes | LineLength | Line is longer than 80 characters (found 124). | 100 | |
| design | DesignForExtension | Class 'UploadAnalysisService' looks like designed for extension (can be subclassed), but the method 'getOrCreateShop' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UploadAnalysisService' final or making the method 'getOrCreateShop' static/final/abstract/empty, or adding allowed annotation for the method. | 113 | |
| design | DesignForExtension | Class 'UploadAnalysisService' looks like designed for extension (can be subclassed), but the method 'getOrCreatePayment' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UploadAnalysisService' final or making the method 'getOrCreatePayment' static/final/abstract/empty, or adding allowed annotation for the method. | 122 | |
| design | DesignForExtension | Class 'UploadAnalysisService' looks like designed for extension (can be subclassed), but the method 'getOrCreateCategory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UploadAnalysisService' final or making the method 'getOrCreateCategory' static/final/abstract/empty, or adding allowed annotation for the method. | 131 | |
| design | DesignForExtension | Class 'UploadAnalysisService' looks like designed for extension (can be subclassed), but the method 'getOrCreateSource' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UploadAnalysisService' final or making the method 'getOrCreateSource' static/final/abstract/empty, or adding allowed annotation for the method. | 140 | |
| design | DesignForExtension | Class 'UploadAnalysisService' looks like designed for extension (can be subclassed), but the method 'replaceIfEmpty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UploadAnalysisService' final or making the method 'replaceIfEmpty' static/final/abstract/empty, or adding allowed annotation for the method. | 149 |
de/aikiit/bilanzanalyser/upload/UploadController.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 24 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 26 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 27 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 29 | |
| sizes | LineLength | Line is longer than 80 characters (found 115). | 32 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 32 | |
| coding | HiddenField | 'uploadAnalysisService' hides a field. | 32 | |
| coding | HiddenField | 'sourceService' hides a field. | 32 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 37 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 45 | |
| sizes | LineLength | Line is longer than 80 characters (found 157). | 46 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 52 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 57 | |
| sizes | LineLength | Line is longer than 80 characters (found 94). | 65 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 72 | |
| sizes | LineLength | Line is longer than 80 characters (found 100). | 76 | |
| sizes | LineLength | Line is longer than 80 characters (found 109). | 80 | |
| sizes | LineLength | Line is longer than 80 characters (found 149). | 85 |
