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
?

117

0.011469534050179211

(pattern support = 14 / 31)(pattern violations = 1 / 35)(overlap = 8.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectCanAssignTo(NodeTraversal, Node, JSType, JSType, String)
  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectCanAssignToPropertyOf(NodeTraversal, Node, JSType, JSType, Node, String)
  • 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/TypeValidator.java#expectSuperType(NodeTraversal, Node, ObjectType, ObjectType)
  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator#registerMismatch(JSType, JSType)

14

?

284

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

?

285

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

?

1923

0.0023894862604540027

(pattern support = 10 / 31)(pattern violations = 1 / 75)(overlap = 5.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
  • closure/319/build/src//com/google/javascript/rhino/Token.java#name(int)
  • closure/319/build/src//com/google/javascript/jscomp/parsing/IRFactory.java#processGeneric(Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
  • closure/319/build/src//com/google/javascript/rhino/UniqueTag.java#readResolve()

10

?

1924

0.0023894862604540027

(pattern support = 10 / 31)(pattern violations = 1 / 75)(overlap = 5.00 / 9.00)

  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
  • closure/319/build/src//com/google/javascript/rhino/Token.java#name(int)
  • closure/319/build/src//com/google/javascript/jscomp/parsing/IRFactory.java#processGeneric(Node)
  • closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
  • closure/319/build/src//com/google/javascript/rhino/UniqueTag.java#readResolve()

10

?

4121

0.0008036581487498173

(pattern support = 11 / 31)(pattern violations = 1 / 417)(overlap = 17.00 / 18.00)

  • closure/319/build/src//com/google/javascript/jscomp/VarCheck.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#shouldTraverse(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StripCode.java#isMethodOrCtorCallThatTriggersRemoval(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StrictModeCheck.java#checkNameUse(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StripCode.java#actsOnStripType(NodeTraversal, Node)

11

?

11578

0.000262504593830392

(pattern support = 10 / 31)(pattern violations = 1 / 391)(overlap = 7.00 / 22.00)

  • closure/319/build/src//com/google/javascript/jscomp/ProcessDefines.java#visit(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/CreateSyntheticBlocks.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckAccessControls.java#checkConstructorDeprecation(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#checkDeclaredPropertyInheritance(NodeTraversal, Node, FunctionType, String, JSDocInfo, JSType)

10

?

11579

0.000262504593830392

(pattern support = 10 / 31)(pattern violations = 1 / 391)(overlap = 7.00 / 22.00)

  • closure/319/build/src//com/google/javascript/jscomp/ProcessDefines.java#visit(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/CreateSyntheticBlocks.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckAccessControls.java#checkConstructorDeprecation(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#checkDeclaredPropertyInheritance(NodeTraversal, Node, FunctionType, String, JSDocInfo, JSType)

10

?

11580

0.000262504593830392

(pattern support = 10 / 31)(pattern violations = 1 / 391)(overlap = 7.00 / 22.00)

  • closure/319/build/src//com/google/javascript/jscomp/ProcessDefines.java#visit(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/CreateSyntheticBlocks.java#visit(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckAccessControls.java#checkConstructorDeprecation(NodeTraversal, Node, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypeCheck.java#checkDeclaredPropertyInheritance(NodeTraversal, Node, FunctionType, String, JSDocInfo, JSType)

10

?

13137

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

?

17965

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

?

19174

0.00004165690332994871

(pattern support = 11 / 31)(pattern violations = 1 / 1947)(overlap = 8.00 / 35.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

?

19175

0.00004165690332994871

(pattern support = 11 / 31)(pattern violations = 1 / 1947)(overlap = 8.00 / 35.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