RAT-541: create testhelpers.data package#655
Quality Gate failed
Failed conditions
55.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
Use isZero() instead.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ7vw-kxM7sgytyXdkP3&open=AZ7vw-kxM7sgytyXdkP3&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
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=AZ6DedboTlzZN0sxhTQV&open=AZ6DedboTlzZN0sxhTQV&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
Check warning on line 151 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
Check warning on line 414 in apache-rat-tasks/src/main/java/org/apache/rat/anttasks/Report.java
sonarqubecloud / SonarCloud Code Analysis
Remove this empty statement.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedvKTlzZN0sxhTRd&open=AZ6DedvKTlzZN0sxhTRd&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=AZ6Dedh4TlzZN0sxhTQe&open=AZ6Dedh4TlzZN0sxhTQe&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.Collections'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedoLTlzZN0sxhTQ-&open=AZ6DedoLTlzZN0sxhTQ-&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=AZ6DedboTlzZN0sxhTQU&open=AZ6DedboTlzZN0sxhTQU&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Use isZero() instead.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRQ&open=AZ6DedpCTlzZN0sxhTRQ&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
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
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
Check warning on line 65 in apache-rat-core/src/test/java/org/apache/rat/commandline/ArgTests.java
sonarqubecloud / SonarCloud Code Analysis
Remove this useless assignment to local variable "commandLine".
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ7vw-lFM7sgytyXdkP7&open=AZ7vw-lFM7sgytyXdkP7&pullRequest=655
Check failure on line 894 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=AZ6DedlzTlzZN0sxhTQo&open=AZ6DedlzTlzZN0sxhTQo&pullRequest=655
Check warning on line 33 in apache-rat-core/src/test/java/org/apache/rat/OptionCollectionTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.apache.commons.cli.CommandLine'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6Dedr9TlzZN0sxhTRW&open=AZ6Dedr9TlzZN0sxhTRW&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.apache.commons.cli.Option'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6Dedn0TlzZN0sxhTQ9&open=AZ6Dedn0TlzZN0sxhTQ9&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.assertj.core.util.Lists'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedoLTlzZN0sxhTQ_&open=AZ6DedoLTlzZN0sxhTQ_&pullRequest=655
Check failure on line 909 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=AZ6DedlzTlzZN0sxhTQn&open=AZ6DedlzTlzZN0sxhTQn&pullRequest=655
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.io.Reader'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ7vw-kxM7sgytyXdkP5&open=AZ7vw-kxM7sgytyXdkP5&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
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.io.Writer'.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ7vw-kxM7sgytyXdkP6&open=AZ7vw-kxM7sgytyXdkP6&pullRequest=655
Check warning on line 88 in apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java
sonarqubecloud / SonarCloud Code Analysis
Replace this use of System.out by a logger.
See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedlzTlzZN0sxhTQt&open=AZ6DedlzTlzZN0sxhTQt&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=AZ6Dedh4TlzZN0sxhTQk&open=AZ6Dedh4TlzZN0sxhTQk&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