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.13 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 cookieImage (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 519 ( 1.00 betyg )
- X is defined but never used. (totalt 299 st)
- X is not defined. (totalt 164 st)
- Unexpected console statement. (totalt 48 st)
- Parsing error: X in strict mode (totalt 8 st)
- `content-type=".*javascript.*"` in: #14: ee5e37c5-df78-4, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #14: ee5e37c5-df78-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: #43: www.uka.se.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: www.uka.se.js, antal fel: 43 ( 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)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: browsealoud.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #52: browsealoud.js, antal fel: 53 ( 1.00 betyg )
- X is defined but never used. (totalt 36 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #54: 155.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #54: 155.4755a93fc50, antal fel: 69 ( 1.00 betyg )
- X is defined but never used. (totalt 51 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #55: 143.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #55: 143.4755a93fc50, antal fel: 94 ( 1.00 betyg )
- X is defined but never used. (totalt 61 st)
- Unexpected console statement. (totalt 16 st)
- X is not defined. (totalt 15 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #56: 115.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #56: 115.4755a93fc50, antal fel: 94 ( 1.00 betyg )
- X is defined but never used. (totalt 61 st)
- Unexpected console statement. (totalt 16 st)
- X is not defined. (totalt 15 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #57: 135.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #57: 135.4755a93fc50, antal fel: 149 ( 1.00 betyg )
- X is defined but never used. (totalt 106 st)
- Unexpected console statement. (totalt 21 st)
- X is not defined. (totalt 20 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #58: 144.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #58: 144.4755a93fc50, antal fel: 169 ( 1.00 betyg )
- X is defined but never used. (totalt 117 st)
- X is not defined. (totalt 29 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #59: 3.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #59: 3.4755a93fc5065, antal fel: 428 ( 1.00 betyg )
- X is defined but never used. (totalt 245 st)
- X is not defined. (totalt 125 st)
- Unexpected console statement. (totalt 52 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #60: 2.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #60: 2.4755a93fc5065, antal fel: 468 ( 1.00 betyg )
- X is defined but never used. (totalt 267 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 56 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #61: 157.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #61: 157.4755a93fc50, antal fel: 476 ( 1.00 betyg )
- X is defined but never used. (totalt 275 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 56 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #62: 139.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #62: 139.4755a93fc50, antal fel: 483 ( 1.00 betyg )
- X is defined but never used. (totalt 282 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 56 st)
- X is assigned a value but never used. (totalt 6 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 cookieImage (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 23 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3802 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2462 st)
- Expected X and instead saw X. (totalt 1153 st)
- Do not access Object.prototype method X from target object. (totalt 43 st)
- Comparing to itself is potentially pointless. (totalt 24 st)
- Unnecessary X. (totalt 19 st)
- The Function constructor is eval. (totalt 19 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Async arrow function has no X expression. (totalt 9 st)
- X is assigned to itself. (totalt 8 st)
- Parsing error: X in strict mode (totalt 8 st)
- Unsafe usage of ThrowStatement. (totalt 6 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \=. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \_. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \}. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: ee5e37c5-df78-4, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #14: ee5e37c5-df78-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: #43: www.uka.se.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #43: www.uka.se.js, 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: #52: browsealoud.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #52: browsealoud.js, antal fel: 1022 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 616 st)
- Expected X and instead saw X. (totalt 373 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: #54: 155.4755a93fc50, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #54: 155.4755a93fc50, antal fel: 1044 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 629 st)
- Expected X and instead saw X. (totalt 379 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- The Function constructor is 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: #55: 143.4755a93fc50, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #55: 143.4755a93fc50, antal fel: 1108 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 654 st)
- Expected X and instead saw X. (totalt 405 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \*. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- `content-type=".*javascript.*"` in: #56: 115.4755a93fc50, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #56: 115.4755a93fc50, antal fel: 1109 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 655 st)
- Expected X and instead saw X. (totalt 405 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \*. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- `content-type=".*javascript.*"` in: #57: 135.4755a93fc50, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #57: 135.4755a93fc50, antal fel: 1929 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1111 st)
- Expected X and instead saw X. (totalt 724 st)
- Do not access Object.prototype method X from target object. (totalt 44 st)
- Unnecessary escape character: \-. (totalt 8 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 5 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \*. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #58: 144.4755a93fc50, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #58: 144.4755a93fc50, antal fel: 1979 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1142 st)
- Expected X and instead saw X. (totalt 743 st)
- Do not access Object.prototype method X from target object. (totalt 44 st)
- Unnecessary escape character: \-. (totalt 8 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 5 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \*. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #59: 3.4755a93fc5065, antal grupperade fel: 25 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #59: 3.4755a93fc5065, antal fel: 4880 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2904 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1864 st)
- Do not access Object.prototype method X from target object. (totalt 53 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 5 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \*. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \^. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #60: 2.4755a93fc5065, antal grupperade fel: 25 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #60: 2.4755a93fc5065, antal fel: 5271 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 3091 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2053 st)
- Do not access Object.prototype method X from target object. (totalt 53 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 7 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- X is not modified in this loop. (totalt 6 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)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \$. (totalt 2 st)
- Unnecessary escape character: \|. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #61: 157.4755a93fc50, antal grupperade fel: 25 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #61: 157.4755a93fc50, antal fel: 5351 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 3151 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2073 st)
- Do not access Object.prototype method X from target object. (totalt 53 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 7 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- X is not modified in this loop. (totalt 6 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)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \$. (totalt 2 st)
- Unnecessary escape character: \|. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #62: 139.4755a93fc50, antal grupperade fel: 25 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #62: 139.4755a93fc50, antal fel: 5372 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 3159 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2086 st)
- Do not access Object.prototype method X from target object. (totalt 53 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 7 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- X is not modified in this loop. (totalt 6 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)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \$. (totalt 2 st)
- Unnecessary escape character: \|. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)