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.56 av 5
- JS är dålig.
Webbstandard
- `content-type=".*javascript.*"` in: #4: react.productio, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #4: react.productio, antal fel: 24 ( 1.00 betyg )
- X is defined but never used. (totalt 19 st)
- Unexpected console statement. (totalt 3 st)
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #5: react-dom.produ, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #5: react-dom.produ, antal fel: 74 ( 1.00 betyg )
- X is defined but never used. (totalt 63 st)
- X is not defined. (totalt 7 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #6: boot-1.3.107.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #6: boot-1.3.107.js, antal fel: 631 ( 1.00 betyg )
- X is defined but never used. (totalt 577 st)
- Unexpected console statement. (totalt 36 st)
- X is not defined. (totalt 18 st)
- `content-type=".*javascript.*"` in: #7: gtm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #7: gtm.js, antal fel: 1214 ( 1.00 betyg )
- X is defined but never used. (totalt 1054 st)
- X is assigned a value but never used. (totalt 85 st)
- X is not defined. (totalt 39 st)
- Unexpected console statement. (totalt 36 st)
- `content-type=".*javascript.*"` in: #9: a92e9934-3bc7-4, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #9: a92e9934-3bc7-4, antal fel: 1256 ( 1.00 betyg )
- X is defined but never used. (totalt 1082 st)
- X is assigned a value but never used. (totalt 85 st)
- Unexpected console statement. (totalt 47 st)
- X is not defined. (totalt 42 st)
- `content-type=".*javascript.*"` in: #13: analytics.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #13: analytics.js, antal fel: 1286 ( 1.00 betyg )
- X is defined but never used. (totalt 1109 st)
- X is assigned a value but never used. (totalt 85 st)
- Unexpected console statement. (totalt 47 st)
- X is not defined. (totalt 45 st)
- `content-type=".*javascript.*"` in: #14: ppms.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #14: ppms.js, antal fel: 1306 ( 1.00 betyg )
- X is defined but never used. (totalt 1122 st)
- X is assigned a value but never used. (totalt 85 st)
- Unexpected console statement. (totalt 50 st)
- X is not defined. (totalt 49 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 )
- Expected X and instead saw X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #4: react.productio, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #4: react.productio, antal fel: 43 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 31 st)
- Expected X and instead saw X. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- `content-type=".*javascript.*"` in: #5: react-dom.produ, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #5: react-dom.produ, antal fel: 520 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 408 st)
- Expected X and instead saw X. (totalt 73 st)
- Do not access Object.prototype method X from target object. (totalt 33 st)
- X is not modified in this loop. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #6: boot-1.3.107.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #6: boot-1.3.107.js, antal fel: 4939 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2480 st)
- Expected X and instead saw X. (totalt 2261 st)
- Do not access Object.prototype method X from target object. (totalt 62 st)
- Comparing to itself is potentially pointless. (totalt 39 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- X is assigned to itself. (totalt 22 st)
- The Function constructor is eval. (totalt 12 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Unsafe usage of ReturnStatement. (totalt 8 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 6 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: gtm.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #7: gtm.js, antal fel: 6094 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3292 st)
- Expected X and instead saw X. (totalt 2497 st)
- Do not access Object.prototype method X from target object. (totalt 154 st)
- Comparing to itself is potentially pointless. (totalt 40 st)
- X is assigned to itself. (totalt 25 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- X is not modified in this loop. (totalt 13 st)
- The Function constructor is eval. (totalt 12 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unsafe usage of ReturnStatement. (totalt 8 st)
- Unnecessary X. (totalt 6 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- `content-type=".*javascript.*"` in: #9: a92e9934-3bc7-4, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #9: a92e9934-3bc7-4, antal fel: 7040 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3878 st)
- Expected X and instead saw X. (totalt 2824 st)
- Do not access Object.prototype method X from target object. (totalt 165 st)
- Comparing to itself is potentially pointless. (totalt 40 st)
- X is assigned to itself. (totalt 25 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- X is not modified in this loop. (totalt 13 st)
- Unnecessary escape character: \/. (totalt 13 st)
- The Function constructor is eval. (totalt 13 st)
- Unnecessary X. (totalt 10 st)
- Unsafe usage of ReturnStatement. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 5 st)
- eval can be harmful. (totalt 4 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 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)
- `content-type=".*javascript.*"` in: #13: analytics.js, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #13: analytics.js, antal fel: 7470 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4112 st)
- Expected X and instead saw X. (totalt 3002 st)
- Do not access Object.prototype method X from target object. (totalt 177 st)
- Comparing to itself is potentially pointless. (totalt 41 st)
- X is assigned to itself. (totalt 25 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- Unnecessary escape character: \/. (totalt 15 st)
- X is not modified in this loop. (totalt 13 st)
- The Function constructor is eval. (totalt 13 st)
- Unnecessary X. (totalt 11 st)
- Unsafe usage of ReturnStatement. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 5 st)
- eval can be harmful. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 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)
- `content-type=".*javascript.*"` in: #14: ppms.js, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #14: ppms.js, antal fel: 7736 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4374 st)
- Expected X and instead saw X. (totalt 3005 st)
- Do not access Object.prototype method X from target object. (totalt 177 st)
- Comparing to itself is potentially pointless. (totalt 41 st)
- X is assigned to itself. (totalt 25 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- Unnecessary escape character: \/. (totalt 15 st)
- X is not modified in this loop. (totalt 13 st)
- The Function constructor is eval. (totalt 13 st)
- Unnecessary X. (totalt 11 st)
- Unsafe usage of ReturnStatement. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 6 st)
- eval can be harmful. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 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)