RAT-541: create testhelpers.data package #655
Quality Gate failed
Failed conditions
46.2% Coverage on New Code (required ≥ 80%)
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
Define a constant instead of duplicating this literal "pattern" 4 times.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6Dedh5TlzZN0sxhTQl&open=AZ6Dedh5TlzZN0sxhTQl&pullRequest=655
Check failure on line 939 in apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java
sonarqubecloud / SonarCloud Code Analysis
Disable access to external entities in XML parsing.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedlzTlzZN0sxhTQr&open=AZ6DedlzTlzZN0sxhTQr&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use isZero() instead.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRN&open=AZ6DedpCTlzZN0sxhTRN&pullRequest=655
Check failure on line 913 in apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "IXmlWriter" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedlzTlzZN0sxhTQq&open=AZ6DedlzTlzZN0sxhTQq&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "IXmlWriter" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedboTlzZN0sxhTQR&open=AZ6DedboTlzZN0sxhTQR&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Disable access to external entities in XML parsing.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedboTlzZN0sxhTQW&open=AZ6DedboTlzZN0sxhTQW&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "IXmlWriter" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedboTlzZN0sxhTQT&open=AZ6DedboTlzZN0sxhTQT&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Rename this field "NO_OPTIONS" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DednrTlzZN0sxhTQ3&open=AZ6DednrTlzZN0sxhTQ3&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "validator" local variable.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRB&open=AZ6DedpCTlzZN0sxhTRB&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6YfY6zWY_hOOBLvJtn&open=AZ6YfY6zWY_hOOBLvJtn&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Add the "@Override" annotation above this method signature
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6Dedn0TlzZN0sxhTQ8&open=AZ6Dedn0TlzZN0sxhTQ8&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this useless assignment to local variable "result".
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedjsTlzZN0sxhTQm&open=AZ6DedjsTlzZN0sxhTQm&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "IXmlWriter" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6Dedh4TlzZN0sxhTQi&open=AZ6Dedh4TlzZN0sxhTQi&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "IXmlWriter" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6Dedh4TlzZN0sxhTQh&open=AZ6Dedh4TlzZN0sxhTQh&pullRequest=655
Check warning on line 706 in apache-rat-core/src/main/java/org/apache/rat/document/DocumentName.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_creadur-rat&issues=AZ6YfYwvWY_hOOBLvJtk&open=AZ6YfYwvWY_hOOBLvJtk&pullRequest=655
Check warning on line 149 in apache-rat-core/src/test/java/org/apache/rat/ReporterTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this useless assignment to local variable "optionCollection".
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedsvTlzZN0sxhTRZ&open=AZ6DedsvTlzZN0sxhTRZ&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this useless assignment to local variable "validator".
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRA&open=AZ6DedpCTlzZN0sxhTRA&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "IXmlWriter" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedboTlzZN0sxhTQS&open=AZ6DedboTlzZN0sxhTQS&pullRequest=655
Check warning on line 280 in apache-rat-core/src/main/java/org/apache/rat/Reporter.java
sonarqubecloud / SonarCloud Code Analysis
Rename "statistic" which hides the field declared at line 240.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedhBTlzZN0sxhTQd&open=AZ6DedhBTlzZN0sxhTQd&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.xml.sax.SAXException'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRU&open=AZ6DedpCTlzZN0sxhTRU&pullRequest=655
Check warning on line 1023 in apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java
sonarqubecloud / SonarCloud Code Analysis
Replace the type specification in this constructor call with the diamond operator ("<>").
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedlzTlzZN0sxhTQs&open=AZ6DedlzTlzZN0sxhTQs&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use isZero() instead.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRK&open=AZ6DedpCTlzZN0sxhTRK&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Add an assertion predicate after calling this method.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DednGTlzZN0sxhTQ0&open=AZ6DednGTlzZN0sxhTQ0&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6YfY6zWY_hOOBLvJto&open=AZ6YfY6zWY_hOOBLvJto&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use isZero() instead.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRG&open=AZ6DedpCTlzZN0sxhTRG&pullRequest=655