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.86 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: sv, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: sv, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token < (totalt 1 st)
- `< script src="...">` in: #1: sv, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: sv, antal fel: 236 ( 1.00 betyg )
- X is not defined. (totalt 142 st)
- X is defined but never used. (totalt 71 st)
- Unexpected console statement. (totalt 12 st)
- X is assigned a value but never used. (totalt 11 st)
- `< script>` in: #8: MV6gG9EC5RM, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #8: MV6gG9EC5RM, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #7: app.min.0901c7f, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #7: app.min.0901c7f, antal fel: 6 ( 3.80 betyg )
- X is defined but never used. (totalt 5 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #19: app-vendor-flic, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #19: app-vendor-flic, antal fel: 6 ( 3.80 betyg )
- X is defined but never used. (totalt 5 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: app-Intro.4a75d, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #20: app-Intro.4a75d, antal fel: 7 ( 3.60 betyg )
- X is defined but never used. (totalt 6 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: app-vendor-js-c, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #21: app-vendor-js-c, antal fel: 8 ( 3.40 betyg )
- X is defined but never used. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #22: iframe-api, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #22: iframe-api, antal fel: 10 ( 3.00 betyg )
- X is defined but never used. (totalt 9 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #24: embed.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #24: embed.js, antal fel: 11 ( 2.80 betyg )
- X is defined but never used. (totalt 9 st)
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: www-embed-playe, antal fel: 106 ( 1.00 betyg )
- X is defined but never used. (totalt 93 st)
- X is assigned a value but never used. (totalt 5 st)
- Unexpected console statement. (totalt 5 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #26: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: base.js, antal fel: 336 ( 1.00 betyg )
- X is defined but never used. (totalt 297 st)
- X is assigned a value but never used. (totalt 17 st)
- Unexpected console statement. (totalt 15 st)
- X is not defined. (totalt 7 st)
- `content-type=".*javascript.*"` in: #35: www-widgetapi.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #35: www-widgetapi.j, antal fel: 353 ( 1.00 betyg )
- X is defined but never used. (totalt 307 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 17 st)
- X is not defined. (totalt 9 st)
- `content-type=".*javascript.*"` in: #37: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: ad-status.js, antal fel: 353 ( 1.00 betyg )
- X is defined but never used. (totalt 307 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 17 st)
- X is not defined. (totalt 9 st)
- `content-type=".*javascript.*"` in: #38: remote.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: remote.js, antal fel: 438 ( 1.00 betyg )
- X is defined but never used. (totalt 334 st)
- X is not defined. (totalt 66 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #39: rqDMfREJsMUq8q-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #39: rqDMfREJsMUq8q-, antal fel: 438 ( 1.00 betyg )
- X is defined but never used. (totalt 334 st)
- X is not defined. (totalt 66 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #44: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: cast-sender.js, antal fel: 442 ( 1.00 betyg )
- X is defined but never used. (totalt 338 st)
- X is not defined. (totalt 66 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #46: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #46: cast-sender.js, antal fel: 451 ( 1.00 betyg )
- X is defined but never used. (totalt 346 st)
- X is not defined. (totalt 66 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 18 st)
Integritet & säkerhet
- `< script>` in: #1: sv, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: sv, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token < (totalt 1 st)
- `< script src="...">` in: #1: sv, antal grupperade fel: 6 ( 3.80 betyg )
- `< script src="...">` in: #1: sv, antal fel: 293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 163 st)
- Expected X and instead saw X. (totalt 121 st)
- Do not access Object.prototype method X from target object. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `< script>` in: #8: MV6gG9EC5RM, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #8: MV6gG9EC5RM, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #7: app.min.0901c7f, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #7: app.min.0901c7f, antal fel: 125 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 98 st)
- Expected X and instead saw X. (totalt 25 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #19: app-vendor-flic, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #19: app-vendor-flic, antal fel: 306 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 240 st)
- Expected X and instead saw X. (totalt 63 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: app-Intro.4a75d, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #20: app-Intro.4a75d, antal fel: 419 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 318 st)
- Expected X and instead saw X. (totalt 98 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: app-vendor-js-c, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #21: app-vendor-js-c, antal fel: 525 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 415 st)
- Expected X and instead saw X. (totalt 106 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #22: iframe-api, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #22: iframe-api, antal fel: 533 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 415 st)
- Expected X and instead saw X. (totalt 106 st)
- Unnecessary escape character: \/. (totalt 8 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #24: embed.js, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #24: embed.js, antal fel: 619 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 493 st)
- Expected X and instead saw X. (totalt 114 st)
- Unnecessary escape character: \/. (totalt 8 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: www-embed-playe, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #25: www-embed-playe, antal fel: 2357 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1647 st)
- Expected X and instead saw X. (totalt 647 st)
- Do not access Object.prototype method X from target object. (totalt 19 st)
- X is assigned to itself. (totalt 14 st)
- Unnecessary X. (totalt 11 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #26: base.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #26: base.js, antal fel: 13479 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9158 st)
- Expected X and instead saw X. (totalt 4135 st)
- Do not access Object.prototype method X from target object. (totalt 61 st)
- X is assigned to itself. (totalt 43 st)
- Unnecessary X. (totalt 25 st)
- Unnecessary escape character: \/. (totalt 12 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)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: www-widgetapi.j, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #35: www-widgetapi.j, antal fel: 13690 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9258 st)
- Expected X and instead saw X. (totalt 4226 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: ad-status.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #37: ad-status.js, antal fel: 13690 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9258 st)
- Expected X and instead saw X. (totalt 4226 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: remote.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #38: remote.js, antal fel: 14470 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9720 st)
- Expected X and instead saw X. (totalt 4535 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 57 st)
- Unnecessary X. (totalt 26 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function 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)
- `content-type=".*javascript.*"` in: #39: rqDMfREJsMUq8q-, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #39: rqDMfREJsMUq8q-, antal fel: 14488 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9726 st)
- Expected X and instead saw X. (totalt 4546 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 57 st)
- Unnecessary X. (totalt 26 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #44: cast-sender.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #44: cast-sender.js, antal fel: 14510 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9737 st)
- Expected X and instead saw X. (totalt 4557 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 57 st)
- Unnecessary X. (totalt 26 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #46: cast-sender.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #46: cast-sender.js, antal fel: 14690 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9822 st)
- Expected X and instead saw X. (totalt 4636 st)
- Do not access Object.prototype method X from target object. (totalt 73 st)
- X is assigned to itself. (totalt 64 st)
- Unnecessary X. (totalt 29 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)