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 |
?
|
856 |
0.003401360544217687 |
(pattern support = 10 / 35)(pattern violations = 1 / 70)(overlap = 5.00 / 6.00) |
- closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectCanCast(NodeTraversal, Node, JSType, JSType)
- 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#registerMismatch(JSType, JSType)
|
10 |
|
|
?
|
2233 |
0.0015708244081946504 |
(pattern support = 11 / 35)(pattern violations = 1 / 153)(overlap = 13.00 / 17.00) |
- closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#tryOptimizeDefaultCase(Node)
- closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#visit(NodeTraversal, Node, Node)
- closure/319/build/src//com/google/javascript/jscomp/DevirtualizePrototypeMethods.java#rewriteDefinitionIfEligible(DefinitionSite, SimpleDefinitionFinder)
- closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#isUselessCase(Node, Node)
- closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#extractMessageFromVariable(JsMessage$Builder, Node, Node, Node)
|
11 |
|
|
?
|
2631 |
0.001320528211284514 |
(pattern support = 11 / 35)(pattern violations = 1 / 153)(overlap = 9.00 / 14.00) |
- closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#tryOptimizeDefaultCase(Node)
- closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#visit(NodeTraversal, Node, Node)
- closure/319/build/src//com/google/javascript/jscomp/DevirtualizePrototypeMethods.java#rewriteDefinitionIfEligible(DefinitionSite, SimpleDefinitionFinder)
- closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#isUselessCase(Node, Node)
- closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#extractMessageFromVariable(JsMessage$Builder, Node, Node, Node)
|
11 |
|
|
?
|
2632 |
0.001320528211284514 |
(pattern support = 11 / 35)(pattern violations = 1 / 153)(overlap = 9.00 / 14.00) |
- closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#tryOptimizeDefaultCase(Node)
- closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#visit(NodeTraversal, Node, Node)
- closure/319/build/src//com/google/javascript/jscomp/DevirtualizePrototypeMethods.java#rewriteDefinitionIfEligible(DefinitionSite, SimpleDefinitionFinder)
- closure/319/build/src//com/google/javascript/jscomp/PeepholeRemoveDeadCode.java#isUselessCase(Node, Node)
- closure/319/build/src//com/google/javascript/jscomp/JsMessageVisitor.java#extractMessageFromVariable(JsMessage$Builder, Node, Node, Node)
|
11 |
|
|
?
|
3854 |
0.0008730158730158729 |
(pattern support = 11 / 35)(pattern violations = 1 / 270)(overlap = 3.00 / 4.00) |
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#getSideEffectNodes(Node)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
- closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#addOriginalFunctionVersionsToDependentModules(JSModule)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#replaceTopLevelExpressionWithRhs(Node, Node)
|
11 |
|
|
?
|
3855 |
0.0008730158730158729 |
(pattern support = 11 / 35)(pattern violations = 1 / 270)(overlap = 3.00 / 4.00) |
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#getSideEffectNodes(Node)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
- closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#addOriginalFunctionVersionsToDependentModules(JSModule)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#replaceTopLevelExpressionWithRhs(Node, Node)
|
11 |
|
|
?
|
3856 |
0.0008730158730158729 |
(pattern support = 11 / 35)(pattern violations = 1 / 270)(overlap = 3.00 / 4.00) |
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#getSideEffectNodes(Node)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
- closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#addOriginalFunctionVersionsToDependentModules(JSModule)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#replaceTopLevelExpressionWithRhs(Node, Node)
|
11 |
|
|
?
|
3857 |
0.0008730158730158729 |
(pattern support = 11 / 35)(pattern violations = 1 / 270)(overlap = 3.00 / 4.00) |
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#getSideEffectNodes(Node)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedShortCircuitExpression(Node)
- closure/319/build/src//com/google/javascript/jscomp/SpecializeModule.java#addOriginalFunctionVersionsToDependentModules(JSModule)
- closure/319/build/src//com/google/javascript/jscomp/GatherSideEffectSubexpressionsCallback.java#keepSimplifiedHookExpression(Node, boolean, boolean)
- closure/319/build/src//com/google/javascript/jscomp/NameAnalyzer.java#replaceTopLevelExpressionWithRhs(Node, Node)
|
11 |
|
|
?
|
9536 |
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 |
|
|
?
|
11858 |
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 |
|
|
?
|
11859 |
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 |
|
|
?
|
19599 |
0.00005317734645041213 |
(pattern support = 14 / 35)(pattern violations = 1 / 3761)(overlap = 5.00 / 10.00) |
- closure/319/build/src//com/google/javascript/jscomp/ControlFlowAnalysis.java#handleReturn(Node)
- closure/319/build/src//com/google/javascript/jscomp/ControlFlowAnalysis.java#handleFunction(Node)
- closure/319/build/src//com/google/javascript/jscomp/ControlFlowAnalysis.java#handleDo(Node)
- closure/319/build/src//com/google/javascript/jscomp/ControlFlowAnalysis.java#handleStmtList(Node)
- closure/319/build/src//com/google/javascript/jscomp/ControlFlowAnalysis.java#computeFallThrough(Node)
|
14 |
|
|
?
|
19689 |
0.000052328623757195185 |
(pattern support = 10 / 35)(pattern violations = 1 / 1170)(overlap = 9.00 / 42.00) |
- closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectAnyObject(NodeTraversal, Node, JSType, String)
- closure/319/build/src//com/google/javascript/rhino/jstype/StringType.java#testForEquality(JSType)
- closure/319/build/src//com/google/javascript/jscomp/TypeInference.java#isAddedAsNumber(JSType)
- closure/319/build/src//com/google/javascript/jscomp/TypeValidator.java#expectSwitchMatchesCase(NodeTraversal, Node, JSType, JSType)
- closure/319/build/src//com/google/javascript/rhino/jstype/BooleanType.java#testForEquality(JSType)
|
10 |
|
|
?
|
20084 |
0.000029600447774046324 |
(pattern support = 11 / 35)(pattern violations = 1 / 1896)(overlap = 5.00 / 28.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 |
|
|
?
|
20085 |
0.000029600447774046324 |
(pattern support = 11 / 35)(pattern violations = 1 / 1896)(overlap = 5.00 / 28.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 |
|
|
?
|
20086 |
0.000029600447774046324 |
(pattern support = 11 / 35)(pattern violations = 1 / 1896)(overlap = 5.00 / 28.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 |
|
|