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.35 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 12 ( 2.60 betyg )
- X is not defined. (totalt 11 st)
- X is defined but never used. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 241 ( 1.00 betyg )
- X is defined but never used. (totalt 140 st)
- X is assigned a value but never used. (totalt 64 st)
- Unexpected console statement. (totalt 23 st)
- X is not defined. (totalt 14 st)
- `content-type=".*javascript.*"` in: #7: df9cbc0e-6c78-4, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #7: df9cbc0e-6c78-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: #11: 9851.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #11: 9851.chunk.js, antal fel: 46 ( 1.00 betyg )
- X is defined but never used. (totalt 32 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #12: 2487.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #12: 2487.chunk.js, antal fel: 47 ( 1.00 betyg )
- X is defined but never used. (totalt 33 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #13: 9354.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #13: 9354.chunk.js, antal fel: 48 ( 1.00 betyg )
- X is defined but never used. (totalt 33 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #23: 4570.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #23: 4570.chunk.js, antal fel: 52 ( 1.00 betyg )
- X is defined but never used. (totalt 37 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #24: 7907.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #24: 7907.chunk.js, antal fel: 57 ( 1.00 betyg )
- X is defined but never used. (totalt 42 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #25: 2148.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #25: 2148.chunk.js, antal fel: 62 ( 1.00 betyg )
- X is defined but never used. (totalt 47 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #31: 2163.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #31: 2163.chunk.js, antal fel: 67 ( 1.00 betyg )
- X is defined but never used. (totalt 52 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #32: 8268.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #32: 8268.chunk.js, antal fel: 71 ( 1.00 betyg )
- X is defined but never used. (totalt 56 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #33: 1329.chunk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #33: 1329.chunk.js, antal fel: 71 ( 1.00 betyg )
- X is defined but never used. (totalt 56 st)
- Unexpected console statement. (totalt 12 st)
- X is not defined. (totalt 3 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 14 ( 2.20 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8 st)
- Expected X and instead saw X. (totalt 6 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 12 ( 2.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2155 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1622 st)
- Expected X and instead saw X. (totalt 485 st)
- Do not access Object.prototype method X from target object. (totalt 15 st)
- Unnecessary X. (totalt 13 st)
- X is not modified in this loop. (totalt 5 st)
- The Function constructor is eval. (totalt 5 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Comparing to itself is potentially pointless. (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: #7: df9cbc0e-6c78-4, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #7: df9cbc0e-6c78-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: #11: 9851.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #11: 9851.chunk.js, antal fel: 961 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 594 st)
- Expected X and instead saw X. (totalt 334 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: #12: 2487.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #12: 2487.chunk.js, antal fel: 974 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 600 st)
- Expected X and instead saw X. (totalt 341 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: #13: 9354.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #13: 9354.chunk.js, antal fel: 976 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 602 st)
- Expected X and instead saw X. (totalt 341 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: 4570.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #23: 4570.chunk.js, antal fel: 987 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 606 st)
- Expected X and instead saw X. (totalt 348 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: #24: 7907.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #24: 7907.chunk.js, antal fel: 988 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 607 st)
- Expected X and instead saw X. (totalt 348 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: #25: 2148.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #25: 2148.chunk.js, antal fel: 1000 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 612 st)
- Expected X and instead saw X. (totalt 355 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: #31: 2163.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #31: 2163.chunk.js, antal fel: 1001 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 613 st)
- Expected X and instead saw X. (totalt 355 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: #32: 8268.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #32: 8268.chunk.js, antal fel: 1012 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 617 st)
- Expected X and instead saw X. (totalt 362 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: #33: 1329.chunk.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #33: 1329.chunk.js, antal fel: 1015 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 620 st)
- Expected X and instead saw X. (totalt 362 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)