FINRAOS / JTAF-ExtWebDriver

Extensions for WebDriver is an enhancement to the powerful WebDriver API, with robust features that keep your browser automation running smoothly. It includes a widget library, improved session management and extended functions over the existing WebDriver API.
http://finraos.github.io/JTAF-ExtWebDriver
Apache License 2.0
26 stars 49 forks source link

PMD issues for class org.finra.jtaf.ewd.widget.element.html.Table #131

Open mmlinford opened 8 years ago

mmlinford commented 8 years ago

The following issues were found in org.finra.jtaf.ewd.widget.element.html.Table when running PMD:

[INFO] PMD Failure: org\finra\jtaf\ewd\widget\element\html\Table.java:17 Rule:GodClass Priority:3 Possible God class (WMC=74, ATFD=44, TCC=0.0). [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:120 Rule:ShortVariable Priority:3 Avoid variables with short names like n. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:124 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:126 Rule:UseLocaleWithCaseConversions Priority:3 When doing a String.toLowerCase()/toUpperCase() call, use a Locale. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:137 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:155 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:175 Rule:ShortVariable Priority:3 Avoid variables with short names like n. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:183 Rule:UseLocaleWithCaseConversions Priority:3 When doing a String.toLowerCase()/toUpperCase() call, use a Locale. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:194 Rule:ShortVariable Priority:3 Avoid variables with short names like cn. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:200 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:202 Rule:UseLocaleWithCaseConversions Priority:3 When doing a String.toLowerCase()/toUpperCase() call, use a Locale. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:203 Rule:AvoidDeeplyNestedIfStmts Priority:3 Deeply nested if..then statements are hard to read. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:217 Rule:UseCollectionIsEmpty Priority:3 Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty(). [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:225 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:253 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:267 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:299 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:335 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:350 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:362 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldnt explicitly throw java.lang.Exception. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:391 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldnt explicitly throw java.lang.Exception. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:403 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldnt explicitly throw java.lang.Exception. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:403 Rule:ShortVariable Priority:3 Avoid variables with short names like n. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:408 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:416 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:418 Rule:UseLocaleWithCaseConversions Priority:3 When doing a String.toLowerCase()/toUpperCase() call, use a Locale. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:449 Rule:AvoidReassigningParameters Priority:2 Avoid reassigning parameters such as 'locator'. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:451 Rule:ShortVariable Priority:3 Avoid variables with short names like e. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:459 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:459 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:459 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:464 Rule:ShortVariable Priority:3 Avoid variables with short names like e. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:465 Rule:IfStmtsMustUseBraces Priority:3 Avoid using if statements without curly braces. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:467 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:467 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:467 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:472 Rule:ShortVariable Priority:3 Avoid variables with short names like e. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:473 Rule:IfStmtsMustUseBraces Priority:3 Avoid using if statements without curly braces. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:475 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:475 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:475 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:480 Rule:ShortVariable Priority:3 Avoid variables with short names like e. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:481 Rule:IfStmtsMustUseBraces Priority:3 Avoid using if statements without curly braces. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:484 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:484 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:484 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:489 Rule:ShortVariable Priority:3 Avoid variables with short names like e. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:490 Rule:IfStmtsMustUseBraces Priority:3 Avoid using if statements without curly braces. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:492 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:492 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Table:492 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks.