Skip to content

feature: PMD install and run

7264dcd
Select commit
Loading
Failed to load commit list.
Merged

Feature/pmd #48

feature: PMD install and run
7264dcd
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codacy Production / Codacy Static Code Analysis succeeded Apr 2, 2025 in 0s

Your pull request is up to standards!

Codacy found no issues in your code

Annotations

Check warning on line 9 in tools/pmdRunner.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tools/pmdRunner.go#L9

Method RunPmd has 6 parameters (limit is 5)

Check notice on line 9 in tools/pmdRunner.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tools/pmdRunner.go#L9

parameter 'pathsToCheck' seems to be unused, consider removing or renaming it as _

Check failure on line 10 in tools/pmdRunner.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tools/pmdRunner.go#L10

Detected non-static command inside Command.

Check failure on line 10 in tools/pmdRunner.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tools/pmdRunner.go#L10

OS command injection is a critical vulnerability that can lead to a full system compromise as it may allow an adversary to pass in arbitrary commands or arguments to be executed.

Check warning on line 15 in tools/pmdRunner_test.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tools/pmdRunner_test.go#L15

Method TestRunPmdToFile has a cyclomatic complexity of 8 (limit is 7)

Check warning on line 18 in tools/testdata/repositories/pmd/RulesBreaker.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tools/testdata/repositories/pmd/RulesBreaker.java#L18

Avoid unused private fields such as 'x'.