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
?

159

0.01210484193677471

(pattern support = 11 / 28)(pattern violations = 1 / 21)(overlap = 11.00 / 17.00)

  • closure/319/build/src//com/google/javascript/jscomp/RenameProperties.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier$FunctionAnalyzer#visitFunction(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StrictModeCheck.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/StrictModeCheck.java#checkAssignment(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/VarCheck.java#visit(NodeTraversal, Node)

11

?

1143

0.0032520325203252037

(pattern support = 14 / 28)(pattern violations = 1 / 123)(overlap = 8.00 / 10.00)

  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#registerIfMismatch(JSType)
  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectCanAssignToPropertyOf(NodeTraversal, Node, JSType, String)
  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectCanCast(NodeTraversal, Node, JSType)
  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectCanAssignTo(NodeTraversal, Node, JSType, String)
  • closure/319/build/src//com/google/javascript/jscomp/TypeValidator#registerMismatch(JSType)

14

?

1173

0.0032307330827067667

(pattern support = 10 / 28)(pattern violations = 1 / 76)(overlap = 11.00 / 16.00)

  • closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#canFixupSpecializedFunctionContainingNode(Node)
  • closure/319/build/src//com/google/javascript/jscomp/AliasStrings.java#isInThrowExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SideEffectsAnalysis.java#safeToMoveBefore(Node, SideEffectsAnalysis$AbstractMotionEnvironment)
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#isWithinLoop(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#reportSpecializedFunctionContainingNode(Node)

10

?

1174

0.0032307330827067667

(pattern support = 10 / 28)(pattern violations = 1 / 76)(overlap = 11.00 / 16.00)

  • closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#canFixupSpecializedFunctionContainingNode(Node)
  • closure/319/build/src//com/google/javascript/jscomp/AliasStrings.java#isInThrowExpression(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SideEffectsAnalysis.java#safeToMoveBefore(Node, SideEffectsAnalysis$AbstractMotionEnvironment)
  • closure/319/build/src//com/google/javascript/jscomp/NodeUtil.java#isWithinLoop(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#reportSpecializedFunctionContainingNode(Node)

10

?

6929

0.0005975302084716505

(pattern support = 14 / 28)(pattern violations = 1 / 443)(overlap = 9.00 / 17.00)

  • closure/319/build/src//com/google/javascript/jscomp/VariableReferenceCheck.java#checkVar(NodeTraversal, Scope$Var, List)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#warnAboutNamespaceRedefinition(GlobalNamespace$Name, GlobalNamespace$Ref)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator$AbstractScopeBuilder#processObjectLit(Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#attachLiteralTypes(Node)

14

?

6930

0.0005975302084716505

(pattern support = 14 / 28)(pattern violations = 1 / 443)(overlap = 9.00 / 17.00)

  • closure/319/build/src//com/google/javascript/jscomp/VariableReferenceCheck.java#checkVar(NodeTraversal, Scope$Var, List)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#warnAboutNamespaceRedefinition(GlobalNamespace$Name, GlobalNamespace$Ref)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator$AbstractScopeBuilder#processObjectLit(Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#attachLiteralTypes(Node)

14

?

6931

0.0005975302084716505

(pattern support = 14 / 28)(pattern violations = 1 / 443)(overlap = 9.00 / 17.00)

  • closure/319/build/src//com/google/javascript/jscomp/VariableReferenceCheck.java#checkVar(NodeTraversal, Scope$Var, List)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#warnAboutNamespaceRedefinition(GlobalNamespace$Name, GlobalNamespace$Ref)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator$AbstractScopeBuilder#processObjectLit(Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#attachLiteralTypes(Node)

14

?

6932

0.0005975302084716505

(pattern support = 14 / 28)(pattern violations = 1 / 443)(overlap = 9.00 / 17.00)

  • closure/319/build/src//com/google/javascript/jscomp/VariableReferenceCheck.java#checkVar(NodeTraversal, Scope$Var, List)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#warnAboutNamespaceRedefinition(GlobalNamespace$Name, GlobalNamespace$Ref)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator$AbstractScopeBuilder#processObjectLit(Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#attachLiteralTypes(Node)

