PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 4

org/myjtools/gherkinparser/KeywordType.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'KeywordType': 'values' is already in scope 49

org/myjtools/gherkinparser/internal/GherkinAstBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses around `!separatorToken.matchedText().isEmpty() ? separ...`. 120
UselessParentheses Useless parentheses around `rows != null && !rows.isEmpty() ? rows.getFirst...`. 205
UselessParentheses Useless parentheses around `rows != null && !rows.isEmpty() ? rows.subList(...`. 207

org/myjtools/gherkinparser/internal/RuleType.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RuleType': 'values' is already in scope 40

Files

org/myjtools/gherkinparser/KeywordType.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'KeywordType': 'values' is already in scope 4 49

org/myjtools/gherkinparser/internal/GherkinAstBuilder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `!separatorToken.matchedText().isEmpty() ? separ...`. 4 120
UselessParentheses Useless parentheses around `rows != null && !rows.isEmpty() ? rows.getFirst...`. 4 205
UselessParentheses Useless parentheses around `rows != null && !rows.isEmpty() ? rows.subList(...`. 4 207

org/myjtools/gherkinparser/internal/RuleType.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RuleType': 'values' is already in scope 4 40