Review

Misuse Details

Details about the known misuse from the MUBench dataset.

Potential Hits

Findings of the detector that identify an anomaly in the same file and method as the known misuse.

Hit Rank Confidence Confidence String Pattern Examples Pattern Support Pattern Violation Target Environment Mapping
?

270

0.009417232312113983

(pattern support = 22 / 27)(pattern violations = 1 / 79)(overlap = 21.00 / 23.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/FunctionArgumentInjector.java#findModifiedParameters(Node)
  • closure/319/build/src//com/google/javascript/jscomp/parsing/IRFactory.java#processArrayLiteral(ArrayLiteral)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#getRhsSubexpressions(Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#extractMessageFromVariable(JsMessage$Builder, Node, Node, Node)

22

?

339

0.00876699484294421

(pattern support = 22 / 27)(pattern violations = 1 / 79)(overlap = 17.00 / 20.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/FunctionArgumentInjector.java#findModifiedParameters(Node)
  • closure/319/build/src//com/google/javascript/jscomp/parsing/IRFactory.java#processArrayLiteral(ArrayLiteral)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#getRhsSubexpressions(Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#extractMessageFromVariable(JsMessage$Builder, Node, Node, Node)

22

?

1792

0.003454947484798231

(pattern support = 10 / 27)(pattern violations = 1 / 67)(overlap = 5.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#tryFoldLeftChildOp(Node, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#performArithmeticOp(int, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#tryFoldArithmeticOp(Node, Node, Node)

10

?

1793

0.003454947484798231

(pattern support = 10 / 27)(pattern violations = 1 / 67)(overlap = 5.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#tryFoldLeftChildOp(Node, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#performArithmeticOp(int, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#tryFoldArithmeticOp(Node, Node, Node)

10

?

8996

0.0005272926685227368

(pattern support = 10 / 27)(pattern violations = 1 / 439)(overlap = 5.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#checkPropertyAccess(JSType, String, NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitParameterList(NodeTraversal, Node, FunctionType)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitCall(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitBinaryOperator(int, NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitFunction(NodeTraversal, Node)

10

?

8997

0.0005272926685227368

(pattern support = 10 / 27)(pattern violations = 1 / 439)(overlap = 5.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#checkPropertyAccess(JSType, String, NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitParameterList(NodeTraversal, Node, FunctionType)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitCall(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitBinaryOperator(int, NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitFunction(NodeTraversal, Node)

10

?

8998

0.0005272926685227368

(pattern support = 10 / 27)(pattern violations = 1 / 439)(overlap = 5.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#checkPropertyAccess(JSType, String, NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitParameterList(NodeTraversal, Node, FunctionType)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitCall(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitBinaryOperator(int, NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#visitFunction(NodeTraversal, Node)

10

?

9102

0.0005023106288929073

(pattern support = 10 / 27)(pattern violations = 1 / 474)(overlap = 9.00 / 14.00)

  • closure/319/build/src//com/google/javascript/jscomp/VarCheck.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/RenameProperties.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/RenameProperties.java#countCallCandidates(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StripCode$Strip.java#maybeEliminateAssignmentByLvalueName(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StrictModeCheck.java#checkNameUse(NodeTraversal, Node)

10

?

11802

0.0002777777777777778

(pattern support = 18 / 27)(pattern violations = 1 / 2000)(overlap = 5.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#isSimpleFunctionObjectCall(Node)
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#evaluatesToLocalValue(Node, Predicate)
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#isToStringMethodCall(Node)
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#isFunctionObjectCallOrApply(Node)
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#getCallThisObject(Node)

18

?

12865

0.00022192632046160674

(pattern support = 12 / 27)(pattern violations = 1 / 1502)(overlap = 9.00 / 12.00)

  • closure/319/build/src//com/google/javascript/rhino/Node.java#checkTreeEquals(Node)
  • closure/319/build/src//com/google/javascript/jscomp/InlineVariables$InliningBehavior.java#canMoveModerately(ReferenceCollectingCallback$Reference, ReferenceCollectingCallback$Reference)
  • closure/319/build/src//com/google/javascript/jscomp/InlineVariables.java#canInline(ReferenceCollectingCallback$Reference, ReferenceCollectingCallback$Reference, ReferenceCollectingCallback$Reference)
  • closure/319/build/src//com/google/javascript/jscomp/ExpressionDecomposer.java#maybeDecomposeExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/TightenTypes$CreateScope.java#createAssignmentActions(Node, Node, Node)

12

?

13070

0.00021816436503261556

(pattern support = 10 / 27)(pattern violations = 1 / 1389)(overlap = 9.00 / 11.00)

  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setFunctionThrows()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsArguments()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#getDebugReport()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsReturn()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsThis()

10