RAT-559: fix DocumentName issues in archives/on Windows#674
Quality Gate failed
Failed conditions
77.9% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 712 in apache-rat-core/src/main/java/org/apache/rat/document/DocumentName.java
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
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
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
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
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
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