Kontrollerar ifall Javascript-koden är korrekt enligt Webperf-communityts egna Javascript-test. Testet är ett "lint"-test för att avgöra om det är korrekt Javascript och följer webbstandard.
Betyg: 2.50 av 5
- JS är dålig.
Webbstandard
- `content-type=".*javascript.*"` in: #6: webpack-cec372b, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #6: webpack-cec372b, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: framework-4556c, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #7: framework-4556c, antal fel: 48 ( 1.00 betyg )
- X is defined but never used. (totalt 39 st)
- X is not defined. (totalt 5 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #8: main-a481135bb3, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #8: main-a481135bb3, antal fel: 84 ( 1.00 betyg )
- X is defined but never used. (totalt 65 st)
- Unexpected console statement. (totalt 13 st)
- X is not defined. (totalt 6 st)
- `content-type=".*javascript.*"` in: #9: -app-e9532522d4, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #9: -app-e9532522d4, antal fel: 135 ( 1.00 betyg )
- X is defined but never used. (totalt 104 st)
- Unexpected console statement. (totalt 22 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #10: 201-04fdba2ec8f, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #10: 201-04fdba2ec8f, antal fel: 149 ( 1.00 betyg )
- X is defined but never used. (totalt 111 st)
- Unexpected console statement. (totalt 26 st)
- X is not defined. (totalt 9 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #11: 11-110a5020f6f2, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #11: 11-110a5020f6f2, antal fel: 153 ( 1.00 betyg )
- X is defined but never used. (totalt 113 st)
- Unexpected console statement. (totalt 28 st)
- X is not defined. (totalt 9 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #12: index-446c8fd43, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #12: index-446c8fd43, antal fel: 154 ( 1.00 betyg )
- X is defined but never used. (totalt 113 st)
- Unexpected console statement. (totalt 28 st)
- X is not defined. (totalt 10 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #13: -buildManifest., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #13: -buildManifest., antal fel: 154 ( 1.00 betyg )
- X is defined but never used. (totalt 113 st)
- Unexpected console statement. (totalt 28 st)
- X is not defined. (totalt 10 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #14: -ssgManifest.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #14: -ssgManifest.js, antal fel: 154 ( 1.00 betyg )
- X is defined but never used. (totalt 113 st)
- Unexpected console statement. (totalt 28 st)
- X is not defined. (totalt 10 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #48: -5BmainPage-5D-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #48: -5BmainPage-5D-, antal fel: 155 ( 1.00 betyg )
- X is defined but never used. (totalt 113 st)
- Unexpected console statement. (totalt 28 st)
- X is not defined. (totalt 11 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #50: -5BsubPage-5D-3, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #50: -5BsubPage-5D-3, antal fel: 156 ( 1.00 betyg )
- X is defined but never used. (totalt 113 st)
- Unexpected console statement. (totalt 28 st)
- X is not defined. (totalt 12 st)
- X is assigned a value but never used. (totalt 3 st)
Integritet & säkerhet
- `content-type=".*javascript.*"` in: #6: webpack-cec372b, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #6: webpack-cec372b, antal fel: 13 ( 2.40 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 12 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: framework-4556c, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #7: framework-4556c, antal fel: 626 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 510 st)
- Expected X and instead saw X. (totalt 78 st)
- Do not access Object.prototype method X from target object. (totalt 28 st)
- X is not modified in this loop. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: main-a481135bb3, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #8: main-a481135bb3, antal fel: 997 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 818 st)
- Expected X and instead saw X. (totalt 132 st)
- Do not access Object.prototype method X from target object. (totalt 33 st)
- X is not modified in this loop. (totalt 5 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #9: -app-e9532522d4, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #9: -app-e9532522d4, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1055 st)
- Expected X and instead saw X. (totalt 169 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- X is not modified in this loop. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: 201-04fdba2ec8f, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #10: 201-04fdba2ec8f, antal fel: 1606 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1207 st)
- Expected X and instead saw X. (totalt 234 st)
- Unnecessary escape character: \-. (totalt 93 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #11: 11-110a5020f6f2, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #11: 11-110a5020f6f2, antal fel: 1611 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1210 st)
- Expected X and instead saw X. (totalt 234 st)
- Unnecessary escape character: \-. (totalt 94 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: index-446c8fd43, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #12: index-446c8fd43, antal fel: 1613 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1212 st)
- Expected X and instead saw X. (totalt 234 st)
- Unnecessary escape character: \-. (totalt 94 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #13: -buildManifest., antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #13: -buildManifest., antal fel: 1614 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1213 st)
- Expected X and instead saw X. (totalt 234 st)
- Unnecessary escape character: \-. (totalt 94 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: -ssgManifest.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #14: -ssgManifest.js, antal fel: 1615 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1214 st)
- Expected X and instead saw X. (totalt 234 st)
- Unnecessary escape character: \-. (totalt 94 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #48: -5BmainPage-5D-, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #48: -5BmainPage-5D-, antal fel: 1617 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1216 st)
- Expected X and instead saw X. (totalt 234 st)
- Unnecessary escape character: \-. (totalt 94 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: -5BsubPage-5D-3, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #50: -5BsubPage-5D-3, antal fel: 1618 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1217 st)
- Expected X and instead saw X. (totalt 234 st)
- Unnecessary escape character: \-. (totalt 94 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)