Skip to content

RAT-541: create testhelpers.data package#655

Draft
Claudenw wants to merge 24 commits into
masterfrom
RAT-541_create-testhelper_data-package
Draft

RAT-541: create testhelpers.data package#655
Claudenw wants to merge 24 commits into
masterfrom
RAT-541_create-testhelper_data-package

fixed rebasing issues

4b28e99
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 22, 2026 in 1m 24s

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

Check warning on line 916 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 806 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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 329 in apache-rat-core/src/main/java/org/apache/rat/report/claim/ClaimStatistic.java

See this annotation in the file changed.

@sonarqubecloud 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

Check failure on line 333 in apache-rat-core/src/main/java/org/apache/rat/report/claim/ClaimStatistic.java

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

Check failure on line 361 in apache-rat-core/src/main/java/org/apache/rat/config/exclusion/ExclusionProcessor.java

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 24 in apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java

See this annotation in the file changed.

@sonarqubecloud 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

Check failure on line 351 in apache-rat-core/src/main/java/org/apache/rat/report/claim/ClaimStatistic.java

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 950 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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

Check failure on line 368 in apache-rat-core/src/main/java/org/apache/rat/config/exclusion/ExclusionProcessor.java

See this annotation in the file changed.

@sonarqubecloud 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 failure on line 372 in apache-rat-core/src/main/java/org/apache/rat/report/claim/ClaimStatistic.java

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 853 in apache-rat-core/src/test/java/org/apache/rat/test/AbstractConfigurationOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 21 in apache-rat-core/src/test/java/org/apache/rat/testhelpers/BaseOptionCollection.java

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 38 in apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 30 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 69 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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 31 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

Check failure on line 374 in apache-rat-core/src/main/java/org/apache/rat/config/exclusion/ExclusionProcessor.java

See this annotation in the file changed.

@sonarqubecloud 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

Check warning on line 708 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud 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