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.98 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: 5 ( 4.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 638 ( 1.00 betyg )
- X is not defined. (totalt 440 st)
- X is defined but never used. (totalt 134 st)
- Unexpected console statement. (totalt 45 st)
- X is assigned a value but never used. (totalt 18 st)
- Rule "no-unused-expressions" is already configured by another configuration comment in the preceding code. This configuration is ignored. (totalt 1 st)
- `< script>` in: #42: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #42: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `< script>` in: #43: Cu8uAYKLlKw, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #43: Cu8uAYKLlKw, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #29: configuration.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #29: configuration.j, antal fel: 4 ( 4.20 betyg )
- X is not defined. (totalt 4 st)
- `content-type=".*javascript.*"` in: #30: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #30: cc.js, antal fel: 32 ( 1.00 betyg )
- X is not defined. (totalt 13 st)
- X is defined but never used. (totalt 12 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #45: embed.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: embed.js, antal fel: 33 ( 1.00 betyg )
- X is not defined. (totalt 14 st)
- X is defined but never used. (totalt 12 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #46: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #46: www-embed-playe, antal fel: 128 ( 1.00 betyg )
- X is defined but never used. (totalt 96 st)
- X is not defined. (totalt 16 st)
- X is assigned a value but never used. (totalt 10 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #47: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: base.js, antal fel: 358 ( 1.00 betyg )
- X is defined but never used. (totalt 300 st)
- X is assigned a value but never used. (totalt 22 st)
- X is not defined. (totalt 20 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #50: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #50: ad-status.js, antal fel: 358 ( 1.00 betyg )
- X is defined but never used. (totalt 300 st)
- X is assigned a value but never used. (totalt 22 st)
- X is not defined. (totalt 20 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #51: remote.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #51: remote.js, antal fel: 443 ( 1.00 betyg )
- X is defined but never used. (totalt 327 st)
- X is not defined. (totalt 77 st)
- X is assigned a value but never used. (totalt 23 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #52: mb36QiQZpRAdIpv, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #52: mb36QiQZpRAdIpv, antal fel: 443 ( 1.00 betyg )
- X is defined but never used. (totalt 327 st)
- X is not defined. (totalt 77 st)
- X is assigned a value but never used. (totalt 23 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #57: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #57: cast-sender.js, antal fel: 447 ( 1.00 betyg )
- X is defined but never used. (totalt 331 st)
- X is not defined. (totalt 77 st)
- X is assigned a value but never used. (totalt 23 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #59: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #59: cast-sender.js, antal fel: 456 ( 1.00 betyg )
- X is defined but never used. (totalt 339 st)
- X is not defined. (totalt 77 st)
- X is assigned a value but never used. (totalt 23 st)
- Unexpected console statement. (totalt 17 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: 12 ( 2.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 602 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 368 st)
- Expected X and instead saw X. (totalt 198 st)
- eval can be harmful. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 9 st)
- Unnecessary escape character: \/. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Rule "no-unused-expressions" is already configured by another configuration comment in the preceding code. This configuration is ignored. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `< script>` in: #42: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #42: bc-v4.min.html, antal fel: 2 ( 4.60 betyg )
- Expected X and instead saw X. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `< script>` in: #43: Cu8uAYKLlKw, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #43: Cu8uAYKLlKw, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #30: cc.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #30: cc.js, antal fel: 347 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 306 st)
- Expected X and instead saw X. (totalt 36 st)
- Script URL is a form of eval. (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: #45: embed.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #45: embed.js, antal fel: 433 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 384 st)
- Expected X and instead saw X. (totalt 44 st)
- Script URL is a form of eval. (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: #46: www-embed-playe, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #46: www-embed-playe, antal fel: 2171 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1538 st)
- Expected X and instead saw X. (totalt 577 st)
- Do not access Object.prototype method X from target object. (totalt 18 st)
- X is assigned to itself. (totalt 14 st)
- Unnecessary X. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 2 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: #47: base.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #47: base.js, antal fel: 13293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9049 st)
- Expected X and instead saw X. (totalt 4065 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is assigned to itself. (totalt 43 st)
- Unnecessary X. (totalt 25 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 4 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \). (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)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: ad-status.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #50: ad-status.js, antal fel: 13293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9049 st)
- Expected X and instead saw X. (totalt 4065 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is assigned to itself. (totalt 43 st)
- Unnecessary X. (totalt 25 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 4 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \). (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)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #51: remote.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #51: remote.js, antal fel: 14073 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9511 st)
- Expected X and instead saw X. (totalt 4374 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is assigned to itself. (totalt 48 st)
- Unnecessary X. (totalt 26 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)
- Unnecessary escape character: \/. (totalt 5 st)
- Script URL is a form of eval. (totalt 4 st)
- Unnecessary escape character: \). (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)
- Unnecessary escape character: \^. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: mb36QiQZpRAdIpv, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #52: mb36QiQZpRAdIpv, antal fel: 14088 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9514 st)
- Expected X and instead saw X. (totalt 4385 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is assigned to itself. (totalt 48 st)
- Unnecessary X. (totalt 26 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)
- Unnecessary escape character: \/. (totalt 5 st)
- Script URL is a form of eval. (totalt 4 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (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: #57: cast-sender.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #57: cast-sender.js, antal fel: 14110 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9525 st)
- Expected X and instead saw X. (totalt 4396 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is assigned to itself. (totalt 48 st)
- Unnecessary X. (totalt 26 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)
- Unnecessary escape character: \/. (totalt 5 st)
- Script URL is a form of eval. (totalt 4 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (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: #59: cast-sender.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #59: cast-sender.js, antal fel: 14290 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9610 st)
- Expected X and instead saw X. (totalt 4475 st)
- Do not access Object.prototype method X from target object. (totalt 65 st)
- X is assigned to itself. (totalt 55 st)
- Unnecessary X. (totalt 29 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)
- Unnecessary escape character: \/. (totalt 5 st)
- Script URL is a form of eval. (totalt 4 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)