diff --git a/a.txt b/a.txt deleted file mode 100644 index 1541e57..0000000 --- a/a.txt +++ /dev/null @@ -1,18 +0,0 @@ - Volume in drive E is NEW E DRIVE - Volume Serial Number is F4C9-EFCB - - Directory of E:\github\addressbook - -08-12-2016 17:04 . -08-12-2016 17:04 .. -08-12-2016 17:04 0 a.txt -13-10-2016 10:28 116,902 addressbook_screenshot.png -14-11-2016 20:03 4,552 build.properties -14-11-2016 19:46 23,891 build.xml -14-11-2016 20:24 lib -14-11-2016 20:04 20,948 pom.xml -13-10-2016 10:28 3,351 README.md -14-11-2016 20:24 reports -13-10-2016 13:43 src - 6 File(s) 169,644 bytes - 5 Dir(s) 95,101,595,648 bytes free diff --git a/reports/pmd_report_addressbook.html b/reports/pmd_report_addressbook.html deleted file mode 100644 index d40fb6d..0000000 --- a/reports/pmd_report_addressbook.html +++ /dev/null @@ -1,1972 +0,0 @@ - - - - -PMD 5.2.3 Report: Demo Utilities - - - - - - - - -
- -

PMD 5.2.3 Report: Demo Utilities. Generated on 2016-11-14 - 20:24:41

-
-
-

Summary

- - - - - - - - - - - - - - - - - - - -
FilesTotal -
Priority 1: ShowStopper
-
-
Priority 2:Critical
-
-
Priority 3:Important/Urgent
-
-
Priority 4:Low - Change recommended
-
-
Priority 5:Low - Change Optional
-
101200125112
-
-

Rules

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RuleViolationsSeverity
- [Comments] CommentRequired56 -
5
-
- [Comments] CommentSize49 -
5
-
- [Design] UseUtilityClass5 -
4
-
- [Unnecessary] UselessParentheses4 -
5
-
- [Empty Code] EmptyFinallyBlock2 -
5
-
- [Design] PreserveStackTrace1 -
2
-
- [Code Size] NPathComplexity1 -
3
-
- [Empty Code] EmptyCatchBlock1 -
5
-
- [Design] SimpleDateFormatNeedsLocale1 -
3
-
-
-

Files

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
File -
5
-
-
4
-
-
3
-
-
2
-
-
1
-
-com\edurekademo\utilities\GenericComparator.java -370000
-com\edurekademo\tutorial\addressbook\backend\Contact.java -210010
-com\edurekademo\utilities\StringUtilities.java -141100
-com\edurekademo\utilities\CaseInsensitiveComparator.java -130000
-com\edurekademo\utilities\PropertyLoader.java -91100
-com\edurekademo\utilities\PropertyHelper.java -91000
-com\edurekademo\utilities\LoggerStackTraceUtil.java -40000
-com\edurekademo\helper\GenericResourceBundle.java -21000
-com\edurekademo\utilities\HexAsciiConvertor.java -11000
-com\edurekademo\utilities\PrepareTargetMethod.java -20000
-
-
-

File com\edurekademo\helper\GenericResourceBundle.java

- - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
4
-
- [Design.UseUtilityClass] - - - -All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. - -6 - 22
-
5
-
- [Comments.CommentRequired] - - - -headerCommentRequirement Required - -6 - 22
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -7 - 20
-
Back to top - -

File com\edurekademo\tutorial\addressbook\backend\Contact.java

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -12 - 12
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -18 - 18
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -20 - 20
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -21 - 21
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -22 - 22
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -23 - 23
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -24 - 24
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -26 - 28
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -30 - 32
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -34 - 36
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -38 - 40
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -42 - 44
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -46 - 48
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -50 - 52
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -54 - 56
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -58 - 60
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -62 - 64
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -66 - 68
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -70 - 72
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -75 - 81
-
2
-
- [Design.PreserveStackTrace] - - - -New exception is thrown in catch block, original stack trace may be lost - -79 - 79
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -84 - 88
-
Back to top - -

File com\edurekademo\utilities\CaseInsensitiveComparator.java

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentRequired] - - - -headerCommentRequirement Required - -9 - 99
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -11 - 11
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -12 - 12
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -15 - 15
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -19 - 23
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -25 - 25
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -27 - 31
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -33 - 33
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -37 - 41
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -45 - 45
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -47 - 72
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -75 - 75
-
5
-
- [Comments.CommentRequired] - - - -protectedMethodCommentRequirement Required - -77 - 97
-
Back to top - -

