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
?

3054

0.0011574074074074073

(pattern support = 35 / 35)(pattern violations = 1 / 648)(overlap = 12.00 / 16.00)

  • closure/319/build/src//com/google/javascript/jscomp/CollapseVariableDeclarations.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/SourceMap2.java#traverse(SourceMap2$MappingVisitor)
  • closure/319/build/src//com/google/javascript/jscomp/CheckGlobalNames.java#checkDescendantNames(GlobalNamespace$Name, boolean)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#resolveStubDeclarations()

35

?

5084

0.0006693523396343353

(pattern support = 12 / 35)(pattern violations = 1 / 461)(overlap = 9.00 / 10.00)

  • closure/319/build/src//com/google/javascript/jscomp/CoalesceVariableNames.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#addOriginalFunctionVersionsToDependentModules(JSModule)
  • closure/319/build/src//com/google/javascript/jscomp/Normalize$DuplicateDeclarationHandler#replaceVarWithAssignment(Node, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/Normalize.java#onRedeclaration(Scope, String, Node, CompilerInput)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntax#tryMinimizeIf(Node)

12

?

8250

0.0004186289900575615

(pattern support = 10 / 35)(pattern violations = 1 / 585)(overlap = 12.00 / 14.00)

  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#mayBeString(Node)
  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#tryFoldKnownStringMethods(Node)
  • closure/319/build/src//com/google/javascript/jscomp/ChainableReverseAbstractInterpreter.java#caseTopType(JSType)
  • closure/319/build/src//com/google/javascript/jscomp/ChainableReverseAbstractInterpreter.java#access$000(ChainableReverseAbstractInterpreter, String)
  • closure/319/build/src//com/google/javascript/jscomp/ClosureCodingConvention#typeofClassDefiningName(Node)

10

?

9438

0.00028375380488056544

(pattern support = 11 / 35)(pattern violations = 1 / 923)(overlap = 5.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/AnonymousFunctionNamingCallback.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseAnonymousFunctions.java#isRecursiveFunction(Node)
  • closure/319/build/src//com/google/javascript/jscomp/VarCheck.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/Normalize.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/SyntacticScopeCreator#scanRoot(Node, Scope)

11

?

10356

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

?

11611

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

?

11612

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

?

13748

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

?

14410

0.00012689013429205878

(pattern support = 10 / 35)(pattern violations = 1 / 965)(overlap = 3.00 / 7.00)

  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#inlineAliasIfPossible(GlobalNamespace$Ref, GlobalNamespace)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/Normalize$NormalizeStatements#extractForInitializer(Node, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#inlineAliases(GlobalNamespace)
  • closure/319/build/src//com/google/javascript/jscomp/Normalize.java#shouldTraverse(NodeTraversal, Node, Node)

10