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.71 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 < (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 586 ( 1.00 betyg )
- X is defined but never used. (totalt 470 st)
- X is not defined. (totalt 79 st)
- Unexpected console statement. (totalt 36 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: container-yo7lL, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #18: container-yo7lL, antal fel: 174 ( 1.00 betyg )
- X is not defined. (totalt 93 st)
- X is defined but never used. (totalt 51 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 14 st)
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal fel: 388 ( 1.00 betyg )
- X is not defined. (totalt 295 st)
- X is defined but never used. (totalt 63 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 14 st)
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal fel: 408 ( 1.00 betyg )
- X is not defined. (totalt 315 st)
- X is defined but never used. (totalt 63 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 14 st)
- `content-type=".*javascript.*"` in: #29: ReadSpeaker.lib, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #29: ReadSpeaker.lib, antal fel: 497 ( 1.00 betyg )
- X is not defined. (totalt 393 st)
- X is defined but never used. (totalt 74 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 14 st)
- `content-type=".*javascript.*"` in: #31: ReadSpeaker.Bas, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: ReadSpeaker.Bas, antal fel: 2484 ( 1.00 betyg )
- X is not defined. (totalt 2355 st)
- X is defined but never used. (totalt 99 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 14 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 < (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 9 ( 3.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 722 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 525 st)
- Expected X and instead saw X. (totalt 177 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \=. (totalt 3 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)
- `content-type=".*javascript.*"` in: #18: container-yo7lL, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #18: container-yo7lL, antal fel: 108 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 48 st)
- Unnecessary escape character: \/. (totalt 46 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Cor, antal fel: 282 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 105 st)
- Expected an assignment or function call and instead saw an expression. (totalt 99 st)
- Unnecessary escape character: \/. (totalt 48 st)
- Do not access Object.prototype method X from target object. (totalt 25 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.pub, antal fel: 297 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 112 st)
- Expected an assignment or function call and instead saw an expression. (totalt 106 st)
- Unnecessary escape character: \/. (totalt 48 st)
- Do not access Object.prototype method X from target object. (totalt 26 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: ReadSpeaker.lib, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #29: ReadSpeaker.lib, antal fel: 413 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 196 st)
- Expected X and instead saw X. (totalt 130 st)
- Unnecessary escape character: \/. (totalt 48 st)
- Do not access Object.prototype method X from target object. (totalt 27 st)
- Unnecessary escape character: \-. (totalt 7 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: #31: ReadSpeaker.Bas, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #31: ReadSpeaker.Bas, antal fel: 1065 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 610 st)
- Expected X and instead saw X. (totalt 343 st)
- Unnecessary escape character: \/. (totalt 48 st)
- Do not access Object.prototype method X from target object. (totalt 41 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 3 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)