14

?

11127

0.0002723873749885311

(pattern support = 19 / 28)(pattern violations = 1 / 2076)(overlap = 5.00 / 6.00)

  • closure/319/build/src//com/google/javascript/jscomp/CollapseVariableDeclarations.java#collapseAssign(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/TypedScopeCreator.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ScopedAliases.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/ClosureCodeRemoval.java#visit(NodeTraversal, Node)
  • closure/319/build/src//com/google/javascript/jscomp/CheckProvides.java#visit(NodeTraversal, Node)

19

?

11864

0.00025200458190148913

(pattern support = 11 / 28)(pattern violations = 1 / 1455)(overlap = 14.00 / 15.00)

  • closure/319/build/src//com/google/javascript/jscomp/SourceMap2.java#encodeEntry(Appendable, int)
  • closure/319/build/src//com/google/javascript/jscomp/SourceMap2.java#closeEntry(int)
  • closure/319/build/src//com/google/javascript/jscomp/SourceMap2.java#visit(SourceMap2$Mapping, int)
  • closure/319/build/src//com/google/javascript/jscomp/AbstractCommandLineRunner.java#access$2100(AbstractCommandLineRunner$RunTimeStats)
  • closure/319/build/src//com/google/javascript/jscomp/AbstractCommandLineRunner$RunTimeStats#outputBestPhaseOrdering()

11

?

14518

0.0002182135583357579

(pattern support = 10 / 28)(pattern violations = 1 / 982)(overlap = 3.00 / 5.00)

  • closure/319/build/src//com/google/javascript/rhino/jstype/RecordType.java#getGreatestSubtype(JSType)
  • closure/319/build/src//com/google/javascript/rhino/jstype/UnionType.java#getRestrictedUnion(JSType)
  • closure/319/build/src//com/google/javascript/rhino/jstype/UnionType.java#getTypesUnderEquality(JSType)
  • closure/319/build/src//com/google/javascript/rhino/jstype/UnionType.java#restrictByNotNullOrUndefined()
  • closure/319/build/src//com/google/javascript/rhino/jstype/UnionTypeBuilder.java#addAlternate(JSType)

10

?

16178

0.00015594395997854213

(pattern support = 10 / 28)(pattern violations = 1 / 1041)(overlap = 5.00 / 11.00)

  • closure/319/build/src//com/google/javascript/jscomp/SideEffectsAnalysis.java#safeToMoveBefore(Node, SideEffectsAnalysis$AbstractMotionEnvironment)
  • closure/319/build/src//com/google/javascript/jscomp/SideEffectsAnalysis#isControlDependentChild(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SideEffectsAnalysis.java#closestControlDependentAncestor(Node)
  • closure/319/build/src//com/google/javascript/jscomp/SideEffectsAnalysis.java#nodesHaveSameControlFlow(Node)

10

?

16951

0.00012223384801932275

(pattern support = 10 / 28)(pattern violations = 1 / 2087)(overlap = 5.00 / 7.00)

  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsArguments()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#getDebugReport()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsReturn()
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#<init>(boolean)
  • closure/319/build/src//com/google/javascript/jscomp/PureFunctionIdentifier.java#setTaintsThis()

10

?

18373

0.000046143842943138205

(pattern support = 11 / 28)(pattern violations = 1 / 1946)(overlap = 8.00 / 35.00)

  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#process(Node)
  • 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#flattenReferencesTo(GlobalNamespace$Name, String)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenReferencesToCollapsibleDescendantNames(GlobalNamespace$Name, String)

11

?

18374

0.000046143842943138205

(pattern support = 11 / 28)(pattern violations = 1 / 1946)(overlap = 8.00 / 35.00)

  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#process(Node)
  • 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#flattenReferencesTo(GlobalNamespace$Name, String)
  • closure/319/build/src//com/google/javascript/jscomp/CollapseProperties.java#flattenReferencesToCollapsibleDescendantNames(GlobalNamespace$Name, String)

11