Skip to content

WW-5326 fix(rat): adjust exclude patterns for RAT and adds missing he…

b039dc5
Select commit
Loading
Failed to load commit list.
Draft

WW-5326 Upgrade OGNL from 3.4.10 to 3.5.0-BETA4 and introduce StrutsContext #1654

WW-5326 fix(rat): adjust exclude patterns for RAT and adds missing he…
b039dc5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 7, 2026 in 1m 23s

Annotations

Check warning on line 123 in core/src/main/java/org/apache/struts2/ognl/accessor/XWorkMethodAccessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePZC6XBGhgATtBlK&open=AZ1mePZC6XBGhgATtBlK&pullRequest=1654

Check warning on line 395 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlX&open=AZ1mePcE6XBGhgATtBlX&pullRequest=1654

Check warning on line 396 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlY&open=AZ1mePcE6XBGhgATtBlY&pullRequest=1654

Check warning on line 65 in core/src/main/java/org/apache/struts2/ognl/OgnlValueStackFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePa16XBGhgATtBlP&open=AZ1mePa16XBGhgATtBlP&pullRequest=1654

Check warning on line 398 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlZ&open=AZ1mePcE6XBGhgATtBlZ&pullRequest=1654

Check warning on line 31 in plugins/spring/src/test/java/org/apache/struts2/ognl/SecurityMemberAccessProxyTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary import: same package classes are always implicitly imported.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePce6XBGhgATtBla&open=AZ1mePce6XBGhgATtBla&pullRequest=1654

Check warning on line 52 in core/src/main/java/org/apache/struts2/ognl/accessor/XWorkCollectionPropertyAccessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePam6XBGhgATtBlN&open=AZ1mePam6XBGhgATtBlN&pullRequest=1654

Check warning on line 384 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlV&open=AZ1mePcE6XBGhgATtBlV&pullRequest=1654

Check warning on line 70 in core/src/test/java/org/apache/struts2/ognl/StrutsContextTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).containsEntry(key, value) instead.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1meOSn6XBGhgATtBlH&open=AZ1meOSn6XBGhgATtBlH&pullRequest=1654

Check warning on line 39 in core/src/test/java/org/apache/struts2/ognl/SetPropertiesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'ognl.Ognl'.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePYY6XBGhgATtBlI&open=AZ1mePYY6XBGhgATtBlI&pullRequest=1654

Check warning on line 52 in core/src/main/java/org/apache/struts2/ognl/accessor/XWorkCollectionPropertyAccessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePam6XBGhgATtBlO&open=AZ1mePam6XBGhgATtBlO&pullRequest=1654

Check warning on line 374 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlT&open=AZ1mePcE6XBGhgATtBlT&pullRequest=1654

Check warning on line 371 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlR&open=AZ1mePcE6XBGhgATtBlR&pullRequest=1654

Check failure on line 147 in core/src/main/java/org/apache/struts2/ognl/SecurityMemberAccess.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePbS6XBGhgATtBlQ&open=AZ1mePbS6XBGhgATtBlQ&pullRequest=1654

Check warning on line 68 in core/src/main/java/org/apache/struts2/ognl/accessor/XWorkMethodAccessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePZC6XBGhgATtBlJ&open=AZ1mePZC6XBGhgATtBlJ&pullRequest=1654

Check warning on line 185 in core/src/main/java/org/apache/struts2/ognl/accessor/CompoundRootAccessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 66 to 64, Complexity from 22 to 14, Nesting Level from 4 to 2, Number of Variables from 22 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePaO6XBGhgATtBlM&open=AZ1mePaO6XBGhgATtBlM&pullRequest=1654

Check warning on line 372 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlS&open=AZ1mePcE6XBGhgATtBlS&pullRequest=1654

Check failure on line 47 in core/src/main/java/org/apache/struts2/ognl/accessor/XWorkMethodAccessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePZC6XBGhgATtBlL&open=AZ1mePZC6XBGhgATtBlL&pullRequest=1654

Check warning on line 386 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlW&open=AZ1mePcE6XBGhgATtBlW&pullRequest=1654

Check warning on line 383 in core/src/main/java/org/apache/struts2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ1mePcE6XBGhgATtBlU&open=AZ1mePcE6XBGhgATtBlU&pullRequest=1654