Skip to content

fix incorrect rule conversion, use cloud impl

4c9cfaa
Select commit
Loading
Failed to load commit list.
Merged

[PLUTO-1374] Pmd config #51

fix incorrect rule conversion, use cloud impl
4c9cfaa
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Apr 3, 2025 in 0s

Your pull request is up to standards!

Codacy found no issues in your code

Annotations

Check notice on line 212 in cmd/init.go

See this annotation in the file changed.

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

cmd/init.go#L212

var pmdApiConfiguration should be pmdAPIConfiguration

Check warning on line 299 in cmd/init.go

See this annotation in the file changed.

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

cmd/init.go#L299

The application was found setting file permissions to overly permissive values.

Check warning on line 305 in cmd/init.go

See this annotation in the file changed.

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

cmd/init.go#L305

The application was found setting file permissions to overly permissive values.

Check warning on line 393 in cmd/init.go

See this annotation in the file changed.

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

cmd/init.go#L393

The application was found setting file permissions to overly permissive values.

Check warning on line 174 in tools/pmdConfigCreator.go

See this annotation in the file changed.

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

tools/pmdConfigCreator.go#L174

Method CreatePmdConfig has a cyclomatic complexity of 9 (limit is 7)

Check warning on line 142 in tools/pmdConfigCreator_test.go

See this annotation in the file changed.

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

tools/pmdConfigCreator_test.go#L142

Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege.

Check warning on line 142 in tools/pmdConfigCreator_test.go

See this annotation in the file changed.

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

tools/pmdConfigCreator_test.go#L142

The application was found setting directory permissions to overly permissive values.

Check warning on line 155 in tools/pmdConfigCreator_test.go

See this annotation in the file changed.

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

tools/pmdConfigCreator_test.go#L155

The application was found setting file permissions to overly permissive values.

Check failure on line 37 in tools/pmdRunner.go

See this annotation in the file changed.

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

tools/pmdRunner.go#L37

Detected non-static command inside Command.

Check failure on line 37 in tools/pmdRunner.go

See this annotation in the file changed.

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

tools/pmdRunner.go#L37

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.