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.83 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: 5 ( 4.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1031 ( 1.00 betyg )
- X is not defined. (totalt 731 st)
- X is defined but never used. (totalt 224 st)
- Unexpected console statement. (totalt 66 st)
- X is assigned a value but never used. (totalt 9 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: vby.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #50: vby.js, antal fel: 121 ( 1.00 betyg )
- X is not defined. (totalt 109 st)
- X is defined but never used. (totalt 7 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #53: ReadSpeaker.Goo, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #53: ReadSpeaker.Goo, antal fel: 154 ( 1.00 betyg )
- X is not defined. (totalt 141 st)
- X is defined but never used. (totalt 8 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #58: ReadSpeaker.Cor, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #58: ReadSpeaker.Cor, antal fel: 3864 ( 1.00 betyg )
- X is not defined. (totalt 3802 st)
- X is defined but never used. (totalt 50 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 6 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: 25 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3466 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2024 st)
- Expected X and instead saw X. (totalt 1184 st)
- Do not access Object.prototype method X from target object. (totalt 84 st)
- Unnecessary escape character: \-. (totalt 57 st)
- Unnecessary X. (totalt 19 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is not modified in this loop. (totalt 13 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- The Function constructor is eval. (totalt 12 st)
- Unexpected string concatenation of literals. (totalt 9 st)
- Async arrow function has no X expression. (totalt 9 st)
- X is assigned to itself. (totalt 8 st)
- Unsafe usage of ThrowStatement. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \=. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 1 st)
- eval can be harmful. (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)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: vby.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #50: vby.js, antal fel: 50 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 50 st)
- `content-type=".*javascript.*"` in: #53: ReadSpeaker.Goo, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #53: ReadSpeaker.Goo, antal fel: 60 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 50 st)
- Expected an assignment or function call and instead saw an expression. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #58: ReadSpeaker.Cor, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #58: ReadSpeaker.Cor, antal fel: 1002 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 796 st)
- Expected X and instead saw X. (totalt 140 st)
- Do not access Object.prototype method X from target object. (totalt 46 st)
- Unnecessary X. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Unexpected string concatenation of literals. (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)
- Unnecessary escape character: \!. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)