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.45 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: startpage, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: startpage, antal fel: 19 ( 1.20 betyg )
- X is not defined. (totalt 17 st)
- X is assigned a value but never used. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `< script src="...">` in: #1: startpage, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: startpage, antal fel: 42 ( 1.00 betyg )
- X is not defined. (totalt 29 st)
- Unexpected console statement. (totalt 8 st)
- X is defined but never used. (totalt 4 st)
- Parsing error: Identifier X has already been declared (totalt 1 st)
- `content-type=".*javascript.*"` in: #2: jquery-2.2.4-ve, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #2: jquery-2.2.4-ve, antal fel: 12 ( 2.60 betyg )
- X is defined but never used. (totalt 10 st)
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #3: wicket-ajax-jqu, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #3: wicket-ajax-jqu, antal fel: 276 ( 1.00 betyg )
- X is not defined. (totalt 246 st)
- X is defined but never used. (totalt 27 st)
- Unexpected console statement. (totalt 2 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #4: fass-autocomple, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #4: fass-autocomple, antal fel: 317 ( 1.00 betyg )
- X is not defined. (totalt 283 st)
- X is defined but never used. (totalt 30 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #9: google-analytic, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #9: google-analytic, antal fel: 343 ( 1.00 betyg )
- X is not defined. (totalt 296 st)
- X is defined but never used. (totalt 43 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #10: ga-change-usert, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #10: ga-change-usert, antal fel: 347 ( 1.00 betyg )
- X is not defined. (totalt 299 st)
- X is defined but never used. (totalt 44 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #11: CookieDialogSid, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #11: CookieDialogSid, antal fel: 353 ( 1.00 betyg )
- X is not defined. (totalt 299 st)
- X is defined but never used. (totalt 50 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal fel: 567 ( 1.00 betyg )
- X is not defined. (totalt 501 st)
- X is defined but never used. (totalt 62 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal fel: 587 ( 1.00 betyg )
- X is not defined. (totalt 521 st)
- X is defined but never used. (totalt 62 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #27: ReadSpeaker.lib, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #27: ReadSpeaker.lib, antal fel: 650 ( 1.00 betyg )
- X is not defined. (totalt 583 st)
- X is defined but never used. (totalt 63 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #28: ReadSpeaker.Bas, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #28: ReadSpeaker.Bas, antal fel: 2637 ( 1.00 betyg )
- X is not defined. (totalt 2545 st)
- X is defined but never used. (totalt 88 st)
- X is assigned a value but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
Integritet & säkerhet
- `< script src="...">` in: #1: startpage, antal grupperade fel: 6 ( 3.80 betyg )
- `< script src="...">` in: #1: startpage, antal fel: 65 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 33 st)
- Expected X and instead saw X. (totalt 23 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Parsing error: Identifier X has already been declared (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #2: jquery-2.2.4-ve, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #2: jquery-2.2.4-ve, antal fel: 366 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 228 st)
- Expected X and instead saw X. (totalt 131 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #3: wicket-ajax-jqu, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #3: wicket-ajax-jqu, antal fel: 374 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 228 st)
- Expected X and instead saw X. (totalt 131 st)
- eval can be harmful. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #4: fass-autocomple, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #4: fass-autocomple, antal fel: 378 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 228 st)
- Expected X and instead saw X. (totalt 133 st)
- eval can be harmful. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #9: google-analytic, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #9: google-analytic, antal fel: 380 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 228 st)
- Expected X and instead saw X. (totalt 134 st)
- eval can be harmful. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: ga-change-usert, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #10: ga-change-usert, antal fel: 380 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 228 st)
- Expected X and instead saw X. (totalt 134 st)
- eval can be harmful. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #11: CookieDialogSid, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #11: CookieDialogSid, antal fel: 382 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 228 st)
- Expected X and instead saw X. (totalt 136 st)
- eval can be harmful. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal fel: 556 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 327 st)
- Expected X and instead saw X. (totalt 193 st)
- Do not access Object.prototype method X from target object. (totalt 19 st)
- eval can be harmful. (totalt 5 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal fel: 571 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 334 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 20 st)
- eval can be harmful. (totalt 5 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #27: ReadSpeaker.lib, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #27: ReadSpeaker.lib, antal fel: 582 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 340 st)
- Expected X and instead saw X. (totalt 205 st)
- Do not access Object.prototype method X from target object. (totalt 20 st)
- eval can be harmful. (totalt 5 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #28: ReadSpeaker.Bas, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #28: ReadSpeaker.Bas, antal fel: 1234 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 754 st)
- Expected X and instead saw X. (totalt 418 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- Unnecessary X. (totalt 7 st)
- eval can be harmful. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)