Update code. #108
Java test case code
found issues in 8 files
Annotations
github-actions / Codety scanner - Java test case code
analyzer-codety/src/test/java/io/codety/scanner/analyzer/codety/CodetyDefaultFactoryAnalyzerTest.java#L18
[Best Practices] [SystemPrintln] Usage of System.out/err
github-actions / Codety scanner - Java test case code
analyzer-codety/src/test/java/io/codety/scanner/analyzer/codety/CodetyDefaultFactoryAnalyzerTest.java#L22
[Code Style] [EmptyControlStatement] Empty if statement
github-actions / Codety scanner - Java test case code
analyzer-eslint/src/test/java/io/codety/scanner/analyzer/eslint/EslintCodeAnalyzerTest.java#L15
[Code Style] [UnnecessaryImport] Unused import 'java.nio.file.Files'
github-actions / Codety scanner - Java test case code
analyzer-pmd/src/test/java/io/codety/scanner/analyzer/pmd/JavaPmdCodeAnalyzerTest.java#L4
[Code Style] [UnnecessaryImport] Unnecessary import from the current package 'io.codety.scanner.analyzer.pmd.JavaPmdCodeAnalyzer'
github-actions / Codety scanner - Java test case code
analyzer-pmd/src/test/java/io/codety/scanner/analyzer/pmd/JavaPmdCodeAnalyzerTest.java#L27
[Error Prone] [AvoidDuplicateLiterals] The String literal '../' appears 5 times in this file; the first occurrence is on line 27
github-actions / Codety scanner - Java test case code
analyzer-pmd/src/test/java/io/codety/scanner/analyzer/pmd/JavaPmdCodeAnalyzerTest.java#L27
[Error Prone] [AvoidDuplicateLiterals] The String literal 'code-issue-examples' appears 5 times in this file; the first occurrence is on line 27
Check warning on line 1 in code-issue-examples/java-pmd/module_api/src/test/java/IAmNoPackage.java
github-actions / Codety scanner - Java test case code
code-issue-examples/java-pmd/module_api/src/test/java/IAmNoPackage.java#L1
[ interfaces] [ enums and annotations must belong to a named package] All classes
Check warning on line 3 in code-issue-examples/java-pmd/module_api/src/test/java/IAmNoPackage.java
github-actions / Codety scanner - Java test case code
code-issue-examples/java-pmd/module_api/src/test/java/IAmNoPackage.java#L3
[Code Style] [AvoidDollarSigns] Avoid using dollar signs in variable/method/class/interface names
github-actions / Codety scanner - Java test case code
scanner/src/test/java/io/codety/scanner/reporter/github/GithubCommentTest.java#L3
[Code Style] [UnnecessaryImport] Unnecessary import from the current package 'io.codety.scanner.reporter.github.GithubCommentService'
github-actions / Codety scanner - Java test case code
scanner/src/test/java/io/codety/scanner/reporter/sarif/SarifResultReporterTest.java#L11
[Code Style] [UnnecessaryImport] Unused import 'io.codety.test.util.TestCaseUtil'
github-actions / Codety scanner - Java test case code
scanner/src/test/java/io/codety/scanner/reporter/sarif/SarifResultReporterTest.java#L20
[Code Style] [UnnecessaryImport] Unused import 'java.nio.file.Path'
Check warning on line 22 in scanner/src/test/java/io/codety/scanner/service/AnalyzerRequestTest.java
github-actions / Codety scanner - Java test case code
scanner/src/test/java/io/codety/scanner/service/AnalyzerRequestTest.java#L22
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
Check warning on line 40 in scanner/src/test/java/io/codety/scanner/service/AnalyzerRequestTest.java
github-actions / Codety scanner - Java test case code
scanner/src/test/java/io/codety/scanner/service/AnalyzerRequestTest.java#L40
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
Check warning on line 16 in scanner/src/test/java/io/codety/test/util/TestCaseUtil.java
github-actions / Codety scanner - Java test case code
scanner/src/test/java/io/codety/test/util/TestCaseUtil.java#L16
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements