ci: fix nightly publishing on release/struts-6-8-x #1644
Quality Gate failed
Failed conditions
25 Security Hotspots
43.3% Coverage on New Code (required ≥ 80%)
3.3% 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=AZ0-H0u2TD7gK2G53cns&open=AZ0-H0u2TD7gK2G53cns&pullRequest=1644
Check warning on line 50 in plugins/gxp/src/main/java/org/apache/struts2/views/gxp/AbstractGxp.java
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H3HATD7gK2G53dYc&open=AZ0-H3HATD7gK2G53dYc&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "Interceptor"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HvhGTD7gK2G53bli&open=AZ0-HvhGTD7gK2G53bli&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionInvocation"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H2NeTD7gK2G53dQa&open=AZ0-H2NeTD7gK2G53dQa&pullRequest=1644
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=AZ0-H0lcTD7gK2G53chs&open=AZ0-H0lcTD7gK2G53chs&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-Hvb_TD7gK2G53bjv&open=AZ0-Hvb_TD7gK2G53bjv&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "removeStart"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H2roTD7gK2G53dUN&open=AZ0-H2roTD7gK2G53dUN&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Make validating a static final constant or non-public and provide accessors if needed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0ZiTD7gK2G53cZ0&open=AZ0-H0ZiTD7gK2G53cZ0&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this "Double" constructor
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H1dsTD7gK2G53dGv&open=AZ0-H1dsTD7gK2G53dGv&pullRequest=1644
Check failure on line 697 in core/src/main/java/com/opensymphony/xwork2/ognl/OgnlUtil.java
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HvK2TD7gK2G53bgQ&open=AZ0-HvK2TD7gK2G53bgQ&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Provide the parametrized type for this generic.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HvxDTD7gK2G53bob&open=AZ0-HvxDTD7gK2G53bob&pullRequest=1644
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=AZ0-H08hTD7gK2G53cv0&open=AZ0-H08hTD7gK2G53cv0&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ActionInvocation"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HzShTD7gK2G53cHD&open=AZ0-HzShTD7gK2G53cHD&pullRequest=1644
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=AZ0-Hy6tTD7gK2G53b-A&open=AZ0-Hy6tTD7gK2G53b-A&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Replace the synchronized class "Hashtable" by an unsynchronized one such as "HashMap".
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0lcTD7gK2G53cgn&open=AZ0-H0lcTD7gK2G53cgn&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'javax.servlet.http.HttpServletResponse'.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HyGdTD7gK2G53b6L&open=AZ0-HyGdTD7gK2G53b6L&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Either re-interrupt this method or rethrow the "InterruptedException" that can be caught here.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H3ZITD7gK2G53dbv&open=AZ0-H3ZITD7gK2G53dbv&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Cp1047" 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0UBTD7gK2G53cW0&open=AZ0-H0UBTD7gK2G53cW0&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ValueStack"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H1j5TD7gK2G53dIq&open=AZ0-H1j5TD7gK2G53dIq&pullRequest=1644
Check failure on line 32 in core/src/test/java/com/opensymphony/xwork2/TestBean.java
sonarqubecloud / SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-Hz9wTD7gK2G53cVm&open=AZ0-Hz9wTD7gK2G53cVm&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "ValueStack"; it is deprecated.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HzNbTD7gK2G53cEY&open=AZ0-HzNbTD7gK2G53cEY&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Rename this field "ACTION_RESET" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H2KrTD7gK2G53dPX&open=AZ0-H2KrTD7gK2G53dPX&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Add the missing @Deprecated annotation.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-Hv1UTD7gK2G53bpF&open=AZ0-Hv1UTD7gK2G53bpF&pullRequest=1644
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.HashMap'.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HzsPTD7gK2G53cPE&open=AZ0-HzsPTD7gK2G53cPE&pullRequest=1644
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=AZ0-H0_mTD7gK2G53cx6&open=AZ0-H0_mTD7gK2G53cx6&pullRequest=1644