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.21 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: Webbsida , antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 414 ( 1.00 betyg )
- X is defined but never used. (totalt 262 st)
- X is not defined. (totalt 112 st)
- Unexpected console statement. (totalt 34 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #14: prum.min.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #14: prum.min.js, antal fel: 3 ( 4.40 betyg )
- Unexpected console statement. (totalt 2 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #23: recaptcha--sv.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #23: recaptcha--sv.j, antal fel: 103 ( 1.00 betyg )
- X is defined but never used. (totalt 79 st)
- X is not defined. (totalt 17 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #27: 6.c1c209c0b9d6e, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #27: 6.c1c209c0b9d6e, antal fel: 247 ( 1.00 betyg )
- X is defined but never used. (totalt 207 st)
- X is not defined. (totalt 19 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #29: 7.d1bdf7f6af08d, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #29: 7.d1bdf7f6af08d, antal fel: 276 ( 1.00 betyg )
- X is defined but never used. (totalt 229 st)
- X is not defined. (totalt 22 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #31: 30.9a01a288812b, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: 30.9a01a288812b, antal fel: 276 ( 1.00 betyg )
- X is defined but never used. (totalt 229 st)
- X is not defined. (totalt 22 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #32: 18.8600ae47976a, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #32: 18.8600ae47976a, antal fel: 278 ( 1.00 betyg )
- X is defined but never used. (totalt 229 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #33: 11.871b3fcbacc2, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #33: 11.871b3fcbacc2, antal fel: 281 ( 1.00 betyg )
- X is defined but never used. (totalt 231 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #34: 1.94362b96ced98, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #34: 1.94362b96ced98, antal fel: 282 ( 1.00 betyg )
- X is defined but never used. (totalt 232 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #35: 14.e200fadd2e9b, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #35: 14.e200fadd2e9b, antal fel: 282 ( 1.00 betyg )
- X is defined but never used. (totalt 232 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #36: 12.0a364725b23a, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: 12.0a364725b23a, antal fel: 284 ( 1.00 betyg )
- X is defined but never used. (totalt 234 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 5 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: Webbsida , antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 21 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3960 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2306 st)
- Expected X and instead saw X. (totalt 1473 st)
- Do not access Object.prototype method X from target object. (totalt 64 st)
- Unnecessary escape character: \/. (totalt 47 st)
- Unnecessary escape character: \[. (totalt 13 st)
- Unnecessary escape character: \_. (totalt 10 st)
- X is not modified in this loop. (totalt 8 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Script URL is a form of eval. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- The Function constructor is eval. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \#. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \=. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: prum.min.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #14: prum.min.js, antal fel: 21 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 18 st)
- Expected X and instead saw X. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #23: recaptcha--sv.j, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #23: recaptcha--sv.j, antal fel: 2286 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1643 st)
- Expected an assignment or function call and instead saw an expression. (totalt 592 st)
- Unnecessary escape character: \/. (totalt 9 st)
- X is assigned to itself. (totalt 6 st)
- Do not access Object.prototype method X from target object. (totalt 5 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #27: 6.c1c209c0b9d6e, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #27: 6.c1c209c0b9d6e, antal fel: 4490 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2252 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2152 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: 7.d1bdf7f6af08d, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #29: 7.d1bdf7f6af08d, antal fel: 4747 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2365 st)
- Expected X and instead saw X. (totalt 2286 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: 30.9a01a288812b, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #31: 30.9a01a288812b, antal fel: 4757 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2372 st)
- Expected X and instead saw X. (totalt 2289 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: 18.8600ae47976a, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #32: 18.8600ae47976a, antal fel: 4792 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2388 st)
- Expected X and instead saw X. (totalt 2308 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #33: 11.871b3fcbacc2, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #33: 11.871b3fcbacc2, antal fel: 4802 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2396 st)
- Expected X and instead saw X. (totalt 2310 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: 1.94362b96ced98, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #34: 1.94362b96ced98, antal fel: 4805 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2398 st)
- Expected X and instead saw X. (totalt 2311 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: 14.e200fadd2e9b, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #35: 14.e200fadd2e9b, antal fel: 4820 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2413 st)
- Expected X and instead saw X. (totalt 2311 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: 12.0a364725b23a, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #36: 12.0a364725b23a, antal fel: 4840 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2429 st)
- Expected X and instead saw X. (totalt 2315 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Unnecessary escape character: \ . (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- X is assigned to itself. (totalt 7 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)