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)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 49 ( 1.00 betyg )
- X is defined but never used. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- `< script>` in: #46: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #46: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: app-TXJ8W4zt.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #18: app-TXJ8W4zt.js, antal fel: 4 ( 4.20 betyg )
- Unexpected console statement. (totalt 3 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: gtm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #32: gtm.js, antal fel: 566 ( 1.00 betyg )
- X is defined but never used. (totalt 459 st)
- X is assigned a value but never used. (totalt 81 st)
- X is not defined. (totalt 22 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #38: configuration.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: configuration.j, antal fel: 568 ( 1.00 betyg )
- X is defined but never used. (totalt 459 st)
- X is assigned a value but never used. (totalt 81 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #39: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #39: cc.js, antal fel: 596 ( 1.00 betyg )
- X is defined but never used. (totalt 471 st)
- X is assigned a value but never used. (totalt 87 st)
- X is not defined. (totalt 33 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #47: uc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: uc.js, antal fel: 643 ( 1.00 betyg )
- X is defined but never used. (totalt 491 st)
- X is assigned a value but never used. (totalt 102 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #51: index-EF26ySAH., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #51: index-EF26ySAH., antal fel: 643 ( 1.00 betyg )
- X is defined but never used. (totalt 491 st)
- X is assigned a value but never used. (totalt 102 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #52: vue.esm-bundler, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #52: vue.esm-bundler, antal fel: 711 ( 1.00 betyg )
- X is defined but never used. (totalt 534 st)
- X is assigned a value but never used. (totalt 125 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 18 st)
- `content-type=".*javascript.*"` in: #54: index-B0I-clbC., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #54: index-B0I-clbC., antal fel: 711 ( 1.00 betyg )
- X is defined but never used. (totalt 534 st)
- X is assigned a value but never used. (totalt 125 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 18 st)
- `content-type=".*javascript.*"` in: #55: splide-image-qu, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #55: splide-image-qu, antal fel: 711 ( 1.00 betyg )
- X is defined but never used. (totalt 534 st)
- X is assigned a value but never used. (totalt 125 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 18 st)
- `content-type=".*javascript.*"` in: #56: splide.min-Bl31, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #56: splide.min-Bl31, antal fel: 713 ( 1.00 betyg )
- X is defined but never used. (totalt 536 st)
- X is assigned a value but never used. (totalt 125 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 18 st)
- `content-type=".*javascript.*"` in: #58: splide-extensio, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #58: splide-extensio, antal fel: 718 ( 1.00 betyg )
- X is defined but never used. (totalt 538 st)
- X is assigned a value but never used. (totalt 128 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 18 st)
- `content-type=".*javascript.*"` in: #59: splide-cards-B1, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #59: splide-cards-B1, antal fel: 718 ( 1.00 betyg )
- X is defined but never used. (totalt 538 st)
- X is assigned a value but never used. (totalt 128 st)
- X is not defined. (totalt 34 st)
- Unexpected console statement. (totalt 18 st)
- `content-type=".*javascript.*"` in: #60: moving-gradient, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #60: moving-gradient, antal fel: 820 ( 1.00 betyg )
- X is defined but never used. (totalt 584 st)
- X is assigned a value but never used. (totalt 129 st)
- Unexpected console statement. (totalt 73 st)
- X is not defined. (totalt 34 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)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 6 ( 3.80 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 352 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 241 st)
- Expected X and instead saw X. (totalt 102 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- `< script>` in: #46: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #46: bc-v4.min.html, antal fel: 2 ( 4.60 betyg )
- Expected X and instead saw X. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: app-TXJ8W4zt.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #18: app-TXJ8W4zt.js, antal fel: 12 ( 2.60 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10 st)
- Expected X and instead saw X. (totalt 2 st)
- `content-type=".*javascript.*"` in: #32: gtm.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #32: gtm.js, antal fel: 1081 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 772 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 76 st)
- Unnecessary escape character: \/. (totalt 24 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: configuration.j, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #38: configuration.j, antal fel: 1081 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 772 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 76 st)
- Unnecessary escape character: \/. (totalt 24 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #39: cc.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #39: cc.js, antal fel: 1428 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1078 st)
- Expected X and instead saw X. (totalt 236 st)
- Do not access Object.prototype method X from target object. (totalt 76 st)
- Unnecessary escape character: \/. (totalt 24 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (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: #47: uc.js, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #47: uc.js, antal fel: 1780 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1319 st)
- Expected X and instead saw X. (totalt 338 st)
- Do not access Object.prototype method X from target object. (totalt 76 st)
- Unnecessary escape character: \/. (totalt 26 st)
- Unnecessary escape character: \-. (totalt 4 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- `content-type=".*javascript.*"` in: #51: index-EF26ySAH., antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #51: index-EF26ySAH., antal fel: 1784 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1322 st)
- Expected X and instead saw X. (totalt 339 st)
- Do not access Object.prototype method X from target object. (totalt 76 st)
- Unnecessary escape character: \/. (totalt 26 st)
- Unnecessary escape character: \-. (totalt 4 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: vue.esm-bundler, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #52: vue.esm-bundler, antal fel: 2495 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1942 st)
- Expected X and instead saw X. (totalt 419 st)
- Do not access Object.prototype method X from target object. (totalt 79 st)
- Unnecessary escape character: \/. (totalt 26 st)
- X is not modified in this loop. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (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: #54: index-B0I-clbC., antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #54: index-B0I-clbC., antal fel: 2499 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1946 st)
- Expected X and instead saw X. (totalt 419 st)
- Do not access Object.prototype method X from target object. (totalt 79 st)
- Unnecessary escape character: \/. (totalt 26 st)
- X is not modified in this loop. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (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: #55: splide-image-qu, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #55: splide-image-qu, antal fel: 2499 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1946 st)
- Expected X and instead saw X. (totalt 419 st)
- Do not access Object.prototype method X from target object. (totalt 79 st)
- Unnecessary escape character: \/. (totalt 26 st)
- X is not modified in this loop. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (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: #56: splide.min-Bl31, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #56: splide.min-Bl31, antal fel: 2654 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2099 st)
- Expected X and instead saw X. (totalt 420 st)
- Do not access Object.prototype method X from target object. (totalt 79 st)
- Unnecessary escape character: \/. (totalt 26 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (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: #58: splide-extensio, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #58: splide-extensio, antal fel: 2686 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2128 st)
- Expected X and instead saw X. (totalt 421 st)
- Do not access Object.prototype method X from target object. (totalt 79 st)
- Unnecessary escape character: \/. (totalt 26 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (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: #59: splide-cards-B1, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #59: splide-cards-B1, antal fel: 2687 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2129 st)
- Expected X and instead saw X. (totalt 421 st)
- Do not access Object.prototype method X from target object. (totalt 79 st)
- Unnecessary escape character: \/. (totalt 26 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (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: #60: moving-gradient, antal grupperade fel: 28 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #60: moving-gradient, antal fel: 4376 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3397 st)
- Expected X and instead saw X. (totalt 789 st)
- Do not access Object.prototype method X from target object. (totalt 80 st)
- Unnecessary escape character: \/. (totalt 27 st)
- Async method X has no X expression. (totalt 24 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 5 st)
- Script URL is a form of eval. (totalt 5 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Redundant use of `await` on a return value. (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)
- Unnecessary escape character: \". (totalt 2 st)
- Unnecessary escape character: \'. (totalt 2 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \*. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)