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.46 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 6 ( 3.80 betyg )
- X is not defined. (totalt 5 st)
- X is defined but never used. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 462 ( 1.00 betyg )
- X is not defined. (totalt 250 st)
- X is defined but never used. (totalt 174 st)
- Unexpected console statement. (totalt 37 st)
- X is assigned a value but never used. (totalt 1 st)
- `< script>` in: #9: cookiesharingif, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #9: cookiesharingif, antal fel: 8 ( 3.40 betyg )
- X is defined but never used. (totalt 3 st)
- Unexpected console statement. (totalt 3 st)
- X is not defined. (totalt 2 st)
- `< script>` in: #11: 377t5jtXODA, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #11: 377t5jtXODA, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #10: 676edcc6-319c-4, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #10: 676edcc6-319c-4, antal fel: 42 ( 1.00 betyg )
- X is defined but never used. (totalt 28 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #14: ai.0.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #14: ai.0.js, antal fel: 69 ( 1.00 betyg )
- X is defined but never used. (totalt 50 st)
- Unexpected console statement. (totalt 15 st)
- X is not defined. (totalt 4 st)
- `content-type=".*javascript.*"` in: #16: sv.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #16: sv.js, antal fel: 70 ( 1.00 betyg )
- X is defined but never used. (totalt 50 st)
- Unexpected console statement. (totalt 15 st)
- X is not defined. (totalt 5 st)
- `content-type=".*javascript.*"` in: #21: embed.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #21: embed.js, antal fel: 71 ( 1.00 betyg )
- X is defined but never used. (totalt 50 st)
- Unexpected console statement. (totalt 15 st)
- X is not defined. (totalt 6 st)
- `content-type=".*javascript.*"` in: #22: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #22: www-embed-playe, antal fel: 166 ( 1.00 betyg )
- X is defined but never used. (totalt 134 st)
- Unexpected console statement. (totalt 20 st)
- X is not defined. (totalt 8 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #23: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #23: base.js, antal fel: 396 ( 1.00 betyg )
- X is defined but never used. (totalt 338 st)
- Unexpected console statement. (totalt 30 st)
- X is assigned a value but never used. (totalt 16 st)
- X is not defined. (totalt 12 st)
- `content-type=".*javascript.*"` in: #24: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #24: ad-status.js, antal fel: 396 ( 1.00 betyg )
- X is defined but never used. (totalt 338 st)
- Unexpected console statement. (totalt 30 st)
- X is assigned a value but never used. (totalt 16 st)
- X is not defined. (totalt 12 st)
- `content-type=".*javascript.*"` in: #25: remote.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: remote.js, antal fel: 481 ( 1.00 betyg )
- X is defined but never used. (totalt 365 st)
- X is not defined. (totalt 69 st)
- Unexpected console statement. (totalt 30 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #26: -vAZRY36HfmPKeR, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: -vAZRY36HfmPKeR, antal fel: 481 ( 1.00 betyg )
- X is defined but never used. (totalt 365 st)
- X is not defined. (totalt 69 st)
- Unexpected console statement. (totalt 30 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #31: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: cast-sender.js, antal fel: 485 ( 1.00 betyg )
- X is defined but never used. (totalt 369 st)
- X is not defined. (totalt 69 st)
- Unexpected console statement. (totalt 30 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #33: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #33: cast-sender.js, antal fel: 494 ( 1.00 betyg )
- X is defined but never used. (totalt 377 st)
- X is not defined. (totalt 69 st)
- Unexpected console statement. (totalt 31 st)
- X is assigned a value but never used. (totalt 17 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 23 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 20 st)
- Expected X and instead saw X. (totalt 3 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 27 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1654 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 987 st)
- Expected X and instead saw X. (totalt 496 st)
- Unnecessary escape character: \-. (totalt 20 st)
- Unnecessary escape character: \/. (totalt 19 st)
- Do not access Object.prototype method X from target object. (totalt 16 st)
- Unnecessary escape character: \). (totalt 13 st)
- Unnecessary escape character: \(. (totalt 10 st)
- Unnecessary X. (totalt 10 st)
- Unnecessary escape character: \[. (totalt 9 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \$. (totalt 9 st)
- Unnecessary escape character: \*. (totalt 8 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \{. (totalt 4 st)
- Unnecessary escape character: \}. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 4 st)
- Unnecessary escape character: \|. (totalt 4 st)
- Script URL is a form of eval. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \ . (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- `< script>` in: #9: cookiesharingif, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #9: cookiesharingif, antal fel: 80 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 47 st)
- Expected an assignment or function call and instead saw an expression. (totalt 33 st)
- `< script>` in: #11: 377t5jtXODA, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #11: 377t5jtXODA, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #10: 676edcc6-319c-4, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #10: 676edcc6-319c-4, antal fel: 946 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 586 st)
- Expected X and instead saw X. (totalt 327 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: ai.0.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #14: ai.0.js, antal fel: 1265 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 807 st)
- Expected X and instead saw X. (totalt 418 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 5 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: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #16: sv.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #16: sv.js, antal fel: 1265 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 807 st)
- Expected X and instead saw X. (totalt 418 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 5 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: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: embed.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #21: embed.js, antal fel: 1351 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 885 st)
- Expected X and instead saw X. (totalt 426 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 5 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: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #22: www-embed-playe, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #22: www-embed-playe, antal fel: 3089 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2039 st)
- Expected X and instead saw X. (totalt 959 st)
- Do not access Object.prototype method X from target object. (totalt 30 st)
- Unnecessary X. (totalt 16 st)
- X is assigned to itself. (totalt 14 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 5 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: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #23: base.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #23: base.js, antal fel: 14211 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9550 st)
- Expected X and instead saw X. (totalt 4447 st)
- Do not access Object.prototype method X from target object. (totalt 72 st)
- X is assigned to itself. (totalt 43 st)
- Unnecessary X. (totalt 30 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unnecessary escape character: \). (totalt 6 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (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: #24: ad-status.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #24: ad-status.js, antal fel: 14211 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9550 st)
- Expected X and instead saw X. (totalt 4447 st)
- Do not access Object.prototype method X from target object. (totalt 72 st)
- X is assigned to itself. (totalt 43 st)
- Unnecessary X. (totalt 30 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unnecessary escape character: \). (totalt 6 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (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: #25: remote.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #25: remote.js, antal fel: 14991 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10012 st)
- Expected X and instead saw X. (totalt 4756 st)
- Do not access Object.prototype method X from target object. (totalt 72 st)
- X is assigned to itself. (totalt 48 st)
- Unnecessary X. (totalt 31 st)
- Unnecessary escape character: \-. (totalt 12 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (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: #26: -vAZRY36HfmPKeR, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #26: -vAZRY36HfmPKeR, antal fel: 15008 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10017 st)
- Expected X and instead saw X. (totalt 4767 st)
- Do not access Object.prototype method X from target object. (totalt 72 st)
- X is assigned to itself. (totalt 48 st)
- Unnecessary X. (totalt 31 st)
- Unnecessary escape character: \-. (totalt 12 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- eval can be harmful. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (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: #31: cast-sender.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #31: cast-sender.js, antal fel: 15030 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10028 st)
- Expected X and instead saw X. (totalt 4778 st)
- Do not access Object.prototype method X from target object. (totalt 72 st)
- X is assigned to itself. (totalt 48 st)
- Unnecessary X. (totalt 31 st)
- Unnecessary escape character: \-. (totalt 12 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- eval can be harmful. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (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: #33: cast-sender.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #33: cast-sender.js, antal fel: 15210 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10113 st)
- Expected X and instead saw X. (totalt 4857 st)
- Do not access Object.prototype method X from target object. (totalt 77 st)
- X is assigned to itself. (totalt 55 st)
- Unnecessary X. (totalt 34 st)
- Unnecessary escape character: \-. (totalt 12 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 11 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- eval can be harmful. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)