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.69 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 var (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 312 ( 1.00 betyg )
- X is defined but never used. (totalt 233 st)
- Unexpected console statement. (totalt 35 st)
- X is not defined. (totalt 25 st)
- X is assigned a value but never used. (totalt 19 st)
- `content-type=".*javascript.*"` in: #73: container-kp1Wn, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #73: container-kp1Wn, antal fel: 197 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 59 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #74: container-Hwozo, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #74: container-Hwozo, antal fel: 398 ( 1.00 betyg )
- X is not defined. (totalt 210 st)
- X is defined but never used. (totalt 122 st)
- Unexpected console statement. (totalt 36 st)
- X is assigned a value but never used. (totalt 30 st)
- `content-type=".*javascript.*"` in: #80: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #80: configs.php, antal fel: 399 ( 1.00 betyg )
- X is not defined. (totalt 211 st)
- X is defined but never used. (totalt 122 st)
- Unexpected console statement. (totalt 36 st)
- X is assigned a value but never used. (totalt 30 st)
- `content-type=".*javascript.*"` in: #81: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #81: configs.php, antal fel: 400 ( 1.00 betyg )
- X is not defined. (totalt 212 st)
- X is defined but never used. (totalt 122 st)
- Unexpected console statement. (totalt 36 st)
- X is assigned a value but never used. (totalt 30 st)
- `content-type=".*javascript.*"` in: #82: 4538.850b0d19ad, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #82: 4538.850b0d19ad, antal fel: 400 ( 1.00 betyg )
- X is not defined. (totalt 212 st)
- X is defined but never used. (totalt 122 st)
- Unexpected console statement. (totalt 36 st)
- X is assigned a value but never used. (totalt 30 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 var (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 24 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3742 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2117 st)
- Expected X and instead saw X. (totalt 1538 st)
- Do not access Object.prototype method X from target object. (totalt 37 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 5 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Async function X has no X expression. (totalt 2 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)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: container-kp1Wn, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #73: container-kp1Wn, antal fel: 154 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 89 st)
- Expected X and instead saw X. (totalt 50 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)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #74: container-Hwozo, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #74: container-Hwozo, antal fel: 557 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 426 st)
- Expected X and instead saw X. (totalt 100 st)
- Do not access Object.prototype method X from target object. (totalt 18 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- `content-type=".*javascript.*"` in: #80: configs.php, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #80: configs.php, antal fel: 557 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 426 st)
- Expected X and instead saw X. (totalt 100 st)
- Do not access Object.prototype method X from target object. (totalt 18 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- `content-type=".*javascript.*"` in: #81: configs.php, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #81: configs.php, antal fel: 557 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 426 st)
- Expected X and instead saw X. (totalt 100 st)
- Do not access Object.prototype method X from target object. (totalt 18 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- `content-type=".*javascript.*"` in: #82: 4538.850b0d19ad, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #82: 4538.850b0d19ad, antal fel: 558 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 426 st)
- Expected X and instead saw X. (totalt 100 st)
- Do not access Object.prototype method X from target object. (totalt 18 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)