Skip to content

RAT-559: fix DocumentName issues in archives/on Windows#674

Draft
Claudenw wants to merge 2 commits into
masterfrom
fix-DocumentName-issues
Draft

RAT-559: fix DocumentName issues in archives/on Windows#674
Claudenw wants to merge 2 commits into
masterfrom
fix-DocumentName-issues

added windows debug

e32f640
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 9, 2026 in 33s

Quality Gate failed

Annotations

Check warning on line 712 in apache-rat-core/src/main/java/org/apache/rat/document/DocumentName.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "root" which hides the field declared at line 603.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6sqB4WP-1uzkgYuJWB&open=AZ6sqB4WP-1uzkgYuJWB&pullRequest=674

Check warning on line 124 in apache-rat-core/src/test/java/org/apache/rat/document/DocumentNameBuilderTest.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ6sqB7mP-1uzkgYuJWF&open=AZ6sqB7mP-1uzkgYuJWF&pullRequest=674

Check failure on line 816 in apache-rat-core/src/main/java/org/apache/rat/document/DocumentName.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6sqB4WP-1uzkgYuJWD&open=AZ6sqB4WP-1uzkgYuJWD&pullRequest=674

Check warning on line 114 in apache-rat-core/src/test/java/org/apache/rat/document/DocumentNameBuilderTest.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ6sqB7mP-1uzkgYuJWE&open=AZ6sqB7mP-1uzkgYuJWE&pullRequest=674

Check warning on line 716 in apache-rat-core/src/main/java/org/apache/rat/document/DocumentName.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ6sqB4WP-1uzkgYuJWC&open=AZ6sqB4WP-1uzkgYuJWC&pullRequest=674

Check warning on line 174 in apache-rat-core/src/main/java/org/apache/rat/document/DocumentName.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "root" which hides the field declared at line 69.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6sqB4WP-1uzkgYuJWA&open=AZ6sqB4WP-1uzkgYuJWA&pullRequest=674