You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove all target directories from sonar static analysis. Theses contain built/compiled files from source and do not need to be exposed to static analysis. They create duplicate reports of code smells
Static analysis happens on both source code and compiled code. Code smells and security issues are reported twice, once in source code and once in compiled code.
Steps to Reproduce the Actual Behavior
Run static analysis
Look for code smells in target/ directories.
Related Work
No response
The text was updated successfully, but these errors were encountered:
Summary
Remove all
target
directories from sonar static analysis. Theses contain built/compiled files from source and do not need to be exposed to static analysis. They create duplicate reports of code smellsCommit
ddfe66b
Expected Behavior
Static analysis only happens on source code
Actual Behavior
Static analysis happens on both source code and compiled code. Code smells and security issues are reported twice, once in source code and once in compiled code.
Steps to Reproduce the Actual Behavior
Related Work
No response
The text was updated successfully, but these errors were encountered: