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: 4.06 av 5
- JS är bra.
Webbstandard
- `< script>` in: #59: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #59: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #66: iframe-api, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #66: iframe-api, antal fel: 2 ( 4.60 betyg )
- X is defined but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #67: counter.12335f4, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #67: counter.12335f4, antal fel: 2 ( 4.60 betyg )
- X is defined but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #70: swiper.min.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #70: swiper.min.js, antal fel: 2 ( 4.60 betyg )
- X is defined but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #71: www-widgetapi.j, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #71: www-widgetapi.j, antal fel: 19 ( 1.20 betyg )
- X is defined but never used. (totalt 12 st)
- Unexpected console statement. (totalt 5 st)
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #76: embed.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #76: embed.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 12 st)
- Unexpected console statement. (totalt 5 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #77: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: www-embed-playe, antal fel: 117 ( 1.00 betyg )
- X is defined but never used. (totalt 98 st)
- Unexpected console statement. (totalt 10 st)
- X is not defined. (totalt 5 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #78: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: base.js, antal fel: 355 ( 1.00 betyg )
- X is defined but never used. (totalt 310 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 16 st)
- X is not defined. (totalt 9 st)
- `content-type=".*javascript.*"` in: #81: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #81: ad-status.js, antal fel: 355 ( 1.00 betyg )
- X is defined but never used. (totalt 310 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 16 st)
- X is not defined. (totalt 9 st)
- `content-type=".*javascript.*"` in: #82: sw3VTUzeRvWIVwv, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #82: sw3VTUzeRvWIVwv, antal fel: 355 ( 1.00 betyg )
- X is defined but never used. (totalt 310 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 16 st)
- X is not defined. (totalt 9 st)
- `content-type=".*javascript.*"` in: #91: endscreen.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #91: endscreen.js, antal fel: 355 ( 1.00 betyg )
- X is defined but never used. (totalt 310 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 16 st)
- X is not defined. (totalt 9 st)
Integritet & säkerhet
- `< script>` in: #59: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #59: 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)
- `content-type=".*javascript.*"` in: #66: iframe-api, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #66: iframe-api, antal fel: 8 ( 3.40 betyg )
- Unnecessary escape character: \/. (totalt 7 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #67: counter.12335f4, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #67: counter.12335f4, antal fel: 8 ( 3.40 betyg )
- Unnecessary escape character: \/. (totalt 7 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: swiper.min.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #70: swiper.min.js, antal fel: 8 ( 3.40 betyg )
- Unnecessary escape character: \/. (totalt 7 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: www-widgetapi.j, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #71: www-widgetapi.j, antal fel: 215 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 99 st)
- Expected X and instead saw X. (totalt 90 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 2 st)
- `content-type=".*javascript.*"` in: #76: embed.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #76: embed.js, antal fel: 299 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 175 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 2 st)
- `content-type=".*javascript.*"` in: #77: www-embed-playe, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #77: www-embed-playe, antal fel: 2109 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1357 st)
- Expected X and instead saw X. (totalt 670 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)
- Unnecessary escape character: \/. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 7 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #78: base.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #78: base.js, antal fel: 13101 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8732 st)
- Expected X and instead saw X. (totalt 4165 st)
- Do not access Object.prototype method X from target object. (totalt 67 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Unnecessary escape character: \?. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 12 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: #81: ad-status.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #81: ad-status.js, antal fel: 13101 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8732 st)
- Expected X and instead saw X. (totalt 4165 st)
- Do not access Object.prototype method X from target object. (totalt 67 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Unnecessary escape character: \?. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 12 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: #82: sw3VTUzeRvWIVwv, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #82: sw3VTUzeRvWIVwv, antal fel: 13117 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8736 st)
- Expected X and instead saw X. (totalt 4176 st)
- Do not access Object.prototype method X from target object. (totalt 67 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Unnecessary escape character: \?. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 12 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)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #91: endscreen.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #91: endscreen.js, antal fel: 13117 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8736 st)
- Expected X and instead saw X. (totalt 4176 st)
- Do not access Object.prototype method X from target object. (totalt 67 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Unnecessary escape character: \?. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 12 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)
- eval can be harmful. (totalt 1 st)