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.94 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)
- `content-type=".*javascript.*"` in: #2: webpack-f164db4, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #2: webpack-f164db4, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #3: framework-305cb, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #3: framework-305cb, antal fel: 47 ( 1.00 betyg )
- X is defined but never used. (totalt 38 st)
- X is not defined. (totalt 5 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #4: main-8a97ef2810, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #4: main-8a97ef2810, antal fel: 71 ( 1.00 betyg )
- X is defined but never used. (totalt 51 st)
- Unexpected console statement. (totalt 14 st)
- X is not defined. (totalt 6 st)
- `content-type=".*javascript.*"` in: #5: -app-1c411d1c78, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #5: -app-1c411d1c78, antal fel: 93 ( 1.00 betyg )
- X is defined but never used. (totalt 65 st)
- Unexpected console statement. (totalt 17 st)
- X is not defined. (totalt 8 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #6: 129-cfcd4072da5, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #6: 129-cfcd4072da5, antal fel: 95 ( 1.00 betyg )
- X is defined but never used. (totalt 66 st)
- Unexpected console statement. (totalt 17 st)
- X is not defined. (totalt 9 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #7: 770-d24a92c7434, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #7: 770-d24a92c7434, antal fel: 114 ( 1.00 betyg )
- X is defined but never used. (totalt 73 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 11 st)
- X is not defined. (totalt 10 st)
- `content-type=".*javascript.*"` in: #8: -5B-5B...slug-5, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #8: -5B-5B...slug-5, antal fel: 231 ( 1.00 betyg )
- Unexpected console statement. (totalt 82 st)
- X is defined but never used. (totalt 77 st)
- X is assigned a value but never used. (totalt 61 st)
- X is not defined. (totalt 11 st)
- `content-type=".*javascript.*"` in: #9: -buildManifest., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #9: -buildManifest., antal fel: 231 ( 1.00 betyg )
- Unexpected console statement. (totalt 82 st)
- X is defined but never used. (totalt 77 st)
- X is assigned a value but never used. (totalt 61 st)
- X is not defined. (totalt 11 st)
- `content-type=".*javascript.*"` in: #10: -ssgManifest.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #10: -ssgManifest.js, antal fel: 231 ( 1.00 betyg )
- Unexpected console statement. (totalt 82 st)
- X is defined but never used. (totalt 77 st)
- X is assigned a value but never used. (totalt 61 st)
- X is not defined. (totalt 11 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)
- `content-type=".*javascript.*"` in: #2: webpack-f164db4, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #2: webpack-f164db4, antal fel: 14 ( 2.20 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10 st)
- Expected X and instead saw X. (totalt 3 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #3: framework-305cb, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #3: framework-305cb, antal fel: 958 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 523 st)
- Expected X and instead saw X. (totalt 398 st)
- Do not access Object.prototype method X from target object. (totalt 28 st)
- X is not modified in this loop. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #4: main-8a97ef2810, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #4: main-8a97ef2810, antal fel: 1448 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 844 st)
- Expected X and instead saw X. (totalt 560 st)
- Do not access Object.prototype method X from target object. (totalt 33 st)
- X is not modified in this loop. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #5: -app-1c411d1c78, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #5: -app-1c411d1c78, antal fel: 1626 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 947 st)
- Expected X and instead saw X. (totalt 632 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- X is not modified in this loop. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #6: 129-cfcd4072da5, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #6: 129-cfcd4072da5, antal fel: 1657 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 971 st)
- Expected X and instead saw X. (totalt 639 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- X is not modified in this loop. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: 770-d24a92c7434, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #7: 770-d24a92c7434, antal fel: 1926 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1131 st)
- Expected X and instead saw X. (totalt 742 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: -5B-5B...slug-5, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #8: -5B-5B...slug-5, antal fel: 2087 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1216 st)
- Expected X and instead saw X. (totalt 818 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #9: -buildManifest., antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #9: -buildManifest., antal fel: 2088 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1217 st)
- Expected X and instead saw X. (totalt 818 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: -ssgManifest.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #10: -ssgManifest.js, antal fel: 2089 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1218 st)
- Expected X and instead saw X. (totalt 818 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- The Function constructor is eval. (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)