PMD Results
The following document contains the results of PMD 7.18.0.
Violations By Priority
Priority 3
org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 49 |
| UselessOverridingMethod | Overriding method merely calls super | 54 |
| UselessOverridingMethod | Overriding method merely calls super | 64 |
| UselessOverridingMethod | Overriding method merely calls super | 69 |
org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 48 |
| UselessOverridingMethod | Overriding method merely calls super | 58 |
| UselessOverridingMethod | Overriding method merely calls super | 70 |
| UselessOverridingMethod | Overriding method merely calls super | 82 |
org/apache/maven/model/merge/ModelMerger.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 154–157 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 177–180 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 188–191 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 199–204 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 211–214 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 222–225 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 232–235 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 243–246 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 253–256 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 264–267 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 545–548 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 559–562 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 578–581 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 589–592 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 600–603 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 611–614 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 649–653 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 660–663 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 670–673 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 680–683 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 732–735 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 743–746 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 754–757 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 765–768 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 783–786 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 794–797 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 805–808 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 829–832 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 840–843 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 851–854 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 862–865 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 873–876 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 884–887 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 895–898 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 906–909 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 929–932 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 940–943 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 958–961 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 969–972 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 995–998 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1006–1009 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1017–1020 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1041–1044 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1100–1103 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1111–1114 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1122–1125 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1133–1136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1150–1153 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1161–1164 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1179–1182 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1190–1193 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1201–1204 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1212–1215 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1232–1235 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1243–1246 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1254–1257 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1265–1268 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1276–1279 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1305–1308 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1328–1331 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1339–1342 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1350–1353 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1361–1364 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1372–1375 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1383–1386 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1429–1432 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1440–1443 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1461–1466 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1474–1479 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1487–1491 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1498–1501 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1508–1511 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1519–1522 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1529–1532 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1547–1550 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1558–1561 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1586–1588 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1596–1598 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1652–1655 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1673–1676 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1684–1687 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1695–1698 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1706–1709 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1717–1720 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1741–1744 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1752–1755 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1763–1766 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1785–1788 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1796–1799 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1807–1810 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1892–1895 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1903–1906 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1914–1917 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1925–1928 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1960–1963 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1996–1999 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2007–2010 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2038–2041 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2049–2052 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2060–2062 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2075–2078 |
Files
org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 3 | 49 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 54 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 64 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 69 |
org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 3 | 48 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 58 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 70 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 82 |
org/apache/maven/model/merge/ModelMerger.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 154–157 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 177–180 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 188–191 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 199–204 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 211–214 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 222–225 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 232–235 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 243–246 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 253–256 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 264–267 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 545–548 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 559–562 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 578–581 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 589–592 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 600–603 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 611–614 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 649–653 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 660–663 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 670–673 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 680–683 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 732–735 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 743–746 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 754–757 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 765–768 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 783–786 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 794–797 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 805–808 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 829–832 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 840–843 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 851–854 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 862–865 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 873–876 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 884–887 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 895–898 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 906–909 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 929–932 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 940–943 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 958–961 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 969–972 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 995–998 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1006–1009 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1017–1020 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1041–1044 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1100–1103 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1111–1114 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1122–1125 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1133–1136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1150–1153 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1161–1164 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1179–1182 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1190–1193 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1201–1204 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1212–1215 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1232–1235 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1243–1246 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1254–1257 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1265–1268 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1276–1279 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1305–1308 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1328–1331 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1339–1342 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1350–1353 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1361–1364 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1372–1375 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1383–1386 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1429–1432 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1440–1443 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1461–1466 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1474–1479 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1487–1491 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1498–1501 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1508–1511 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1519–1522 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1529–1532 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1547–1550 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1558–1561 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1586–1588 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1596–1598 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1652–1655 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1673–1676 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1684–1687 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1695–1698 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1706–1709 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1717–1720 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1741–1744 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1752–1755 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1763–1766 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1785–1788 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1796–1799 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1807–1810 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1892–1895 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1903–1906 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1914–1917 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1925–1928 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1960–1963 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1996–1999 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2007–2010 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2038–2041 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2049–2052 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2060–2062 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2075–2078 |
Suppressed Violations
| Filename | Rule message | Suppression type | Reason |
|---|---|---|---|
| org/apache/maven/model/InputLocation.java | Unnecessary return statement | @suppresswarnings | |
| org/apache/maven/model/InputLocationTracker.java | Unnecessary modifier 'public' on method 'getLocation': the method is declared in an interface type | @suppresswarnings | |
| org/apache/maven/model/InputLocationTracker.java | Unnecessary modifier 'public' on method 'setLocation': the method is declared in an interface type | @suppresswarnings |