File com\edurekademo\utilities\GenericComparator.java

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -8 - 17
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -15 - 15
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -21 - 21
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -22 - 22
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -23 - 23
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -24 - 24
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -25 - 25
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -26 - 26
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -27 - 27
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -28 - 28
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -29 - 29
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -30 - 30
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -31 - 31
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -32 - 32
-
5
-
- [Comments.CommentRequired] - - - -enumCommentRequirement Required - -34 - 34
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -36 - 36
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -37 - 37
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -39 - 49
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -48 - 48
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -57 - 75
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -58 - 58
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -67 - 67
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -68 - 68
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -74 - 74
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -82 - 100
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -83 - 83
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -92 - 92
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -93 - 93
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -98 - 98
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -99 - 99
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -134 - 134
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -146 - 146
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -148 - 148
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -150 - 150
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -224 - 232
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -237 - 245
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -254 - 254
-
Back to top - -

File com\edurekademo\utilities\HexAsciiConvertor.java

- - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
4
-
- [Design.UseUtilityClass] - - - -All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. - -3 - 59
-
5
-
- [Comments.CommentRequired] - - - -headerCommentRequirement Required - -3 - 59
-
Back to top - -

File com\edurekademo\utilities\LoggerStackTraceUtil.java

- - - - - - - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentRequired] - - - -headerCommentRequirement Required - -7 - 59
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -9 - 9
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -10 - 10
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -34 - 57
-
Back to top - -

File com\edurekademo\utilities\PrepareTargetMethod.java

- - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentRequired] - - - -headerCommentRequirement Required - -3 - 17
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -5 - 5
-
Back to top - -

File com\edurekademo\utilities\PropertyHelper.java

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -8 - 18
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -9 - 9
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -11 - 11
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -12 - 12
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -14 - 14
-
4
-
- [Design.UseUtilityClass] - - - -All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. - -20 - 96
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -23 - 23
-
5
-
- [Empty Code.EmptyFinallyBlock] - - - -Avoid empty finally blocks - -57 - 58
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -65 - 65
-
5
-
- [Empty Code.EmptyFinallyBlock] - - - -Avoid empty finally blocks - -82 - 83
-
Back to top - -

File com\edurekademo\utilities\PropertyLoader.java

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Too many lines - -11 - 27
-
4
-
- [Design.UseUtilityClass] - - - -All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. - -30 - 107
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -32 - 32
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -33 - 33
-
5
-
- [Comments.CommentRequired] - - - -fieldCommentRequirement Required - -34 - 34
-
3
-
- [Code Size.NPathComplexity] - - - -The method loadProperties() has an NPath complexity of 576. Recommended to have it less than 150 - -51 - 105
-
5
-
- [Comments.CommentRequired] - - - -publicMethodCommentRequirement Required - -51 - 105
-
5
-
- [Empty Code.EmptyCatchBlock] - - - -Avoid empty catch blocks - -96 - 96
-
5
-
- [Unnecessary.UselessParentheses] - - - -Useless parentheses. - -98 - 98
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -100 - 100
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -101 - 101
-
Back to top - -

File com\edurekademo\utilities\StringUtilities.java

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ViolationError DescriptionLine
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -17 - 17
-
4
-
- [Design.UseUtilityClass] - - - -All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. - -23 - 194
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -36 - 36
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -40 - 40
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -45 - 45
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -82 - 82
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -99 - 99
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -100 - 100
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -101 - 101
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -102 - 102
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -130 - 130
-
5
-
- [Unnecessary.UselessParentheses] - - - -Useless parentheses. - -136 - 136
-
5
-
- [Comments.CommentSize] - - - -Comment is too large: Line too long - -182 - 182
-
5
-
- [Unnecessary.UselessParentheses] - - - -Useless parentheses. - -183 - 183
-
5
-
- [Unnecessary.UselessParentheses] - - - -Useless parentheses. - -184 - 184
-
3
-
- [Design.SimpleDateFormatNeedsLocale] - - - -When instantiating a SimpleDateFormat object, specify a Locale - -185 - 185
-
Back to top -
- -