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
?

252

0.0075901328273244775

(pattern support = 18 / 31)(pattern violations = 1 / 51)(overlap = 12.00 / 18.00)

  • closure/319/build/src//com/google/javascript/jscomp/CrossModuleCodeMotion.java#maybeProcessDeclaration(NodeTraversal, Node, Node, CrossModuleCodeMotion$NamedInfo)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#access$1100(NameAnalyzer, Node)
  • closure/319/build/src//com/google/javascript/jscomp/SideEffectsAnalysis.java#nodeHasAncestor(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ExpressionDecomposer.java#moveExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#visit(NodeTraversal, Node, Node)

18

?

1732

0.002400153609831029

(pattern support = 10 / 31)(pattern violations = 1 / 96)(overlap = 5.00 / 7.00)

  • closure/319/build/src//com/google/javascript/jscomp/ExtractPrototypeMemberDeclarations.java#doExtraction(ExtractPrototypeMemberDeclarations$GatherExtractionInfo)
  • closure/319/build/src//com/google/javascript/jscomp/ExternExportsPass.java#appendPathDefinition(String, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessTweaks.java#createCompilerDefaultValueOverridesVarNode(Node)
  • closure/319/build/src//com/google/javascript/jscomp/FunctionToBlockMutator.java#aliasAndInlineArguments(Node, LinkedHashMap, Set)
  • closure/319/build/src//com/google/javascript/jscomp/OptimizeParameters.java#tryEliminateConstantArgs(DefinitionSite, SimpleDefinitionFinder)

10

?

1733

0.002400153609831029

(pattern support = 10 / 31)(pattern violations = 1 / 96)(overlap = 5.00 / 7.00)

  • closure/319/build/src//com/google/javascript/jscomp/ExtractPrototypeMemberDeclarations.java#doExtraction(ExtractPrototypeMemberDeclarations$GatherExtractionInfo)
  • closure/319/build/src//com/google/javascript/jscomp/ExternExportsPass.java#appendPathDefinition(String, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessTweaks.java#createCompilerDefaultValueOverridesVarNode(Node)
  • closure/319/build/src//com/google/javascript/jscomp/FunctionToBlockMutator.java#aliasAndInlineArguments(Node, LinkedHashMap, Set)
  • closure/319/build/src//com/google/javascript/jscomp/OptimizeParameters.java#tryEliminateConstantArgs(DefinitionSite, SimpleDefinitionFinder)

10

?

4814

0.0005929791271347248

(pattern support = 14 / 31)(pattern violations = 1 / 476)(overlap = 5.00 / 8.00)

  • closure/319/build/src//com/google/javascript/jscomp/CreateSyntheticBlocks.java#addBlocks(CreateSyntheticBlocks$Marker)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#updateObjLitOrFunctionDeclarationAtVarNode(GlobalNamespace$Name)
  • closure/319/build/src//com/google/javascript/jscomp/AliasStrings.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ExtractPrototypeMemberDeclarations.java#extractInstance(ExtractPrototypeMemberDeclarations$ExtractionInstance)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#updateSimpleDeclaration(String, GlobalNamespace$Name, GlobalNamespace$Ref)

14

?

5531

0.0005197325110010048

(pattern support = 18 / 31)(pattern violations = 1 / 931)(overlap = 5.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#isReferenceName(Node)
  • closure/319/build/src//com/google/javascript/jscomp/CrossModuleCodeMotion.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/SimpleDefinitionFinder.java#isSimpleFunctionDeclaration(Node)
  • closure/319/build/src//com/google/javascript/jscomp/MakeDeclaredNamesUnique.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/SyntacticScopeCreator.java#createScope(Node, Scope)

18

?

9680

0.0002628146475363561

(pattern support = 30 / 31)(pattern violations = 1 / 3314)(overlap = 9.00 / 10.00)

  • closure/319/build/src//com/google/javascript/jscomp/PrepareAst.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckRequiresForConstructors.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#removeUnreferencedVars()
  • closure/319/build/src//com/google/javascript/jscomp/DefinitionsRemover.java#<init>(Node, boolean)
  • closure/319/build/src//com/google/javascript/jscomp/InlineFunctions.java#findNamedFunctions(NodeTraversal, Node, Node)

30

?

12161

0.0002041649652919559

(pattern support = 10 / 31)(pattern violations = 1 / 1264)(overlap = 16.00 / 20.00)

  • closure/319/build/src//com/google/javascript/jscomp/ControlFlowAnalysis.java#process(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer#recordAlias(String, String)
  • closure/319/build/src//com/google/javascript/jscomp/MustBeReachingVariableDef.java#addToDefIfLocal(String, Node, Node, MustBeReachingVariableDef$MustDef)
  • closure/319/build/src//com/google/javascript/jscomp/deps/SortedDependencies.java#<init>(List)
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#visit(NodeTraversal, Node, Node)

10

?

12751

0.0001881527452932867

(pattern support = 10 / 31)(pattern violations = 1 / 1393)(overlap = 13.00 / 16.00)

  • closure/319/build/src//com/google/javascript/jscomp/NodeTraversal.java#throwUnexpectedException(Exception)
  • closure/319/build/src//com/google/javascript/jscomp/NodeTraversal.java#formatNodeContext(String, Node)
  • closure/319/build/src//com/google/javascript/jscomp/NameReferenceGraphReport.java#generateSourceReferenceLink(StringBuilder, String, int, int)
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#getDebugReport()
  • closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#appendListItem(StringBuilder, String)

10