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.48 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: sv, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: sv, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #1: sv, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: sv, antal fel: 220 ( 1.00 betyg )
- X is defined but never used. (totalt 147 st)
- X is not defined. (totalt 43 st)
- Unexpected console statement. (totalt 28 st)
- X is assigned a value but never used. (totalt 2 st)
- `< script>` in: #24: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #24: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #6: container-BLK11, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #6: container-BLK11, antal fel: 216 ( 1.00 betyg )
- X is not defined. (totalt 127 st)
- X is defined but never used. (totalt 54 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #18: 27153619.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #18: 27153619.js, antal fel: 265 ( 1.00 betyg )
- X is not defined. (totalt 153 st)
- X is defined but never used. (totalt 77 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #19: banner.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #19: banner.js, antal fel: 284 ( 1.00 betyg )
- X is not defined. (totalt 157 st)
- X is defined but never used. (totalt 85 st)
- Unexpected console statement. (totalt 27 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #20: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: configs.php, antal fel: 285 ( 1.00 betyg )
- X is not defined. (totalt 158 st)
- X is defined but never used. (totalt 85 st)
- Unexpected console statement. (totalt 27 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #22: e833a50b.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #22: e833a50b.js, antal fel: 421 ( 1.00 betyg )
- X is not defined. (totalt 167 st)
- X is defined but never used. (totalt 164 st)
- Unexpected console statement. (totalt 66 st)
- X is assigned a value but never used. (totalt 24 st)
- `content-type=".*javascript.*"` in: #23: uc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #23: uc.js, antal fel: 468 ( 1.00 betyg )
- X is defined but never used. (totalt 184 st)
- X is not defined. (totalt 168 st)
- Unexpected console statement. (totalt 77 st)
- X is assigned a value but never used. (totalt 39 st)
- `content-type=".*javascript.*"` in: #25: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: cc.js, antal fel: 496 ( 1.00 betyg )
- X is defined but never used. (totalt 196 st)
- X is not defined. (totalt 177 st)
- Unexpected console statement. (totalt 78 st)
- X is assigned a value but never used. (totalt 45 st)
- `content-type=".*javascript.*"` in: #26: rekai-autocompl, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: rekai-autocompl, antal fel: 512 ( 1.00 betyg )
- X is defined but never used. (totalt 203 st)
- X is not defined. (totalt 184 st)
- Unexpected console statement. (totalt 80 st)
- X is assigned a value but never used. (totalt 45 st)
- `content-type=".*javascript.*"` in: #29: v2.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #29: v2.js, antal fel: 642 ( 1.00 betyg )
- X is defined but never used. (totalt 302 st)
- X is not defined. (totalt 190 st)
- Unexpected console statement. (totalt 104 st)
- X is assigned a value but never used. (totalt 46 st)
Integritet & säkerhet
- `< script>` in: #1: sv, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: sv, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #1: sv, antal grupperade fel: 17 ( 1.60 betyg )
- `< script src="...">` in: #1: sv, antal fel: 2186 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1257 st)
- Expected X and instead saw X. (totalt 831 st)
- Do not access Object.prototype method X from target object. (totalt 46 st)
- Unnecessary X. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 7 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Unnecessary escape character: \+. (totalt 4 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- `< script>` in: #24: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #24: 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: #6: container-BLK11, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #6: container-BLK11, antal fel: 138 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 69 st)
- Expected X and instead saw X. (totalt 53 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: 27153619.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #18: 27153619.js, antal fel: 402 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 159 st)
- Expected X and instead saw X. (totalt 151 st)
- Unnecessary escape character: \/. (totalt 70 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- `content-type=".*javascript.*"` in: #19: banner.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #19: banner.js, antal fel: 634 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 277 st)
- Expected X and instead saw X. (totalt 259 st)
- Unnecessary escape character: \/. (totalt 70 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (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: #20: configs.php, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #20: configs.php, antal fel: 634 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 277 st)
- Expected X and instead saw X. (totalt 259 st)
- Unnecessary escape character: \/. (totalt 70 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (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: #22: e833a50b.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #22: e833a50b.js, antal fel: 1121 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 496 st)
- Expected an assignment or function call and instead saw an expression. (totalt 439 st)
- Unnecessary escape character: \/. (totalt 73 st)
- Unnecessary escape character: \-. (totalt 50 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (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)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #23: uc.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #23: uc.js, antal fel: 1473 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 680 st)
- Expected X and instead saw X. (totalt 598 st)
- Unnecessary escape character: \/. (totalt 75 st)
- Unnecessary escape character: \-. (totalt 54 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (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)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: cc.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #25: cc.js, antal fel: 1820 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 986 st)
- Expected X and instead saw X. (totalt 634 st)
- Unnecessary escape character: \/. (totalt 75 st)
- Unnecessary escape character: \-. (totalt 54 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (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)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- `content-type=".*javascript.*"` in: #26: rekai-autocompl, antal grupperade fel: 31 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #26: rekai-autocompl, antal fel: 2158 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1174 st)
- Expected X and instead saw X. (totalt 747 st)
- Unnecessary escape character: \/. (totalt 77 st)
- Unnecessary escape character: \-. (totalt 56 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unnecessary escape character: \.. (totalt 8 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- Unnecessary escape character: \[. (totalt 6 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Unnecessary escape character: \*. (totalt 3 st)
- Unnecessary escape character: \{. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- X is assigned to itself. (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 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)
- X is not modified in this loop. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: v2.js, antal grupperade fel: 31 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #29: v2.js, antal fel: 3793 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2094 st)
- Expected X and instead saw X. (totalt 1388 st)
- Unnecessary escape character: \/. (totalt 81 st)
- Do not access Object.prototype method X from target object. (totalt 76 st)
- Unnecessary escape character: \-. (totalt 63 st)
- Unnecessary X. (totalt 11 st)
- Unnecessary escape character: \[. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 7 st)
- Unnecessary escape character: \+. (totalt 7 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- X is not modified in this loop. (totalt 4 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \*. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \{. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- X is assigned to itself. (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)
- 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)
- The Function constructor is eval. (totalt 1 st)