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
?

253

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

?

1734

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

?

4815

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

?

5532

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

?

6974

0.000505348269182178

(pattern support = 12 / 31)(pattern violations = 1 / 383)(overlap = 1.00 / 2.00)

  • closure/319/build/src//com/google/javascript/jscomp/ExpressionDecomposer.java#extractExpression(Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/InlineSimpleMethods.java#access$600(InlineSimpleMethods, Node, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/InlineSimpleMethods.java#visit(NodeTraversal, Node, Node, String)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessDefines.java#overrideDefines(Map)
  • closure/319/build/src//com/google/javascript/jscomp/ProcessDefines.java#process(Node, Node)

12

?

7432

0.0004536999228710131

(pattern support = 12 / 31)(pattern violations = 1 / 711)(overlap = 10.00 / 12.00)

  • closure/319/build/src//com/google/javascript/jscomp/PeepholeFoldConstants.java#compareAsNumbers(int, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#getNumberValue(Node)

12

?

12752

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

?

16144

0.0001272808732486152

(pattern support = 10 / 31)(pattern violations = 1 / 2112)(overlap = 5.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#removeUnreferencedVars()
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#<init>(Node, Node, boolean)
  • closure/319/build/src//com/google/javascript/jscomp/UnfoldCompoundAssignments.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/InlineSimpleMethods.java#visit(NodeTraversal, Node, Node, String)
  • closure/319/build/src//com/google/javascript/jscomp/ExpressionDecomposer.java#isSafeAssign(Node, boolean)

10

?

16145

0.0001272808732486152

(pattern support = 10 / 31)(pattern violations = 1 / 2112)(overlap = 5.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#removeUnreferencedVars()
  • closure/319/build/src//com/google/javascript/jscomp/RemoveUnusedVars.java#<init>(Node, Node, boolean)
  • closure/319/build/src//com/google/javascript/jscomp/UnfoldCompoundAssignments.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/InlineSimpleMethods.java#visit(NodeTraversal, Node, Node, String)
  • closure/319/build/src//com/google/javascript/jscomp/ExpressionDecomposer.java#isSafeAssign(Node, boolean)

10