PMD Results

The following document contains the results of PMD 4.3.

Files

fr/paris/lutece/plugins/digglike/business/Digg.java

ViolationLine
A high number of public methods and attributes in an object can indicate the class may need to be broken up for exhaustive testing may prove difficult.34 - 1376
Avoid really long Classes.60 - 1376

fr/paris/lutece/plugins/digglike/business/DiggDAO.java

ViolationLine
Avoid really long methods.356 - 474

fr/paris/lutece/plugins/digglike/business/DiggSubmit.java

ViolationLine
A high number of public methods and attributes in an object can indicate the class may need to be broken up for exhaustive testing may prove difficult.34 - 647

fr/paris/lutece/plugins/digglike/business/DiggSubmitDAO.java

ViolationLine
Avoid really long methods.308 - 453
Avoid really long methods.461 - 629
Avoid really long methods.637 - 783

fr/paris/lutece/plugins/digglike/business/EntryTypeImage.java

ViolationLine
Avoid unused private fields such as 'MESSAGE_IMAGE_TOO_HEAVY'62

fr/paris/lutece/plugins/digglike/business/EntryTypeVideo.java

ViolationLine
Avoid really long methods.89 - 210
Avoid really long methods.239 - 340
The same String literal appears "');" times in this file.299

fr/paris/lutece/plugins/digglike/business/SubmitFilter.java

ViolationLine
A high number of public methods and attributes in an object can indicate the class may need to be broken up for exhaustive testing may prove difficult.34 - 560

fr/paris/lutece/plugins/digglike/business/attribute/DiggAttributeDAO.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.86

fr/paris/lutece/plugins/digglike/business/rss/DiggResourceRss.java

ViolationLine
A high number of imports can indicate a high degree of coupling within an object.34 - 918
The same String literal appears "<div[^>]+>" times in this file.354
The same String literal appears "</div>" times in this file.355
Avoid really long methods.484 - 627
Avoid really long methods.633 - 830

fr/paris/lutece/plugins/digglike/service/DiggSubmitService.java

ViolationLine
A high number of imports can indicate a high degree of coupling within an object.34 - 498
The same String literal appears "digglike.transactionManager" times in this file.76

fr/paris/lutece/plugins/digglike/service/FileManager.java

ViolationLine
Avoid unused private fields such as 'TAG_FILE_RESOURCE'42
Avoid unused private fields such as 'TAG_DOCUMENT_ID'43
Avoid unused private fields such as 'TAG_ATTRIBUTE_ID'44
Avoid unused private fields such as 'TAG_CONTENT_TYPE'45

fr/paris/lutece/plugins/digglike/service/ICommentSubmitService.java

ViolationLine
The same String literal appears "digglike.transactionManager" times in this file.54

fr/paris/lutece/plugins/digglike/service/IDiggSubmitService.java

ViolationLine
The same String literal appears "digglike.transactionManager" times in this file.59

fr/paris/lutece/plugins/digglike/service/digglikesearch/DigglikeSearchItem.java

ViolationLine
Avoid calls to overridable methods during construction59
Avoid calls to overridable methods during construction60

fr/paris/lutece/plugins/digglike/service/digglikesearch/DigglikeSearchService.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.86

fr/paris/lutece/plugins/digglike/service/search/DigglikeIndexer.java

ViolationLine
A high number of imports can indicate a high degree of coupling within an object.34 - 355

fr/paris/lutece/plugins/digglike/service/subscription/DiggSubscribersNotificationDaemon.java

ViolationLine
A high number of imports can indicate a high degree of coupling within an object.34 - 478
Avoid really long methods.90 - 224
Assigning an Object to null is a code smell. Consider refactoring.149

fr/paris/lutece/plugins/digglike/utils/DiggUtils.java

ViolationLine
A high number of public methods and attributes in an object can indicate the class may need to be broken up for exhaustive testing may prove difficult.34 - 1639
A high number of imports can indicate a high degree of coupling within an object.34 - 1639
Avoid really long Classes.103 - 1639
The same String literal appears "src='image?" times in this file.201
Avoid using implementation types like 'ArrayList'; use the interface instead1480

fr/paris/lutece/plugins/digglike/utils/ProcessBBCode.java

ViolationLine
Avoid reassigning parameters such as 'texto'118
Avoid reassigning parameters such as 'texto'118
Avoid reassigning parameters such as 'string'137
Avoid reassigning parameters such as 'content'233
Avoid reassigning parameters such as 'content'233
Avoid reassigning parameters such as 'content'233
Avoid reassigning parameters such as 'content'233
Avoid reassigning parameters such as 'content'252
Avoid really long methods.302 - 449
Avoid calls to overridable methods during construction479

fr/paris/lutece/plugins/digglike/web/CategoryJspBean.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.351
Assigning an Object to null is a code smell. Consider refactoring.354

fr/paris/lutece/plugins/digglike/web/DefaultMessageJspBean.java

ViolationLine
Avoid really long methods.171 - 278

fr/paris/lutece/plugins/digglike/web/DiggApp.java

ViolationLine
A high number of imports can indicate a high degree of coupling within an object.34 - 1993
Avoid really long Classes.107 - 1993
Assigning an Object to null is a code smell. Consider refactoring.1305
Assigning an Object to null is a code smell. Consider refactoring.1349
Assigning an Object to null is a code smell. Consider refactoring.1365
Avoid unused formal parameters such as 'method'1392 - 1461
Avoid unused formal parameters such as 'method'1516 - 1535
Avoid unused formal parameters such as 'method'1516 - 1535
Avoid unused formal parameters such as 'method'1590 - 1602
Avoid unused formal parameters such as 'method'1625 - 1700

fr/paris/lutece/plugins/digglike/web/DiggJspBean.java

ViolationLine
A high number of public methods and attributes in an object can indicate the class may need to be broken up for exhaustive testing may prove difficult.34 - 3574
A high number of imports can indicate a high degree of coupling within an object.34 - 3574
Avoid really long Classes.139 - 3574
Avoid unused private fields such as 'FIELD_NOTIFICATION_NEW_COMMENT_SENDER_NAME'193
Avoid unused private fields such as 'FIELD_NOTIFICATION_NEW_DIGG_DUBMIT_SENDER_NAME'196
Avoid really long methods.597 - 752
Avoid really long methods.973 - 1083
Avoid really long methods.1617 - 1935
Avoid really long methods.2044 - 2166
Avoid unused formal parameters such as 'method'3047 - 3058
Avoid unused formal parameters such as 'method'3069 - 3080
Avoid really long methods.3256 - 3420
Assigning an Object to null is a code smell. Consider refactoring.3295
Assigning an Object to null is a code smell. Consider refactoring.3307
Assigning an Object to null is a code smell. Consider refactoring.3364
Assigning an Object to null is a code smell. Consider refactoring.3365

fr/paris/lutece/plugins/digglike/web/ExportFormatJspBean.java

ViolationLine
A high number of imports can indicate a high degree of coupling within an object.34 - 529

fr/paris/lutece/plugins/digglike/web/action/ExportDiggSubmitAction.java

ViolationLine
A high number of imports can indicate a high degree of coupling within an object.34 - 261
Avoid really long methods.145 - 251