Résultats PMD
Le document suivant contient les résultats de PMD 5.3.5.
Fichiers
fr/paris/lutece/plugins/updatercatalog/business/CatalogPlugin.java
Violation |
Ligne |
Avoid variables with short names like o |
144 |
fr/paris/lutece/plugins/updatercatalog/business/CatalogPluginEntry.java
Violation |
Ligne |
Private field '_listUpgrades' could be made final; it is only initialized in the declaration or constructor. |
56 |
Use explicit scoping instead of the default package private level |
251–254 |
fr/paris/lutece/plugins/updatercatalog/business/PluginRelease.java
Violation |
Ligne |
Private field '_listUpgrades' could be made final; it is only initialized in the declaration or constructor. |
52 |
Use explicit scoping instead of the default package private level |
166–169 |
Avoid variables with short names like o |
185 |
fr/paris/lutece/plugins/updatercatalog/web/CatalogJspBean.java
Violation |
Ligne |
Possible God class (WMC=55, ATFD=104, TCC=0.1925133689839572) |
34–803 |
The class 'CatalogJspBean' has a Cyclomatic Complexity of 2 (Highest = 11). |
64–803 |
The method 'getData' has a Cyclomatic Complexity of 11. |
329–352 |
Prefer StringBuffer over += for concatenating strings |
413 |
Prefer StringBuffer over += for concatenating strings |
413 |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
497 |
The method 'getPluginData' has a Cyclomatic Complexity of 11. |
644–666 |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
725 |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
752 |