WW-5618 Add configurable limits to JSON plugin #1625
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Format specifiers should be used instead of string concatenation.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhL&open=AZz74QbEq1HksJe4IPhL&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhM&open=AZz74QbEq1HksJe4IPhM&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhD&open=AZz74QbEq1HksJe4IPhD&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof Date date'
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhG&open=AZz74QbEq1HksJe4IPhG&pullRequest=1625
Check warning on line 345 in plugins/json/src/main/java/org/apache/struts2/json/JSONUtil.java
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=AZz74Qa6q1HksJe4IPhC&open=AZz74Qa6q1HksJe4IPhC&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof Calendar calendar'
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhH&open=AZz74QbEq1HksJe4IPhH&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Format specifiers should be used instead of string concatenation.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhK&open=AZz74QbEq1HksJe4IPhK&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhE&open=AZz74QbEq1HksJe4IPhE&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof Boolean boolean'
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhF&open=AZz74QbEq1HksJe4IPhF&pullRequest=1625
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=AZz74QaOq1HksJe4IPg7&open=AZz74QaOq1HksJe4IPg7&pullRequest=1625
Check failure on line 74 in plugins/json/src/main/java/org/apache/struts2/json/JSONInterceptor.java
sonarqubecloud / SonarCloud Code Analysis
Make non-static "jsonUtil" transient or serializable.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QaFq1HksJe4IPgw&open=AZz74QaFq1HksJe4IPgw&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhJ&open=AZz74QbEq1HksJe4IPhJ&pullRequest=1625
Check warning on line 329 in plugins/json/src/main/java/org/apache/struts2/json/JSONUtil.java
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=AZz74Qa6q1HksJe4IPhA&open=AZz74Qa6q1HksJe4IPhA&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz8V8bEOgK6FF7Sg3p2&open=AZz8V8bEOgK6FF7Sg3p2&pullRequest=1625
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZz74QbEq1HksJe4IPhI&open=AZz74QbEq1HksJe4IPhI&pullRequest=1625