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
?

510

0.005909645909645909

(pattern support = 11 / 35)(pattern violations = 1 / 39)(overlap = 11.00 / 15.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#countCallCandidates(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier$FunctionAnalyzer#visitFunction(NodeTraversal, Node, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StrictModeCheck.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StrictModeCheck.java#checkAssignment(NodeTraversal, Node)

11

?

2239

0.0015708244081946504

(pattern support = 11 / 35)(pattern violations = 1 / 153)(overlap = 13.00 / 17.00)

  • closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#tryOptimizeDefaultCase(Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/DevirtualizePrototypeMethods.java#rewriteDefinitionIfEligible(DefinitionSite, SimpleDefinitionFinder)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#isUselessCase(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#extractMessageFromVariable(JsMessage$Builder, Node, Node, Node)

11

?

2665

0.001320528211284514

(pattern support = 11 / 35)(pattern violations = 1 / 153)(overlap = 9.00 / 14.00)

  • closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#tryOptimizeDefaultCase(Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/DevirtualizePrototypeMethods.java#rewriteDefinitionIfEligible(DefinitionSite, SimpleDefinitionFinder)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#isUselessCase(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#extractMessageFromVariable(JsMessage$Builder, Node, Node, Node)

11

?

5378

0.0006519188143769829

(pattern support = 10 / 35)(pattern violations = 1 / 346)(overlap = 15.00 / 19.00)

  • closure/319/build/src//com/google/javascript/jscomp/CheckAccessControls.java#checkNameVisibility(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckAccessControls.java#checkPropertyDeprecation(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectCanOverride(NodeTraversal, Node, JSType, JSType, String, JSType)
  • closure/319/build/src//com/google/javascript/jscomp/CreateSyntheticBlocks.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckAccessControls.java#checkNameDeprecation(NodeTraversal, Node, Node)

10

?

6784

0.0004795204795204795

(pattern support = 12 / 35)(pattern violations = 1 / 429)(overlap = 9.00 / 15.00)

  • closure/319/build/src//com/google/javascript/jscomp/ExternExportsPass$Export#reportUnknownParameterType(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessTweaks.java#emitAllTypeWarnings()
  • closure/319/build/src//com/google/javascript/jscomp/SyntacticScopeCreator.java#onRedeclaration(Scope, String, Node, CompilerInput)
  • closure/319/build/src//com/google/javascript/jscomp/SuspiciousPropertiesCheck.java#process(Node, Node)

12

?

6785

0.0004795204795204795

(pattern support = 12 / 35)(pattern violations = 1 / 429)(overlap = 9.00 / 15.00)

  • closure/319/build/src//com/google/javascript/jscomp/ExternExportsPass$Export#reportUnknownParameterType(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessTweaks.java#emitAllTypeWarnings()
  • closure/319/build/src//com/google/javascript/jscomp/SyntacticScopeCreator.java#onRedeclaration(Scope, String, Node, CompilerInput)
  • closure/319/build/src//com/google/javascript/jscomp/SuspiciousPropertiesCheck.java#process(Node, Node)

12

?

10973

0.00026295658825779307

(pattern support = 11 / 35)(pattern violations = 1 / 747)(overlap = 5.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/CrossModuleMethodMotion.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedNames.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CrossModuleMethodMotion.java#moveMethods(Collection)
  • closure/319/build/src//com/google/javascript/jscomp/JsAst#parse(AbstractCompiler, String, String)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedPrototypeProperties#removeUnusedSymbols(Collection)

11

?

13503

0.00019924287706714482

(pattern support = 18 / 35)(pattern violations = 1 / 2151)(overlap = 5.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckProvides.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ClosureCodeRemoval.java#<init>(ClosureCodeRemoval, Node, Node, NodeTraversal)
  • closure/319/build/src//com/google/javascript/rhino/Node.java#isQualifiedName()
  • closure/319/build/src//com/google/javascript/jscomp/ClosureCodeRemoval.java#visit(NodeTraversal, Node, Node)

18

?

14339

0.0001546072974644403

(pattern support = 10 / 35)(pattern violations = 1 / 1512)(overlap = 9.00 / 11.00)

  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier$FunctionInformation#checkInvariant()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsGlobalState()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsReturn()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsUnknown()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#<init>(boolean)

10

?

19464

0.000058856020065375455

(pattern support = 13 / 35)(pattern violations = 1 / 3506)(overlap = 5.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
  • closure/319/build/src//com/google/javascript/jscomp/ObjectPropertyStringPreprocess.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#processShortCircuitExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#processHook(Node)

13

?

19465

0.000058856020065375455

(pattern support = 13 / 35)(pattern violations = 1 / 3506)(overlap = 5.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
  • closure/319/build/src//com/google/javascript/jscomp/ObjectPropertyStringPreprocess.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#processShortCircuitExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#processHook(Node)

13

?

19933

0.00004001163974974538

(pattern support = 11 / 35)(pattern violations = 1 / 1896)(overlap = 7.00 / 29.00)

  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenPrefixes(String, GlobalNamespace$Name, int)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenReferencesTo(GlobalNamespace$Name, String)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenReferencesToCollapsibleDescendantNames(GlobalNamespace$Name, String)

11

?

19934

0.00004001163974974538

(pattern support = 11 / 35)(pattern violations = 1 / 1896)(overlap = 7.00 / 29.00)

  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenPrefixes(String, GlobalNamespace$Name, int)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenReferencesTo(GlobalNamespace$Name, String)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenReferencesToCollapsibleDescendantNames(GlobalNamespace$Name, String)

11