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.62 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 )
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #2: registered-mast, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #2: registered-mast, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 11 st)
- Unexpected console statement. (totalt 5 st)
- X is not defined. (totalt 4 st)
- `content-type=".*javascript.*"` in: #3: cookie-consent-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #3: cookie-consent-, antal fel: 31 ( 1.00 betyg )
- X is defined but never used. (totalt 19 st)
- Unexpected console statement. (totalt 6 st)
- X is not defined. (totalt 5 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #6: runtime-main.c6, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #6: runtime-main.c6, antal fel: 32 ( 1.00 betyg )
- X is defined but never used. (totalt 19 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 5 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: registered-home, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #7: registered-home, antal fel: 110 ( 1.00 betyg )
- X is defined but never used. (totalt 80 st)
- Unexpected console statement. (totalt 15 st)
- X is not defined. (totalt 14 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: container-f8ICs, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #18: container-f8ICs, antal fel: 333 ( 1.00 betyg )
- X is defined but never used. (totalt 141 st)
- X is not defined. (totalt 141 st)
- Unexpected console statement. (totalt 35 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #27: 0.d7470874.chun, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #27: 0.d7470874.chun, antal fel: 493 ( 1.00 betyg )
- X is defined but never used. (totalt 293 st)
- X is not defined. (totalt 141 st)
- Unexpected console statement. (totalt 41 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #28: 1.5526fdc4.chun, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #28: 1.5526fdc4.chun, antal fel: 502 ( 1.00 betyg )
- X is defined but never used. (totalt 302 st)
- X is not defined. (totalt 141 st)
- Unexpected console statement. (totalt 41 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #29: 7.3ffecc87.chun, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #29: 7.3ffecc87.chun, antal fel: 502 ( 1.00 betyg )
- X is defined but never used. (totalt 302 st)
- X is not defined. (totalt 141 st)
- Unexpected console statement. (totalt 41 st)
- X is assigned a value but never used. (totalt 18 st)
Integritet & säkerhet
- `content-type=".*javascript.*"` in: #2: registered-mast, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #2: registered-mast, antal fel: 574 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 368 st)
- Expected X and instead saw X. (totalt 199 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- `content-type=".*javascript.*"` in: #3: cookie-consent-, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #3: cookie-consent-, antal fel: 730 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 477 st)
- Expected X and instead saw X. (totalt 243 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #6: runtime-main.c6, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #6: runtime-main.c6, antal fel: 747 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 493 st)
- Expected X and instead saw X. (totalt 244 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: registered-home, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #7: registered-home, antal fel: 1556 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1108 st)
- Expected X and instead saw X. (totalt 381 st)
- Do not access Object.prototype method X from target object. (totalt 31 st)
- Unnecessary escape character: \/. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary X. (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)
- 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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: container-f8ICs, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #18: container-f8ICs, antal fel: 1684 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1108 st)
- Expected X and instead saw X. (totalt 434 st)
- Unnecessary escape character: \/. (totalt 67 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary X. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \.. (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)
- 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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #27: 0.d7470874.chun, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #27: 0.d7470874.chun, antal fel: 2212 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1459 st)
- Expected X and instead saw X. (totalt 584 st)
- Unnecessary escape character: \/. (totalt 70 st)
- Do not access Object.prototype method X from target object. (totalt 44 st)
- X is not modified in this loop. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unsafe usage of ThrowStatement. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \.. (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)
- Unnecessary escape character: \^. (totalt 1 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: #28: 1.5526fdc4.chun, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #28: 1.5526fdc4.chun, antal fel: 2235 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1482 st)
- Expected X and instead saw X. (totalt 584 st)
- Unnecessary escape character: \/. (totalt 70 st)
- Do not access Object.prototype method X from target object. (totalt 44 st)
- X is not modified in this loop. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unsafe usage of ThrowStatement. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \.. (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)
- Unnecessary escape character: \^. (totalt 1 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: 7.3ffecc87.chun, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #29: 7.3ffecc87.chun, antal fel: 2236 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1483 st)
- Expected X and instead saw X. (totalt 584 st)
- Unnecessary escape character: \/. (totalt 70 st)
- Do not access Object.prototype method X from target object. (totalt 44 st)
- X is not modified in this loop. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unsafe usage of ThrowStatement. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \.. (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)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)