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.51 av 5
- JS är dålig.
Webbstandard
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 4 ( 4.20 betyg )
- X is defined but never used. (totalt 3 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal fel: 231 ( 1.00 betyg )
- X is not defined. (totalt 132 st)
- X is defined but never used. (totalt 64 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #9: 9755.a553f70a9f, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #9: 9755.a553f70a9f, antal fel: 242 ( 1.00 betyg )
- X is not defined. (totalt 132 st)
- X is defined but never used. (totalt 75 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal fel: 260 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 83 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #11: importantmessag, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #11: importantmessag, antal fel: 265 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 88 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal fel: 267 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 90 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #13: county-selector, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #13: county-selector, antal fel: 274 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 97 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal fel: 282 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 103 st)
- Unexpected console statement. (totalt 24 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal fel: 298 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 117 st)
- Unexpected console statement. (totalt 26 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal fel: 313 ( 1.00 betyg )
- X is not defined. (totalt 139 st)
- X is defined but never used. (totalt 131 st)
- Unexpected console statement. (totalt 26 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal fel: 325 ( 1.00 betyg )
- X is defined but never used. (totalt 140 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 29 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal fel: 328 ( 1.00 betyg )
- X is defined but never used. (totalt 143 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 29 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #31: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: configs.php, antal fel: 329 ( 1.00 betyg )
- X is defined but never used. (totalt 143 st)
- X is not defined. (totalt 140 st)
- Unexpected console statement. (totalt 29 st)
- X is assigned a value but never used. (totalt 17 st)
Integritet & säkerhet
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 21 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 13 st)
- Expected X and instead saw X. (totalt 6 st)
- Parsing error: Unexpected token : (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal fel: 104 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 54 st)
- Unnecessary escape character: \/. (totalt 34 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: #9: 9755.a553f70a9f, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #9: 9755.a553f70a9f, antal fel: 450 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 202 st)
- Expected X and instead saw X. (totalt 190 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal fel: 520 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 242 st)
- Expected X and instead saw X. (totalt 220 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #11: importantmessag, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #11: importantmessag, antal fel: 554 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 271 st)
- Expected X and instead saw X. (totalt 225 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal fel: 557 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 274 st)
- Expected X and instead saw X. (totalt 225 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #13: county-selector, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #13: county-selector, antal fel: 574 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 286 st)
- Expected X and instead saw X. (totalt 227 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Async method X has no X expression. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal fel: 583 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 295 st)
- Expected X and instead saw X. (totalt 227 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Async method X has no X expression. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal fel: 604 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 310 st)
- Expected X and instead saw X. (totalt 230 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal fel: 611 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 315 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal fel: 621 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 322 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal fel: 623 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 324 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: configs.php, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #31: configs.php, antal fel: 623 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 324 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)