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 Firstcallline Missingcalls Presentcalls Strangeness Type
?

181

1577

();traverseWithScope();getScope()

makeError()

0.375

com.google.javascript.jscomp.NodeTraversal

?

195

1570

getImplicitPrototype();isPropertyTypeDeclared();isUnknownType();isDict();getCtorExtendedInterfaces();isEquivalentTo();hasProperty();isEmptyType();isPropertyTypeInferred();getPropertyType();isStruct();getOwnPropertyJSDocInfo();toString();getConstructor()

getOwnPropertyNames()

0.164

com.google.javascript.rhino.jstype.ObjectType

?

153

1582

();putAll();clear()

put()

0.667

java.util.HashMap

?

152

1572

();putAll();clear()

get()

0.667

java.util.HashMap

?

83

1575

getImplicitPrototype();hasProperty();isUnknownType();isEmptyType();getCtorExtendedInterfaces();isPropertyTypeInferred();getConstructor()

toString();getPropertyType()

0.833

com.google.javascript.rhino.jstype.ObjectType

?

38

1574

isNumber();isUnknownType();isDict();restrictByNotNullOrUndefined();isFunctionType();toMaybeEnumElementType();testForEquality();toMaybeEnumType();isSubtype();toMaybeFunctionType();hasProperty();isEnumElementType();toObjectType();matchesInt32Context();isEmptyType();isConstructor();matchesNumberContext();isStruct();isEnumType();canBeCalled();matchesUint32Context();toString();canTestForShallowEqualityWith()

isEquivalentTo()

0.909

com.google.javascript.rhino.jstype.JSType

?

15

1585

isPropertyTest();visitFunction();getJSType();visitReturn();getNativeType();visitParameterList();checkPropCreation();ensureTyped();doPercentTypedAccounting();visitCall();visitBinaryOperator();propertyIsImplicitCast();checkPropertyAccess();visitGetElem();visitName();checkTypeofString();visitNew();checkDeclaredPropertyInheritance();checkPropertyAccessHelper();checkNoTypeCheckSection();checkEnumAlias();report();visitVar();visitAssign();checkPropertyInheritanceOnGetpropAssign();visitInterfaceGetprop();visitObjLitKey();visitGetProp()

checkInterfaceConflictProperties()

0.952

com.google.javascript.jscomp.TypeCheck