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.53 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: #3: webpack-2df7a8d, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #3: webpack-2df7a8d, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #4: framework-2c79e, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #4: framework-2c79e, 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: #5: main-2a00b17220, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #5: main-2a00b17220, antal fel: 73 ( 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)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #6: -app-852a6c2e12, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #6: -app-852a6c2e12, antal fel: 873 ( 1.00 betyg )
- X is not defined. (totalt 573 st)
- X is defined but never used. (totalt 165 st)
- Unexpected console statement. (totalt 94 st)
- X is assigned a value but never used. (totalt 41 st)
- `content-type=".*javascript.*"` in: #7: 574-fd88c30b980, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #7: 574-fd88c30b980, antal fel: 874 ( 1.00 betyg )
- X is not defined. (totalt 573 st)
- X is defined but never used. (totalt 166 st)
- Unexpected console statement. (totalt 94 st)
- X is assigned a value but never used. (totalt 41 st)
- `content-type=".*javascript.*"` in: #8: 406-c634ef73029, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #8: 406-c634ef73029, antal fel: 876 ( 1.00 betyg )
- X is not defined. (totalt 573 st)
- X is defined but never used. (totalt 167 st)
- Unexpected console statement. (totalt 95 st)
- X is assigned a value but never used. (totalt 41 st)
- `content-type=".*javascript.*"` in: #9: index-1fc432f85, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #9: index-1fc432f85, antal fel: 877 ( 1.00 betyg )
- X is not defined. (totalt 574 st)
- X is defined but never used. (totalt 167 st)
- Unexpected console statement. (totalt 95 st)
- X is assigned a value but never used. (totalt 41 st)
- `content-type=".*javascript.*"` in: #10: -buildManifest., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #10: -buildManifest., antal fel: 877 ( 1.00 betyg )
- X is not defined. (totalt 574 st)
- X is defined but never used. (totalt 167 st)
- Unexpected console statement. (totalt 95 st)
- X is assigned a value but never used. (totalt 41 st)
- `content-type=".*javascript.*"` in: #11: -ssgManifest.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #11: -ssgManifest.js, antal fel: 877 ( 1.00 betyg )
- X is not defined. (totalt 574 st)
- X is defined but never used. (totalt 167 st)
- Unexpected console statement. (totalt 95 st)
- X is assigned a value but never used. (totalt 41 st)
- `content-type=".*javascript.*"` in: #16: storyblok-v2-la, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #16: storyblok-v2-la, antal fel: 884 ( 1.00 betyg )
- X is not defined. (totalt 576 st)
- X is defined but never used. (totalt 170 st)
- Unexpected console statement. (totalt 97 st)
- X is assigned a value but never used. (totalt 41 st)
- `content-type=".*javascript.*"` in: #25: -5B...slug-5D-0, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: -5B...slug-5D-0, antal fel: 886 ( 1.00 betyg )
- X is not defined. (totalt 577 st)
- X is defined but never used. (totalt 171 st)
- Unexpected console statement. (totalt 97 st)
- X is assigned a value but never used. (totalt 41 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: #3: webpack-2df7a8d, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #3: webpack-2df7a8d, antal fel: 17 ( 1.60 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10 st)
- Expected X and instead saw X. (totalt 6 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #4: framework-2c79e, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #4: framework-2c79e, antal fel: 961 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 523 st)
- Expected X and instead saw X. (totalt 401 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: #5: main-2a00b17220, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #5: main-2a00b17220, antal fel: 1395 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 807 st)
- Expected X and instead saw X. (totalt 544 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: #6: -app-852a6c2e12, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #6: -app-852a6c2e12, antal fel: 5697 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3850 st)
- Expected X and instead saw X. (totalt 1721 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unnecessary escape character: \.. (totalt 16 st)
- X is not modified in this loop. (totalt 14 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: 574-fd88c30b980, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #7: 574-fd88c30b980, antal fel: 5797 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3923 st)
- Expected X and instead saw X. (totalt 1746 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- X is not modified in this loop. (totalt 16 st)
- Unnecessary escape character: \.. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: 406-c634ef73029, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #8: 406-c634ef73029, antal fel: 5823 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3927 st)
- Expected X and instead saw X. (totalt 1768 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- X is not modified in this loop. (totalt 16 st)
- Unnecessary escape character: \.. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #9: index-1fc432f85, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #9: index-1fc432f85, antal fel: 5825 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3929 st)
- Expected X and instead saw X. (totalt 1768 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- X is not modified in this loop. (totalt 16 st)
- Unnecessary escape character: \.. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: -buildManifest., antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #10: -buildManifest., antal fel: 5826 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3930 st)
- Expected X and instead saw X. (totalt 1768 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- X is not modified in this loop. (totalt 16 st)
- Unnecessary escape character: \.. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #11: -ssgManifest.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #11: -ssgManifest.js, antal fel: 5827 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3931 st)
- Expected X and instead saw X. (totalt 1768 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- X is not modified in this loop. (totalt 16 st)
- Unnecessary escape character: \.. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #16: storyblok-v2-la, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #16: storyblok-v2-la, antal fel: 5887 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3989 st)
- Expected X and instead saw X. (totalt 1770 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- X is not modified in this loop. (totalt 16 st)
- Unnecessary escape character: \.. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: -5B...slug-5D-0, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #25: -5B...slug-5D-0, antal fel: 5890 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3991 st)
- Expected X and instead saw X. (totalt 1771 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- X is not modified in this loop. (totalt 16 st)
- Unnecessary escape character: \.. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)