Skip to content

Update emptyclass.scala #280

Update emptyclass.scala

Update emptyclass.scala #280

Triggered via push September 13, 2024 23:52
Status Success
Total duration 1m 31s
Artifacts

codety.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

102 warnings
analyzer-checkov/src/main/java/io/codety/scanner/analyzer/checkov/CheckovCodeAnalyzer.java#L26
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-checkov/src/main/java/io/codety/scanner/analyzer/checkov/CheckovResultConverter.java#L39
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
analyzer-checkov/src/main/java/io/codety/scanner/analyzer/checkov/CheckovResultConverter.java#L42
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
analyzer-codety/src/main/java/io/codety/scanner/analyzer/codety/CodetyRegexCodeAnalyzer.java#L98
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-codety/src/main/java/io/codety/scanner/analyzer/codety/CodetyRegexCodeAnalyzer.java#L203
[Error Prone] [AssignmentInOperand] Avoid assignments in operands
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L19
[Documentation] [CommentSize] Comment is too large: Too many lines
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L21
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L22
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L23
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L24
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L25
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L26
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L27
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L28
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/CppcheckResultConverter.java#L29
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-cppcheck/src/main/java/io/codety/scanner/analyzer/cppcheck/dto/CppcheckCmdIssue.java#L5
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-eslint/src/main/java/io/codety/scanner/analyzer/eslint/EslintCodeAnalyzer.java#L104
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-eslint/src/main/java/io/codety/scanner/analyzer/eslint/EslintConfigFileFactory.java#L62
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-eslint/src/main/java/io/codety/scanner/analyzer/eslint/EslintConfigFileFactory.java#L64
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-eslint/src/main/java/io/codety/scanner/analyzer/eslint/EslintResultsConverter.java#L24
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
analyzer-pmd/src/main/java/io/codety/scanner/analyzer/pmd/JavaPmdCodeAnalyzer.java#L63
[Best Practices] [AvoidReassigningParameters] Avoid reassigning parameters such as 'pmdCsvResult'
analyzer-pmd/src/main/java/io/codety/scanner/analyzer/pmd/JavaPmdCodeAnalyzer.java#L67
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-pmd/src/main/java/io/codety/scanner/analyzer/pmd/JavaPmdDuplicateCodeAnalyzer.java#L17
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-pmd/src/main/java/io/codety/scanner/analyzer/pmd/JavaPmdDuplicateCodeAnalyzer.java#L18
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-pmd/src/main/java/io/codety/scanner/analyzer/pmd/JavaPmdDuplicateCodeAnalyzer.java#L28
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-pmd/src/main/java/io/codety/scanner/analyzer/pmd/SourceCodeDirectoryLayoutAnalyzer.java#L17
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-pylint/src/main/java/io/codety/scanner/analyzer/pylint/PylintCodeAnalyzer.java#L44
[Error Prone] [AvoidDuplicateLiterals] The String literal ' Failed ' appears 4 times in this file; the first occurrence is on line 44
analyzer-pylint/src/main/java/io/codety/scanner/analyzer/pylint/dto/PylintIssueDto.java#L4
[Documentation] [CommentSize] Comment is too large: Too many lines
analyzer-scalastyle/src/main/java/io/codety/scanner/analyzer/scalastyle/ScalastyleCodeAnalyzer.java#L32
[Documentation] [CommentSize] Comment is too large: Line too long
analyzer-shellcheck/src/main/java/io/codety/scanner/analyzer/shellcheck/ShellcheckConverter.java#L48
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
analyzer-shellcheck/src/main/java/io/codety/scanner/analyzer/shellcheck/dto/ShellcheckIssue.java#L5
[Documentation] [CommentSize] Comment is too large: Too many lines
analyzer-stylelint/src/main/java/io/codety/scanner/analyzer/stylelint/dto/StylelintIssueWarning.java#L4
[Documentation] [CommentSize] Comment is too large: Too many lines
analyzer-trivy/src/main/java/io/codety/scanner/analyzer/trivy/TrivyResultConverter.java#L50
[Documentation] [CommentSize] Comment is too large: Line too long
code-issue-examples/java-pmd/module_scheduler/src/main/java/MyScheduler.java#L1
[ interfaces] [ enums and annotations must belong to a named package] All classes
code-issue-examples/java-trivy/module_api/src/main/java/com/SecretExposureJavaExample.java#L7
[Documentation] [CommentSize] Comment is too large: Line too long
scanner-common/src/main/java/io/codety/scanner/analyzer/dto/AnalyzerConfigurationDto.java#L8
[Documentation] [CommentSize] Comment is too large: Line too long
scanner-common/src/main/java/io/codety/scanner/analyzer/dto/materialized/CodetyRulesetPullApiResponseProtocolDto.java#L6
[Documentation] [CommentSize] Comment is too large: Line too long
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L83
[Error Prone] [AvoidDuplicateLiterals] The String literal 'false' appears 4 times in this file; the first occurrence is on line 83
scanner-common/src/main/java/io/codety/scanner/util/CodetyConsoleLogger.java#L7
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/CodetyScannerMain.java#L14
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/connectivity/CodetyConfigService.java#L71
[Design] [AvoidDeeplyNestedIfStmts] Deeply nested if..then statements are hard to read
scanner/src/main/java/io/codety/scanner/reporter/CodeAnalysisResultDistributionService.java#L41
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/CodeAnalysisResultDistributionService.java#L46
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/github/GithubCommentService.java#L302
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/main/java/io/codety/scanner/reporter/github/GithubCommentService.java#L304
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/main/java/io/codety/scanner/reporter/github/GithubCommentService.java#L306
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/main/java/io/codety/scanner/reporter/github/GithubPullRequestResultReporter.java#L86
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/github/GithubPullRequestResultReporter.java#L134
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/github/GithubPullRequestResultReporter.java#L140
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/main/java/io/codety/scanner/reporter/github/dto/GithubWebhookPostDtoTmp.java#L1568
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/github/dto/GithubWebhookPostDtoTmp.java#L1616
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/github/dto/GithubWebhookPostDtoTmp.java#L1620
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/sarif/SarifResultReporter.java#L30
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/sarif/SarifResultReporter.java#L116
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/reporter/slack/SlackResultGenerator.java#L63
[Error Prone] [AvoidDuplicateLiterals] The String literal 'text' appears 4 times in this file; the first occurrence is on line 63
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L44
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L63
[Error Prone] [NullAssignment] Assigning an Object to null is a code smell. Consider refactoring.
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L66
[Error Prone] [NullAssignment] Assigning an Object to null is a code smell. Consider refactoring.
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L76
[Error Prone] [JumbledIncrementer] Avoid modifying an outer loop incrementer in an inner loop for update expression
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L86
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L89
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L98
[Error Prone] [NullAssignment] Assigning an Object to null is a code smell. Consider refactoring.
scanner/src/main/java/io/codety/scanner/service/CodeChangeDiffAnalyzer.java#L125
[Error Prone] [AvoidDuplicateLiterals] The String literal 'bash' appears 5 times in this file; the first occurrence is on line 125
scanner/src/main/java/io/codety/scanner/service/ScannerService.java#L160
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/main/java/io/codety/scanner/service/ScannerService.java#L161
[Documentation] [CommentSize] Comment is too large: Line too long
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
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
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
scanner/src/test/java/io/codety/scanner/service/AnalyzerRequestTest.java#L22
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/test/java/io/codety/scanner/service/AnalyzerRequestTest.java#L40
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
scanner/src/test/java/io/codety/scanner/service/RunApplicationIntegrationTest.java#L27
[Documentation] [CommentSize] Comment is too large: Line too long
scanner/src/test/java/io/codety/test/util/TestCaseUtil.java#L16
[Error Prone] [AvoidLiteralsInIfCondition] Avoid using literals in if statements
analyzer-cppcheck/src/test/resources/cppcheck/cpp-code-with-issues/cpp.cpp#L20
[warning] [uninitvar] [457] Assuming condition is false
analyzer-cppcheck/src/test/resources/cppcheck/cpp-code-with-issues/cpp.cpp#L23
[warning] [uninitvar] [457] Uninitialized variable: position
code-issue-examples/ruby/bad-ruby-code-examples.rb#L2
[lint] [unused-block-argument] Unused block argument - `k`. If it's necessary, use `_` or `_k` as an argument name to indicate that it won't be used.
code-issue-examples/ruby/bad-ruby-code-examples.rb#L10
[style] [parallel-assignment] Do not use parallel assignment.
code-issue-examples/secrets/github-secret.txt#L2
[security] [github-access-token] Detected potential exposure of sensitive information
code-issue-examples/secrets/github-secret.txt#L6
[security] [github-access-token] Detected potential exposure of sensitive information
code-issue-examples/java-trivy/module_api/src/main/java/com/SecretExposureJavaExample.java#L5
[security] [github-access-token] Detected potential exposure of sensitive information
code-issue-examples/java-trivy/module_api/src/main/java/com/SecretExposureJavaExample.java#L7
[security] [github-access-token] Detected potential exposure of sensitive information
scanner/src/main/java/io/codety/scanner/reporter/CodeAnalysisResultDistributionService.java#L11
[security] [vault-token] Detected potential exposure of sensitive information
analyzer-codety/src/test/java/io/codety/scanner/analyzer/codety/CodetyDefaultFactoryAnalyzerTest.java#L21
[security] [github-access-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/reporter/dto/CodeAnalysisResultSetDto.java#L21
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/analyzer/dto/AnalyzerConfigurationDto.java#L20
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L190
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L270
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L374
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L382
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L410
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L430
[security] [vault-token] Detected potential exposure of sensitive information
scanner-common/src/main/java/io/codety/scanner/service/dto/AnalyzerRequest.java#L438
[security] [vault-token] Detected potential exposure of sensitive information
scanner/src/main/java/io/codety/scanner/source/dto/GitRepoDownloadRequestDto.java#L32
[security] [vault-token] Detected potential exposure of sensitive information
analyzer-eslint/src/test/resources/eslint/code-smell-examples/undef-related-code.js#L5
[Block] [no-restricted-syntax] Rule `no-restricted-syntax` is missing a `contexts` option.
code-issue-examples/javascript/block-spacing.js#L27
[Block] [no-restricted-syntax] Rule `no-restricted-syntax` is missing a `contexts` option.
code-issue-examples/javascript/block-spacing.js#L38
[Block] [no-restricted-syntax] Rule `no-restricted-syntax` is missing a `contexts` option.
code-issue-examples/javascript/block-spacing.js#L53
[Block] [no-restricted-syntax] Rule `no-restricted-syntax` is missing a `contexts` option.
analyzer-eslint/src/test/resources/eslint/code-smell-examples/bad-html.html#L2
[Attribute] [id-naming-convention] The id '1' is not matched with the snake_case.
analyzer-eslint/src/test/resources/eslint/code-smell-examples/bad-html.html#L3
[Attribute] [id-naming-convention] The id '1' is not matched with the snake_case.
code-issue-examples/html/bad-html.html#L2
[Attribute] [id-naming-convention] The id '1' is not matched with the snake_case.
code-issue-examples/html/bad-html.html#L3
[Attribute] [id-naming-convention] The id '1' is not matched with the snake_case.
code-issue-examples/go/module-with-mod/cgo-issue.go#L1
[generic] [typecheck] : found packages mymodule (cgo-issue.go) and hello (hello.go) in
code-issue-examples/go/module-with-mod/mymodule/unused-var.go#L1
[generic] [typecheck] : # hello/mymodule mymodule/unused-var.go:7:10: u1 declared and not used mymodule/unused-var.go:8:10: u2 declared and not used