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.96 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: 263 ( 1.00 betyg )
- X is not defined. (totalt 216 st)
- X is defined but never used. (totalt 44 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 1 st)
- `< script>` in: #66: PObhvAV2Dbk, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #66: PObhvAV2Dbk, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `< script>` in: #81: PObhvAV2Dbk, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #81: PObhvAV2Dbk, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #60: recaptcha--fi.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #60: recaptcha--fi.j, 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: #72: embed.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #72: embed.js, antal fel: 101 ( 1.00 betyg )
- X is defined but never used. (totalt 79 st)
- X is not defined. (totalt 18 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #73: www-embed-playe, antal fel: 198 ( 1.00 betyg )
- X is defined but never used. (totalt 165 st)
- X is not defined. (totalt 20 st)
- Unexpected console statement. (totalt 8 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #74: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #74: base.js, antal fel: 436 ( 1.00 betyg )
- X is defined but never used. (totalt 377 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #77: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: ad-status.js, antal fel: 436 ( 1.00 betyg )
- X is defined but never used. (totalt 377 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #78: remote.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: remote.js, antal fel: 521 ( 1.00 betyg )
- X is defined but never used. (totalt 404 st)
- X is not defined. (totalt 81 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #86: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #86: cast-sender.js, antal fel: 525 ( 1.00 betyg )
- X is defined but never used. (totalt 408 st)
- X is not defined. (totalt 81 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #91: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #91: cast-sender.js, antal fel: 534 ( 1.00 betyg )
- X is defined but never used. (totalt 416 st)
- X is not defined. (totalt 81 st)
- Unexpected console statement. (totalt 19 st)
- X is assigned a value but never used. (totalt 18 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: 7 ( 3.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 478 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 271 st)
- Expected X and instead saw X. (totalt 197 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `< script>` in: #66: PObhvAV2Dbk, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #66: PObhvAV2Dbk, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `< script>` in: #81: PObhvAV2Dbk, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #81: PObhvAV2Dbk, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #60: recaptcha--fi.j, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #60: recaptcha--fi.j, antal fel: 2419 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1745 st)
- Expected an assignment or function call and instead saw an expression. (totalt 624 st)
- Unnecessary escape character: \/. (totalt 9 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 4 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)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- eval can be harmful. (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: #72: embed.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #72: embed.js, antal fel: 2503 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1753 st)
- Expected an assignment or function call and instead saw an expression. (totalt 700 st)
- Unnecessary escape character: \/. (totalt 9 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 4 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)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- eval can be harmful. (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: #73: www-embed-playe, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #73: www-embed-playe, antal fel: 4313 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2325 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1882 st)
- Do not access Object.prototype method X from target object. (totalt 22 st)
- X is assigned to itself. (totalt 20 st)
- Unnecessary X. (totalt 13 st)
- Unnecessary escape character: \/. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 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 escape character: \+. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #74: base.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #74: base.js, antal fel: 15305 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9257 st)
- Expected X and instead saw X. (totalt 5820 st)
- Do not access Object.prototype method X from target object. (totalt 63 st)
- X is assigned to itself. (totalt 49 st)
- Unnecessary X. (totalt 27 st)
- Unnecessary escape character: \?. (totalt 18 st)
- Unnecessary escape character: \/. (totalt 14 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unnecessary escape character: \). (totalt 9 st)
- Unnecessary escape character: \-. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 4 st)
- X is not modified in this loop. (totalt 2 st)
- eval can be harmful. (totalt 2 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: #77: ad-status.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #77: ad-status.js, antal fel: 15305 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9257 st)
- Expected X and instead saw X. (totalt 5820 st)
- Do not access Object.prototype method X from target object. (totalt 63 st)
- X is assigned to itself. (totalt 49 st)
- Unnecessary X. (totalt 27 st)
- Unnecessary escape character: \?. (totalt 18 st)
- Unnecessary escape character: \/. (totalt 14 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unnecessary escape character: \). (totalt 9 st)
- Unnecessary escape character: \-. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 4 st)
- X is not modified in this loop. (totalt 2 st)
- eval can be harmful. (totalt 2 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: #78: remote.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #78: remote.js, antal fel: 16080 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9718 st)
- Expected X and instead saw X. (totalt 6126 st)
- Do not access Object.prototype method X from target object. (totalt 63 st)
- X is assigned to itself. (totalt 54 st)
- Unnecessary X. (totalt 27 st)
- Unnecessary escape character: \?. (totalt 18 st)
- Unnecessary escape character: \/. (totalt 15 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \). (totalt 9 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 4 st)
- eval can be harmful. (totalt 3 st)
- X is not modified in this loop. (totalt 2 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: #86: cast-sender.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #86: cast-sender.js, antal fel: 16102 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9729 st)
- Expected X and instead saw X. (totalt 6137 st)
- Do not access Object.prototype method X from target object. (totalt 63 st)
- X is assigned to itself. (totalt 54 st)
- Unnecessary X. (totalt 27 st)
- Unnecessary escape character: \?. (totalt 18 st)
- Unnecessary escape character: \/. (totalt 15 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \). (totalt 9 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 4 st)
- eval can be harmful. (totalt 3 st)
- X is not modified in this loop. (totalt 2 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: #91: cast-sender.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #91: cast-sender.js, antal fel: 16282 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9812 st)
- Expected X and instead saw X. (totalt 6218 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 61 st)
- Unnecessary X. (totalt 30 st)
- Unnecessary escape character: \?. (totalt 18 st)
- Unnecessary escape character: \/. (totalt 15 st)
- Comparing to itself is potentially pointless. (totalt 13 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \). (totalt 9 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 4 st)
- eval can be harmful. (totalt 3 st)
- X is not modified in this loop. (totalt 2 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)