WW-2963 fix(core): resolve default-action-ref via wildcard matching #1623
Quality Gate failed
Failed conditions
24 Security Hotspots
42.6% Coverage on New Code (required ≥ 80%)
3.4% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
E Reliability 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
Remove this use of "defaultIfNull"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEmVH9JS2QyFtgoC1&open=AZzhEmVH9JS2QyFtgoC1&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEr9m9JS2QyFtgo0t&open=AZzhEr9m9JS2QyFtgo0t&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Catch Exception instead of Throwable.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEtFt9JS2QyFtgpZ8&open=AZzhEtFt9JS2QyFtgpZ8&pullRequest=1623
Check warning on line 230 in core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionInvocation"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEnZJ9JS2QyFtgoOe&open=AZzhEnZJ9JS2QyFtgoOe&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Add the "@Override" annotation above this method signature
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEtEC9JS2QyFtgpXh&open=AZzhEtEC9JS2QyFtgpXh&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Add the "@Override" annotation above this method signature
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEtCu9JS2QyFtgpXZ&open=AZzhEtCu9JS2QyFtgpXZ&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionProxy"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEqIp9JS2QyFtgoYp&open=AZzhEqIp9JS2QyFtgoYp&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Remove this "Double" constructor
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEmp49JS2QyFtgoIB&open=AZzhEmp49JS2QyFtgoIB&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEsBI9JS2QyFtgo2R&open=AZzhEsBI9JS2QyFtgo2R&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Extract the assignment out of this expression.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEtA29JS2QyFtgpV_&open=AZzhEtA29JS2QyFtgpV_&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionChainResult"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEp3-9JS2QyFtgoVY&open=AZzhEp3-9JS2QyFtgoVY&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "testDefaultClassName" local variable.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEp989JS2QyFtgoWV&open=AZzhEp989JS2QyFtgoWV&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEliQ9JS2QyFtgn6V&open=AZzhEliQ9JS2QyFtgn6V&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEsK99JS2QyFtgo9c&open=AZzhEsK99JS2QyFtgo9c&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEnMl9JS2QyFtgoNs&open=AZzhEnMl9JS2QyFtgoNs&pullRequest=1623
Check warning on line 30 in core/src/main/java/com/opensymphony/xwork2/util/OgnlTextParser.java
sonarqubecloud / SonarCloud Code Analysis
This block of commented-out lines of code should be removed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEmmZ9JS2QyFtgoHi&open=AZzhEmmZ9JS2QyFtgoHi&pullRequest=1623
Check warning on line 1633 in core/src/test/java/com/opensymphony/xwork2/ognl/OgnlUtilTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "buildOgnlCache"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhErBr9JS2QyFtgopN&open=AZzhErBr9JS2QyFtgopN&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionContext"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEqvI9JS2QyFtgoir&open=AZzhEqvI9JS2QyFtgoir&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Make OPTION_MAXSIZE a static final constant or non-public and provide accessors if needed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEsia9JS2QyFtgpIe&open=AZzhEsia9JS2QyFtgpIe&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEmvI9JS2QyFtgoJw&open=AZzhEmvI9JS2QyFtgoJw&pullRequest=1623
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=AZzhEskZ9JS2QyFtgpKb&open=AZzhEskZ9JS2QyFtgpKb&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Declare "beginV" and all following declarations on a separate line.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEsZg9JS2QyFtgpF8&open=AZzhEsZg9JS2QyFtgpF8&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Refactor the code in order to not assign to this loop counter from within the loop body.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEtIH9JS2QyFtgpdi&open=AZzhEtIH9JS2QyFtgpdi&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Make RENDER_DIRECT_LOCATION a static final constant or non-public and provide accessors if needed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhEt-79JS2QyFtgpnX&open=AZzhEt-79JS2QyFtgpnX&pullRequest=1623
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzhErGg9JS2QyFtgoqi&open=AZzhErGg9JS2QyFtgoqi&pullRequest=1623