Slim down CLAUDE.md to project-specific guardrails #1605
Quality Gate failed
Failed conditions
24 Security Hotspots
42.5% Coverage on New Code (required ≥ 80%)
3.4% Duplication on New Code (required ≤ 3%)
E Reliability Rating on New Code (required ≥ A)
E Security Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu94gQRXmaHoUxbAjG&open=AZyu94gQRXmaHoUxbAjG&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 207 to 64, Complexity from 60 to 14, Nesting Level from 5 to 2, Number of Variables from 12 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu99TrRXmaHoUxbB5R&open=AZyu99TrRXmaHoUxbB5R&pullRequest=1605
Check warning on line 291 in core/src/main/java/org/apache/struts2/result/StrutsResultSupport.java
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "doExecute"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu96RhRXmaHoUxbAuw&open=AZyu96RhRXmaHoUxbAuw&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ValueStack"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu97UlRXmaHoUxbA8B&open=AZyu97UlRXmaHoUxbA8B&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu99QPRXmaHoUxbByt&open=AZyu99QPRXmaHoUxbByt&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Reorder the modifiers to comply with the Java Language Specification.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu99YYRXmaHoUxbB6f&open=AZyu99YYRXmaHoUxbB6f&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionInvocation"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu99_XRXmaHoUxbCBc&open=AZyu99_XRXmaHoUxbCBc&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu9-DERXmaHoUxbCCq&open=AZyu9-DERXmaHoUxbCCq&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu988GRXmaHoUxbBlZ&open=AZyu988GRXmaHoUxbBlZ&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Rename this generic name to match the regular expression '^[A-Z][0-9]?$'.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu93v9RXmaHoUxbAWK&open=AZyu93v9RXmaHoUxbAWK&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionProxy"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu97KXRXmaHoUxbA3W&open=AZyu97KXRXmaHoUxbA3W&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu98ufRXmaHoUxbBfC&open=AZyu98ufRXmaHoUxbBfC&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu98rzRXmaHoUxbBcC&open=AZyu98rzRXmaHoUxbBcC&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Add the missing @deprecated Javadoc tag.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu999VRXmaHoUxbCBK&open=AZyu999VRXmaHoUxbCBK&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Reorder the modifiers to comply with the Java Language Specification.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu99YYRXmaHoUxbB57&open=AZyu99YYRXmaHoUxbB57&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Remove this expression which always evaluates to "true"
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu99TrRXmaHoUxbBzm&open=AZyu99TrRXmaHoUxbBzm&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu937URXmaHoUxbAY5&open=AZyu937URXmaHoUxbAY5&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Remove this call to a deprecated class, it has been marked for removal.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu988GRXmaHoUxbBl1&open=AZyu988GRXmaHoUxbBl1&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Make this member "protected".
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu94qURXmaHoUxbAmh&open=AZyu94qURXmaHoUxbAmh&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Remove this deprecated "VALIGN" attribute.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu99IORXmaHoUxbBs_&open=AZyu99IORXmaHoUxbBs_&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "Interceptor"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu9-y7RXmaHoUxbCNK&open=AZyu9-y7RXmaHoUxbCNK&pullRequest=1605
Check warning on line 593 in core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "newInstance"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu95kDRXmaHoUxbAsk&open=AZyu95kDRXmaHoUxbAsk&pullRequest=1605
sonarqubecloud / SonarCloud Code Analysis
Add the "@Override" annotation above this method signature
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu94U1RXmaHoUxbAe9&open=AZyu94U1RXmaHoUxbAe9&pullRequest=1605
Check warning on line 66 in core/src/test/java/com/opensymphony/xwork2/util/MyBeanActionTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this call to a deprecated method, it has been marked for removal.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu97EQRXmaHoUxbA1n&open=AZyu97EQRXmaHoUxbA1n&pullRequest=1605
Check warning on line 482 in core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStack.java
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZyu93znRXmaHoUxbAW8&open=AZyu93znRXmaHoUxbAW8&pullRequest=1605