FINRAOS/JTAF-ExtWebDriver

PMD issues for class org.finra.jtaf.ewd.impl.DefaultExtWebDriver

Opened this issue · 0 comments

The following issues were found in org.finra.jtaf.ewd.impl.DefaultExtWebDriver when running PMD:

[INFO] PMD Failure: org\finra\jtaf\ewd\impl\DefaultExtWebDriver.java:17 Rule:GodClass Priority:3 Possible God class (WMC=120, ATFD=52, TCC=0.017186793306196293).
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:63 Rule:LoggerIsNotStaticFinal Priority:2 The Logger variable declaration does not contain the static and final modifiers.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:74 Rule:ShortVariable Priority:3 Avoid variables with short names like wd.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:79 Rule:ShortVariable Priority:3 Avoid variables with short names like cp.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:89 Rule:LongVariable Priority:3 Avoid excessively long variable names like useJavascriptClick.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:99 Rule:AvoidFieldNameMatchingMethodName Priority:3 Field isHighlight has the same name as a method.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:133 Rule:ShortVariable Priority:3 Avoid variables with short names like wd.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:143 Rule:ShortVariable Priority:3 Avoid variables with short names like cp.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:195 Rule:UseLocaleWithCaseConversions Priority:3 When doing a String.toLowerCase()/toUpperCase() call, use a Locale.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:219 Rule:PositionLiteralsFirstInCaseInsensitiveComparisons Priority:3 Position literals first in String comparisons for EqualsIgnoreCase.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:220 Rule:PositionLiteralsFirstInCaseInsensitiveComparisons Priority:3 Position literals first in String comparisons for EqualsIgnoreCase.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:221 Rule:PositionLiteralsFirstInCaseInsensitiveComparisons Priority:3 Position literals first in String comparisons for EqualsIgnoreCase.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:246 Rule:SimplifyBooleanExpressions Priority:3 Avoid unnecessary comparisons in boolean expressions.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:251 Rule:IfElseStmtsMustUseBraces Priority:3 Avoid using if...else statements without curly braces.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:252 Rule:IfStmtsMustUseBraces Priority:3 Avoid using if statements without curly braces.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:274 Rule:LongVariable Priority:3 Avoid excessively long variable names like currentWindowHandles.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:285 Rule:IfElseStmtsMustUseBraces Priority:3 Avoid using if...else statements without curly braces.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:287 Rule:IfElseStmtsMustUseBraces Priority:3 Avoid using if...else statements without curly braces.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:294 Rule:AvoidThrowingNullPointerException Priority:1 Avoid throwing null pointer exceptions..
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:305 Rule:UselessParentheses Priority:4 Useless parentheses..
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:331 Rule:LongVariable Priority:3 Avoid excessively long variable names like windowIdStringArray.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:368 Rule:ShortVariable Priority:3 Avoid variables with short names like i.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:368 Rule:ShortVariable Priority:3 Avoid variables with short names like j.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:381 Rule:ShortVariable Priority:3 Avoid variables with short names like i.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:381 Rule:ShortVariable Priority:3 Avoid variables with short names like j.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:400 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:407 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:419 Rule:AvoidThrowingRawExceptionTypes Priority:1 Avoid throwing raw exception types..
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:441 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:462 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldnt explicitly throw java.lang.Exception.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:466 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:477 Rule:ShortVariable Priority:3 Avoid variables with short names like fn.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:493 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:504 Rule:ShortVariable Priority:3 Avoid variables with short names like fn.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:524 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldnt explicitly throw java.lang.Exception.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:529 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:539 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:558 Rule:ShortVariable Priority:3 Avoid variables with short names like fn.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:576 Rule:IfStmtsMustUseBraces Priority:3 Avoid using if statements without curly braces.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:593 Rule:ShortVariable Priority:3 Avoid variables with short names like fn.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:594 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:604 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:604 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:604 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:609 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:615 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldnt explicitly throw java.lang.Exception.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:639 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldnt explicitly throw java.lang.Exception.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver$FrameNode:692 Rule:AvoidFieldNameMatchingMethodName Priority:3 Field isRoot has the same name as a method.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver$FrameNode:702 Rule:ConstructorCallsOverridableMethod Priority:1 Overridable method 'setRoot' called during object construction.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver$FrameNode:719 Rule:ConstructorCallsOverridableMethod Priority:1 Overridable method 'setRoot' called during object construction.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver$FrameNode:772 Rule:ShortVariable Priority:3 Avoid variables with short names like o.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver$FrameNode:773 Rule:SimplifyBooleanReturns Priority:3 Avoid unnecessary if..then..else statements when returning booleans.
[INFO] PMD Failure: org.finra.jtaf.ewd.impl.DefaultExtWebDriver:874 Rule:ShortVariable Priority:3 Avoid variables with short names like id.