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.79 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: 1306 ( 1.00 betyg )
- X is not defined. (totalt 662 st)
- X is defined but never used. (totalt 532 st)
- X is assigned a value but never used. (totalt 94 st)
- Unexpected console statement. (totalt 18 st)
- `< script>` in: #126: UbnnmDHDafw, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #126: UbnnmDHDafw, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #116: dialog.min.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #116: dialog.min.js, antal fel: 7 ( 3.60 betyg )
- X is not defined. (totalt 6 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #117: nav-menu.a23fbd, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #117: nav-menu.a23fbd, antal fel: 17 ( 1.60 betyg )
- X is not defined. (totalt 15 st)
- Unexpected console statement. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #118: search-form.b70, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #118: search-form.b70, antal fel: 19 ( 1.20 betyg )
- X is not defined. (totalt 17 st)
- Unexpected console statement. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #119: text-editor.c08, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #119: text-editor.c08, antal fel: 22 ( 1.00 betyg )
- X is not defined. (totalt 20 st)
- Unexpected console statement. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #120: video.6ebfa2c3f, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #120: video.6ebfa2c3f, antal fel: 29 ( 1.00 betyg )
- X is not defined. (totalt 27 st)
- Unexpected console statement. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #121: media-carousel., antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #121: media-carousel., antal fel: 37 ( 1.00 betyg )
- X is not defined. (totalt 35 st)
- Unexpected console statement. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #123: iframe-api, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #123: iframe-api, antal fel: 39 ( 1.00 betyg )
- X is not defined. (totalt 35 st)
- X is defined but never used. (totalt 3 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #124: www-widgetapi.j, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #124: www-widgetapi.j, antal fel: 56 ( 1.00 betyg )
- X is not defined. (totalt 37 st)
- X is defined but never used. (totalt 13 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #130: embed.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #130: embed.js, antal fel: 57 ( 1.00 betyg )
- X is not defined. (totalt 38 st)
- X is defined but never used. (totalt 13 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #131: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #131: www-embed-playe, antal fel: 152 ( 1.00 betyg )
- X is defined but never used. (totalt 97 st)
- X is not defined. (totalt 40 st)
- Unexpected console statement. (totalt 11 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #132: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #132: base.js, antal fel: 382 ( 1.00 betyg )
- X is defined but never used. (totalt 301 st)
- X is not defined. (totalt 44 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #133: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #133: ad-status.js, antal fel: 382 ( 1.00 betyg )
- X is defined but never used. (totalt 301 st)
- X is not defined. (totalt 44 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #134: remote.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #134: remote.js, antal fel: 467 ( 1.00 betyg )
- X is defined but never used. (totalt 328 st)
- X is not defined. (totalt 101 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #135: rqDMfREJsMUq8q-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #135: rqDMfREJsMUq8q-, antal fel: 467 ( 1.00 betyg )
- X is defined but never used. (totalt 328 st)
- X is not defined. (totalt 101 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #140: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #140: cast-sender.js, antal fel: 471 ( 1.00 betyg )
- X is defined but never used. (totalt 332 st)
- X is not defined. (totalt 101 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #142: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #142: cast-sender.js, antal fel: 480 ( 1.00 betyg )
- X is defined but never used. (totalt 340 st)
- X is not defined. (totalt 101 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (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: 21 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 4414 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3252 st)
- Expected X and instead saw X. (totalt 919 st)
- Do not access Object.prototype method X from target object. (totalt 96 st)
- Unnecessary escape character: \-. (totalt 93 st)
- Unnecessary escape character: \/. (totalt 12 st)
- X is assigned to itself. (totalt 8 st)
- X is not modified in this loop. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 4 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 escape character: \[. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Async function X has no X expression. (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)
- Unnecessary escape character: \:. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `< script>` in: #126: UbnnmDHDafw, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #126: UbnnmDHDafw, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #116: dialog.min.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #116: dialog.min.js, antal fel: 37 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 31 st)
- Expected X and instead saw X. (totalt 6 st)
- `content-type=".*javascript.*"` in: #117: nav-menu.a23fbd, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #117: nav-menu.a23fbd, antal fel: 53 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 46 st)
- Expected X and instead saw X. (totalt 7 st)
- `content-type=".*javascript.*"` in: #118: search-form.b70, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #118: search-form.b70, antal fel: 59 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 52 st)
- Expected X and instead saw X. (totalt 7 st)
- `content-type=".*javascript.*"` in: #119: text-editor.c08, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #119: text-editor.c08, antal fel: 63 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 56 st)
- Expected X and instead saw X. (totalt 7 st)
- `content-type=".*javascript.*"` in: #120: video.6ebfa2c3f, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #120: video.6ebfa2c3f, antal fel: 74 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 67 st)
- Expected X and instead saw X. (totalt 7 st)
- `content-type=".*javascript.*"` in: #121: media-carousel., antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #121: media-carousel., antal fel: 86 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 79 st)
- Expected X and instead saw X. (totalt 7 st)
- `content-type=".*javascript.*"` in: #123: iframe-api, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #123: iframe-api, antal fel: 94 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 79 st)
- Expected X and instead saw X. (totalt 7 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #124: www-widgetapi.j, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #124: www-widgetapi.j, antal fel: 305 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 179 st)
- Expected X and instead saw X. (totalt 98 st)
- X is assigned to itself. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- `content-type=".*javascript.*"` in: #130: embed.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #130: embed.js, antal fel: 391 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 257 st)
- Expected X and instead saw X. (totalt 106 st)
- X is assigned to itself. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- `content-type=".*javascript.*"` in: #131: www-embed-playe, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #131: www-embed-playe, antal fel: 2129 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1411 st)
- Expected X and instead saw X. (totalt 639 st)
- Do not access Object.prototype method X from target object. (totalt 26 st)
- X is assigned to itself. (totalt 23 st)
- Unnecessary X. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 9 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #132: base.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #132: base.js, antal fel: 13251 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8922 st)
- Expected X and instead saw X. (totalt 4127 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 11 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)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #133: ad-status.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #133: ad-status.js, antal fel: 13251 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8922 st)
- Expected X and instead saw X. (totalt 4127 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 11 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)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #134: remote.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #134: remote.js, antal fel: 14031 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9384 st)
- Expected X and instead saw X. (totalt 4436 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 12 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)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #135: rqDMfREJsMUq8q-, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #135: rqDMfREJsMUq8q-, antal fel: 14049 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9390 st)
- Expected X and instead saw X. (totalt 4447 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 12 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)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #140: cast-sender.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #140: cast-sender.js, antal fel: 14071 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9401 st)
- Expected X and instead saw X. (totalt 4458 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 12 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)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #142: cast-sender.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #142: cast-sender.js, antal fel: 14251 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9486 st)
- Expected X and instead saw X. (totalt 4537 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 12 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)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)