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.42 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #1: Webbsida , antal fel: 73 ( 1.00 betyg )
- X is not defined. (totalt 68 st)
- X is defined but never used. (totalt 3 st)
- Unexpected console statement. (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 5 ( 4.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2720 ( 1.00 betyg )
- X is defined but never used. (totalt 1695 st)
- X is not defined. (totalt 830 st)
- Unexpected console statement. (totalt 184 st)
- X is assigned a value but never used. (totalt 8 st)
- Parsing error: X in strict mode (totalt 3 st)
- `< script>` in: #65: Templates.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #65: Templates.html, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token < (totalt 1 st)
- `content-type=".*javascript.*"` in: #15: 6778bc3e-4798-4, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #15: 6778bc3e-4798-4, antal fel: 42 ( 1.00 betyg )
- X is defined but never used. (totalt 28 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.Doc, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.Doc, antal fel: 44 ( 1.00 betyg )
- X is defined but never used. (totalt 29 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: ppms.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #29: ppms.js, antal fel: 64 ( 1.00 betyg )
- X is defined but never used. (totalt 42 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: Config.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #68: Config.js, antal fel: 65 ( 1.00 betyg )
- X is defined but never used. (totalt 42 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 8 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: chattoolbox.bun, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #69: chattoolbox.bun, antal fel: 345 ( 1.00 betyg )
- X is defined but never used. (totalt 182 st)
- X is not defined. (totalt 107 st)
- Unexpected console statement. (totalt 55 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: TemplateDataSou, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #70: TemplateDataSou, antal fel: 353 ( 1.00 betyg )
- X is defined but never used. (totalt 182 st)
- X is not defined. (totalt 114 st)
- Unexpected console statement. (totalt 56 st)
- X is assigned a value but never used. (totalt 1 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 31 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 16 st)
- Expected X and instead saw X. (totalt 15 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 24 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 11303 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7458 st)
- Expected X and instead saw X. (totalt 3473 st)
- Do not access Object.prototype method X from target object. (totalt 96 st)
- Comparing to itself is potentially pointless. (totalt 68 st)
- Unnecessary X. (totalt 55 st)
- The Function constructor is eval. (totalt 28 st)
- Unnecessary escape character: \/. (totalt 25 st)
- Unnecessary escape character: \-. (totalt 17 st)
- X is not modified in this loop. (totalt 14 st)
- Unsafe usage of ThrowStatement. (totalt 9 st)
- Async arrow function has no X expression. (totalt 9 st)
- Unnecessary escape character: \[. (totalt 8 st)
- X is assigned to itself. (totalt 8 st)
- Unnecessary escape character: \+. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Script URL is a form of eval. (totalt 5 st)
- Unnecessary escape character: \}. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Parsing error: X in strict mode (totalt 3 st)
- Unnecessary escape character: \=. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `< script>` in: #65: Templates.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #65: Templates.html, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token < (totalt 1 st)
- `content-type=".*javascript.*"` in: #15: 6778bc3e-4798-4, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #15: 6778bc3e-4798-4, antal fel: 946 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 586 st)
- Expected X and instead saw X. (totalt 327 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 4 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)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.Doc, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #23: ReadSpeaker.Doc, antal fel: 961 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 598 st)
- Expected X and instead saw X. (totalt 328 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: ppms.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #29: ppms.js, antal fel: 1227 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 860 st)
- Expected X and instead saw X. (totalt 331 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 4 st)
- eval can be harmful. (totalt 3 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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: Config.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #68: Config.js, antal fel: 1227 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 860 st)
- Expected X and instead saw X. (totalt 331 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 4 st)
- eval can be harmful. (totalt 3 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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: chattoolbox.bun, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #69: chattoolbox.bun, antal fel: 3425 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2222 st)
- Expected X and instead saw X. (totalt 1093 st)
- Do not access Object.prototype method X from target object. (totalt 29 st)
- Comparing to itself is potentially pointless. (totalt 22 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 7 st)
- The Function constructor is eval. (totalt 7 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unsafe usage of ThrowStatement. (totalt 5 st)
- eval can be harmful. (totalt 3 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)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: TemplateDataSou, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #70: TemplateDataSou, antal fel: 3425 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2222 st)
- Expected X and instead saw X. (totalt 1093 st)
- Do not access Object.prototype method X from target object. (totalt 29 st)
- Comparing to itself is potentially pointless. (totalt 22 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 7 st)
- The Function constructor is eval. (totalt 7 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unsafe usage of ThrowStatement. (totalt 5 st)
- eval can be harmful. (totalt 3 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)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)