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.21 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #1: Webbsida , antal fel: 71 ( 1.00 betyg )
- X is not defined. (totalt 65 st)
- X is defined but never used. (totalt 3 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 5 ( 4.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1960 ( 1.00 betyg )
- X is defined but never used. (totalt 1552 st)
- X is not defined. (totalt 243 st)
- Unexpected console statement. (totalt 157 st)
- X is assigned a value but never used. (totalt 5 st)
- Parsing error: X in strict mode (totalt 3 st)
- `content-type=".*javascript.*"` in: #14: f49d07b5-2b26-4, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #14: f49d07b5-2b26-4, antal fel: 42 ( 1.00 betyg )
- X is defined but never used. (totalt 28 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #28: ppms.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #28: ppms.js, antal fel: 62 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- `content-type=".*javascript.*"` in: #46: www.vansbro.se., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #46: www.vansbro.se., antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: browsealoud.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #68: browsealoud.js, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: 155.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #69: 155.4755a93fc50, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: 143.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #70: 143.4755a93fc50, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: 115.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #71: 115.4755a93fc50, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #72: 135.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #72: 135.4755a93fc50, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: 144.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #73: 144.4755a93fc50, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #74: 3.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #74: 3.4755a93fc5065, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #75: 2.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #75: 2.4755a93fc5065, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #76: 157.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #76: 157.4755a93fc50, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: 139.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: 139.4755a93fc50, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: Webbsida , antal fel: 36 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 19 st)
- Expected an assignment or function call and instead saw an expression. (totalt 16 st)
- Unnecessary escape character: \=. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 23 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 9650 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 6528 st)
- Expected X and instead saw X. (totalt 2842 st)
- Comparing to itself is potentially pointless. (totalt 63 st)
- Unnecessary X. (totalt 50 st)
- Do not access Object.prototype method X from target object. (totalt 47 st)
- The Function constructor is eval. (totalt 24 st)
- Unnecessary escape character: \/. (totalt 22 st)
- Unnecessary escape character: \-. (totalt 15 st)
- Async arrow function has no X expression. (totalt 9 st)
- Unnecessary escape character: \[. (totalt 8 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)
- X is assigned to itself. (totalt 4 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Parsing error: X in strict mode (totalt 3 st)
- Unnecessary escape character: \=. (totalt 2 st)
- Unnecessary escape character: \_. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: f49d07b5-2b26-4, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #14: f49d07b5-2b26-4, antal fel: 946 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 586 st)
- Expected X and instead saw X. (totalt 327 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #28: ppms.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #28: ppms.js, antal fel: 1212 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 848 st)
- Expected X and instead saw X. (totalt 330 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #46: www.vansbro.se., antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #46: www.vansbro.se., antal fel: 1212 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 848 st)
- Expected X and instead saw X. (totalt 330 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: browsealoud.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #68: browsealoud.js, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: 155.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #69: 155.4755a93fc50, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: 143.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #70: 143.4755a93fc50, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: 115.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #71: 115.4755a93fc50, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #72: 135.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #72: 135.4755a93fc50, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: 144.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #73: 144.4755a93fc50, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #74: 3.4755a93fc5065, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #74: 3.4755a93fc5065, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #75: 2.4755a93fc5065, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #75: 2.4755a93fc5065, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #76: 157.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #76: 157.4755a93fc50, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: 139.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #77: 139.4755a93fc50, antal fel: 1288 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 878 st)
- Expected X and instead saw X. (totalt 376 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)