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.80 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: 1054 ( 1.00 betyg )
- X is defined but never used. (totalt 579 st)
- X is not defined. (totalt 341 st)
- X is assigned a value but never used. (totalt 84 st)
- Unexpected console statement. (totalt 50 st)
- `< script>` in: #90: anchor, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #90: anchor, antal fel: 1 ( 4.80 betyg )
- X is not defined. (totalt 1 st)
- `< script src="...">` in: #90: anchor, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #90: anchor, antal fel: 100 ( 1.00 betyg )
- X is defined but never used. (totalt 79 st)
- X is not defined. (totalt 17 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: banner.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #71: banner.js, antal fel: 78 ( 1.00 betyg )
- X is defined but never used. (totalt 44 st)
- X is not defined. (totalt 27 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #74: mixqn4npeo, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #74: mixqn4npeo, antal fel: 78 ( 1.00 betyg )
- X is defined but never used. (totalt 44 st)
- X is not defined. (totalt 27 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #81: sdk.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #81: sdk.js, antal fel: 79 ( 1.00 betyg )
- X is defined but never used. (totalt 44 st)
- X is not defined. (totalt 27 st)
- Unexpected console statement. (totalt 7 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #82: clarity.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #82: clarity.js, antal fel: 100 ( 1.00 betyg )
- X is defined but never used. (totalt 64 st)
- X is not defined. (totalt 27 st)
- Unexpected console statement. (totalt 8 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #88: core.pt5ow5lr.j, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #88: core.pt5ow5lr.j, antal fel: 124 ( 1.00 betyg )
- X is defined but never used. (totalt 82 st)
- X is not defined. (totalt 28 st)
- Unexpected console statement. (totalt 11 st)
- X is assigned a value but never used. (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #92: recaptcha--sv.j, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #92: recaptcha--sv.j, antal fel: 224 ( 1.00 betyg )
- X is defined but never used. (totalt 161 st)
- X is not defined. (totalt 45 st)
- Unexpected console statement. (totalt 14 st)
- X is assigned a value but never used. (totalt 3 st)
- Parsing error: X in strict mode (totalt 1 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: 34 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3332 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2242 st)
- Expected X and instead saw X. (totalt 867 st)
- Do not access Object.prototype method X from target object. (totalt 118 st)
- Unnecessary escape character: \/. (totalt 22 st)
- X is assigned to itself. (totalt 14 st)
- Comparing to itself is potentially pointless. (totalt 9 st)
- The Function constructor is eval. (totalt 8 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary escape character: \%. (totalt 6 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \&. (totalt 3 st)
- Unnecessary escape character: \?. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \'. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \=. (totalt 1 st)
- Unnecessary escape character: \p. (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)
- 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)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unsafe usage of ReturnStatement. (totalt 1 st)
- `< script>` in: #87: sm.25.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #87: sm.25.html, antal fel: 6 ( 3.80 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3 st)
- Expected X and instead saw X. (totalt 3 st)
- `< script src="...">` in: #90: anchor, antal grupperade fel: 18 ( 1.40 betyg )
- `< script src="...">` in: #90: anchor, antal fel: 2431 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1769 st)
- Expected an assignment or function call and instead saw an expression. (totalt 612 st)
- Unnecessary escape character: \/. (totalt 9 st)
- X is assigned to itself. (totalt 5 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)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- X is not modified in this loop. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: banner.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #71: banner.js, antal fel: 291 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 212 st)
- Expected X and instead saw X. (totalt 61 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #74: mixqn4npeo, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #74: mixqn4npeo, antal fel: 295 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 215 st)
- Expected X and instead saw X. (totalt 62 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #81: sdk.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #81: sdk.js, antal fel: 296 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 215 st)
- Expected X and instead saw X. (totalt 62 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #82: clarity.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #82: clarity.js, antal fel: 644 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 517 st)
- Expected X and instead saw X. (totalt 106 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- `content-type=".*javascript.*"` in: #88: core.pt5ow5lr.j, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #88: core.pt5ow5lr.j, antal fel: 961 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 678 st)
- Expected X and instead saw X. (totalt 247 st)
- X is assigned to itself. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Parsing error: X in strict mode (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: #92: recaptcha--sv.j, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #92: recaptcha--sv.j, antal fel: 3392 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2016 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1290 st)
- Unnecessary escape character: \/. (totalt 12 st)
- X is assigned to itself. (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \^. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)