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.63 av 5
- JS är dålig.
Webbstandard
- `< script src="...">` in: #1: lagrummet, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: lagrummet, antal fel: 85 ( 1.00 betyg )
- X is not defined. (totalt 42 st)
- X is defined but never used. (totalt 35 st)
- X is assigned a value but never used. (totalt 5 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #12: ReadSpeaker.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #12: ReadSpeaker.js, antal fel: 99 ( 1.00 betyg )
- X is not defined. (totalt 87 st)
- Unexpected console statement. (totalt 8 st)
- X is defined but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #13: container-Am7va, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #13: container-Am7va, antal fel: 170 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 38 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #17: ReadSpeaker.pub, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #17: ReadSpeaker.pub, antal fel: 192 ( 1.00 betyg )
- X is not defined. (totalt 125 st)
- X is defined but never used. (totalt 40 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #18: ReadSpeaker.Cor, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #18: ReadSpeaker.Cor, antal fel: 358 ( 1.00 betyg )
- X is not defined. (totalt 283 st)
- X is defined but never used. (totalt 48 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #19: ReadSpeaker.lib, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #19: ReadSpeaker.lib, antal fel: 420 ( 1.00 betyg )
- X is not defined. (totalt 345 st)
- X is defined but never used. (totalt 48 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Com, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Com, antal fel: 585 ( 1.00 betyg )
- X is not defined. (totalt 510 st)
- X is defined but never used. (totalt 48 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.ui., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.ui., antal fel: 1347 ( 1.00 betyg )
- X is not defined. (totalt 1269 st)
- X is defined but never used. (totalt 51 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #22: ReadSpeaker.Pla, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #22: ReadSpeaker.Pla, antal fel: 1499 ( 1.00 betyg )
- X is not defined. (totalt 1416 st)
- X is defined but never used. (totalt 56 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.HL., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.HL., antal fel: 2219 ( 1.00 betyg )
- X is not defined. (totalt 2135 st)
- X is defined but never used. (totalt 57 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
- `content-type=".*javascript.*"` in: #25: ReadSpeaker.enl, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: ReadSpeaker.enl, antal fel: 2245 ( 1.00 betyg )
- X is not defined. (totalt 2160 st)
- X is defined but never used. (totalt 58 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 9 st)
Integritet & säkerhet
- `< script src="...">` in: #1: lagrummet, antal grupperade fel: 13 ( 2.40 betyg )
- `< script src="...">` in: #1: lagrummet, antal fel: 478 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 288 st)
- Expected X and instead saw X. (totalt 160 st)
- Unnecessary escape character: \-. (totalt 12 st)
- Unnecessary escape character: \/. (totalt 5 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary X. (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)
- Unnecessary escape character: \+. (totalt 1 st)
- Implied eval. Consider passing a function instead of a string. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: ReadSpeaker.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #12: ReadSpeaker.js, antal fel: 65 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 34 st)
- Expected X and instead saw X. (totalt 22 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #13: container-Am7va, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #13: container-Am7va, antal fel: 83 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 34 st)
- Expected X and instead saw X. (totalt 27 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #17: ReadSpeaker.pub, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #17: ReadSpeaker.pub, antal fel: 98 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 41 st)
- Expected X and instead saw X. (totalt 34 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: ReadSpeaker.Cor, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #18: ReadSpeaker.Cor, antal fel: 255 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 127 st)
- Expected X and instead saw X. (totalt 88 st)
- Do not access Object.prototype method X from target object. (totalt 26 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- `content-type=".*javascript.*"` in: #19: ReadSpeaker.lib, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #19: ReadSpeaker.lib, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 133 st)
- Expected X and instead saw X. (totalt 93 st)
- Do not access Object.prototype method X from target object. (totalt 26 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Com, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #20: ReadSpeaker.Com, antal fel: 328 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 164 st)
- Expected X and instead saw X. (totalt 114 st)
- Do not access Object.prototype method X from target object. (totalt 31 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 8 st)
- eval can be harmful. (totalt 2 st)
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.ui., antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #21: ReadSpeaker.ui., antal fel: 575 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 334 st)
- Expected X and instead saw X. (totalt 182 st)
- Do not access Object.prototype method X from target object. (totalt 36 st)
- Unnecessary X. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 9 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- `content-type=".*javascript.*"` in: #22: ReadSpeaker.Pla, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #22: ReadSpeaker.Pla, antal fel: 613 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 365 st)
- Expected X and instead saw X. (totalt 189 st)
- Do not access Object.prototype method X from target object. (totalt 36 st)
- Unnecessary X. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 9 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.HL., antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.HL., antal fel: 873 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 498 st)
- Expected X and instead saw X. (totalt 306 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unnecessary X. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 9 st)
- eval can be harmful. (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)
- `content-type=".*javascript.*"` in: #25: ReadSpeaker.enl, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #25: ReadSpeaker.enl, antal fel: 885 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 507 st)
- Expected X and instead saw X. (totalt 309 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unnecessary X. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 9 st)
- eval can be harmful. (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)