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
?

1116

0.0032916392363396972

(pattern support = 12 / 28)(pattern violations = 1 / 93)(overlap = 5.00 / 7.00)

  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars#traverseNode(Node, Scope)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#traverseAndRemoveUnusedReferences(Node)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#access$200(RemoveUnusedVars, Node, Scope)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#apply()

12

?

1121

0.0032916392363396972

(pattern support = 12 / 28)(pattern violations = 1 / 93)(overlap = 5.00 / 7.00)

  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars#traverseNode(Node, Scope)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#traverseAndRemoveUnusedReferences(Node)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#access$200(RemoveUnusedVars, Node, Scope)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#apply()

12

?

1135

0.0032916392363396972

(pattern support = 12 / 28)(pattern violations = 1 / 93)(overlap = 5.00 / 7.00)

  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars#traverseNode(Node, Scope)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#traverseAndRemoveUnusedReferences(Node)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#access$200(RemoveUnusedVars, Node, Scope)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#apply()

12

?

1824

0.0025817555938037868

(pattern support = 12 / 28)(pattern violations = 1 / 83)(overlap = 3.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/NameReferenceGraphConstruction.java#maybeAliasNamesOnAssign(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SimpleDefinitionFinder#getSimplifiedName(Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameReferenceGraphConstruction$Traversal#safeAlias(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SimpleDefinitionFinder.java#getDefinitionsReferencedAt(Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameReferenceGraphConstruction.java#visit(NodeTraversal, Node)

12

?

2066

0.0023448773448773454

(pattern support = 26 / 28)(pattern violations = 1 / 308)(overlap = 7.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/PassConfig.java#makeTypeCheck(AbstractCompiler)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#checkIfMessageDuplicated(String, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessClosurePrimitives.java#processProvideCall(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessClosurePrimitives#registerAnyProvidedPrefixes(String, Node, JSModule)
  • closure/319/build/src//com/google/javascript/jscomp/AnalyzePrototypeProperties#getNameInfoForName(String, AnalyzePrototypeProperties$SymbolType)

26

?

2070

0.0023448773448773454

(pattern support = 26 / 28)(pattern violations = 1 / 308)(overlap = 7.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/PassConfig.java#makeTypeCheck(AbstractCompiler)
  • closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#checkIfMessageDuplicated(String, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessClosurePrimitives.java#processProvideCall(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessClosurePrimitives#registerAnyProvidedPrefixes(String, Node, JSModule)
  • closure/319/build/src//com/google/javascript/jscomp/AnalyzePrototypeProperties#getNameInfoForName(String, AnalyzePrototypeProperties$SymbolType)

26

?

2868

0.0016552969502407705

(pattern support = 11 / 28)(pattern violations = 1 / 89)(overlap = 3.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/AliasStrings.java#process(Node)
  • closure/319/build/src//com/google/javascript/jscomp/AliasStrings.java#addAliasDeclarationNodes()
  • closure/319/build/src//com/google/javascript/jscomp/VariableMap#initReverseMap()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#getDebugReport()
  • closure/319/build/src//com/google/javascript/jscomp/VariableMap.java#getNewNameToOriginalNameMap()

11

?

2941

0.0016483516483516481

(pattern support = 12 / 28)(pattern violations = 1 / 180)(overlap = 9.00 / 13.00)

  • closure/319/build/src//com/google/javascript/jscomp/InlineFunctions#resolveInlineConflicts()
  • closure/319/build/src//com/google/javascript/jscomp/graph/LinkedUndirectedGraph.java#getEdges()
  • closure/319/build/src//com/google/javascript/jscomp/graph/LinkedDirectedGraph.java#getGraphvizEdges()
  • closure/319/build/src//com/google/javascript/jscomp/ProcessDefines.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessClosurePrimitives.java#process(Node)

12

?

3439

0.0013790865579621967

(pattern support = 24 / 28)(pattern violations = 1 / 587)(overlap = 17.00 / 18.00)

  • closure/319/build/src//com/google/javascript/jscomp/deps/SortedDependencies.java#topologicalStableSort(List, Multimap)
  • closure/319/build/src//com/google/javascript/jscomp/deps/JsFunctionParser#getPattern(Collection)
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#getDebugReport()
  • closure/319/build/src//com/google/javascript/jscomp/Compiler#parseInputs()
  • closure/319/build/src//com/google/javascript/jscomp/ProcessClosurePrimitives.java#process(Node)

24

?

3800

0.0013282172373081465

(pattern support = 12 / 28)(pattern violations = 1 / 242)(overlap = 3.00 / 4.00)

  • closure/319/build/src//com/google/javascript/jscomp/OptimizeReturns.java#callResultsMaybeUsed(SimpleDefinitionFinder, DefinitionSite)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#tryOptimizeDefaultCase(Node)
  • closure/319/build/src//com/google/javascript/jscomp/FunctionRewriter.java#process(Node)
  • closure/319/build/src//com/google/javascript/jscomp/OptimizeReturns.java#optimizeResultsIfEligible(DefinitionSite, SimpleDefinitionFinder)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#removeCase(Node)

12

?

4256

0.0010872430152872956

(pattern support = 11 / 28)(pattern violations = 1 / 271)(overlap = 3.00 / 4.00)

  • closure/319/build/src//com/google/javascript/jscomp/ExternExportsPass.java#appendExtern(String, Node)
  • closure/319/build/src//com/google/javascript/jscomp/InlineSimpleMethods#allDefinitionsEquivalent(Collection)
  • closure/319/build/src//com/google/javascript/jscomp/InlineSimpleMethods.java#access$000(InlineSimpleMethods, Collection)
  • closure/319/build/src//com/google/javascript/jscomp/TightenTypes.java#process(Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#replaceTopLevelExpressionWithRhs(Node)

11

?

8511

0.000478102887741442

(pattern support = 10 / 28)(pattern violations = 1 / 83)(overlap = 1.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer#createNameInformation(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#access$200(NameAnalyzer, NodeTraversal, Node)

10

?

8516

0.000478102887741442

(pattern support = 10 / 28)(pattern violations = 1 / 83)(overlap = 1.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer#createNameInformation(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#access$200(NameAnalyzer, NodeTraversal, Node)

10

?

13811

0.00023045065906661914

(pattern support = 23 / 28)(pattern violations = 1 / 3208)(overlap = 9.00 / 10.00)

  • closure/319/build/src//com/google/javascript/jscomp/Normalize.java#normalizeFunctionDeclaration(Node)
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#getDebugReport()
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil#isFunctionExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#isEmptyFunctionExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/VarCheck.java#visit(NodeTraversal, Node)

23

?

14467

0.00021837875611460517

(pattern support = 10 / 28)(pattern violations = 1 / 1272)(overlap = 7.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/AmbiguateProperties.java#<init>(AmbiguateProperties, Collection)
  • closure/319/build/src//com/google/javascript/jscomp/MustBeReachingVariableDef.java#addToDefIfLocal(String, Node, MustBeReachingVariableDef$MustDef)
  • closure/319/build/src//com/google/javascript/jscomp/TypeInferencePass.java#<init>(AbstractCompiler, ReverseAbstractInterpreter, Scope, ScopeCreator)
  • closure/319/build/src//com/google/javascript/jscomp/ReplaceIdGenerators.java#<init>(AbstractCompiler, Set)
  • closure/319/build/src//com/google/javascript/jscomp/Compiler.java#initInputsByNameMap()

10

?

19241

0.000032255983484936457

(pattern support = 16 / 28)(pattern violations = 1 / 5167)(overlap = 7.00 / 24.00)

  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#compareToUndefined(Node, int)
  • closure/319/build/src//com/google/javascript/jscomp/SimpleDefinitionFinder.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/OptimizeParameters.java#buildParameterList(List, Node)
  • closure/319/build/src//com/google/javascript/jscomp/FunctionRewriter.java#getValueNode(Node)
  • closure/319/build/src//com/google/javascript/jscomp/OptimizeParameters.java#tryEliminateConstantArgs(DefinitionSite, SimpleDefinitionFinder)

16

?

19252

0.000032255983484936457

(pattern support = 16 / 28)(pattern violations = 1 / 5167)(overlap = 7.00 / 24.00)

  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#compareToUndefined(Node, int)
  • closure/319/build/src//com/google/javascript/jscomp/SimpleDefinitionFinder.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/OptimizeParameters.java#buildParameterList(List, Node)
  • closure/319/build/src//com/google/javascript/jscomp/FunctionRewriter.java#getValueNode(Node)
  • closure/319/build/src//com/google/javascript/jscomp/OptimizeParameters.java#tryEliminateConstantArgs(DefinitionSite, SimpleDefinitionFinder)

16