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.67 av 5
- JS är dålig.
Webbstandard
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 80 ( 1.00 betyg )
- X is defined but never used. (totalt 45 st)
- Unexpected console statement. (totalt 22 st)
- X is not defined. (totalt 13 st)
- `< script>` in: #16: 708557662, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #16: 708557662, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token const (totalt 1 st)
- `< script>` in: #34: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #34: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `< script>` in: #49: sw-iframe.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #49: sw-iframe.html, antal fel: 2 ( 4.60 betyg )
- X is defined but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #13: gtm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #13: gtm.js, antal fel: 435 ( 1.00 betyg )
- X is defined but never used. (totalt 336 st)
- X is assigned a value but never used. (totalt 87 st)
- X is not defined. (totalt 11 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: uc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: uc.js, antal fel: 482 ( 1.00 betyg )
- X is defined but never used. (totalt 356 st)
- X is assigned a value but never used. (totalt 102 st)
- X is not defined. (totalt 12 st)
- Unexpected console statement. (totalt 12 st)
- `content-type=".*javascript.*"` in: #33: js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #33: js, antal fel: 862 ( 1.00 betyg )
- X is defined but never used. (totalt 673 st)
- X is assigned a value but never used. (totalt 156 st)
- X is not defined. (totalt 21 st)
- Unexpected console statement. (totalt 12 st)
- `content-type=".*javascript.*"` in: #35: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #35: cc.js, antal fel: 890 ( 1.00 betyg )
- X is defined but never used. (totalt 685 st)
- X is assigned a value but never used. (totalt 162 st)
- X is not defined. (totalt 30 st)
- Unexpected console statement. (totalt 13 st)
- `content-type=".*javascript.*"` in: #36: destination, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: destination, antal fel: 1351 ( 1.00 betyg )
- X is defined but never used. (totalt 1055 st)
- X is assigned a value but never used. (totalt 233 st)
- X is not defined. (totalt 50 st)
- Unexpected console statement. (totalt 13 st)
- `content-type=".*javascript.*"` in: #37: destination, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: destination, antal fel: 1873 ( 1.00 betyg )
- X is defined but never used. (totalt 1462 st)
- X is assigned a value but never used. (totalt 326 st)
- X is not defined. (totalt 72 st)
- Unexpected console statement. (totalt 13 st)
- `content-type=".*javascript.*"` in: #38: player.module.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: player.module.j, antal fel: 1965 ( 1.00 betyg )
- X is defined but never used. (totalt 1548 st)
- X is assigned a value but never used. (totalt 329 st)
- X is not defined. (totalt 73 st)
- Unexpected console statement. (totalt 15 st)
- `content-type=".*javascript.*"` in: #39: vendor.module.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #39: vendor.module.j, antal fel: 2143 ( 1.00 betyg )
- X is defined but never used. (totalt 1642 st)
- X is assigned a value but never used. (totalt 331 st)
- X is not defined. (totalt 146 st)
- Unexpected console statement. (totalt 24 st)
- `content-type=".*javascript.*"` in: #42: vuid.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: vuid.min.js, antal fel: 2145 ( 1.00 betyg )
- X is defined but never used. (totalt 1644 st)
- X is assigned a value but never used. (totalt 331 st)
- X is not defined. (totalt 146 st)
- Unexpected console statement. (totalt 24 st)
- `content-type=".*javascript.*"` in: #44: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: cast-sender.js, antal fel: 2149 ( 1.00 betyg )
- X is defined but never used. (totalt 1648 st)
- X is assigned a value but never used. (totalt 331 st)
- X is not defined. (totalt 146 st)
- Unexpected console statement. (totalt 24 st)
- `content-type=".*javascript.*"` in: #46: cast-framework., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #46: cast-framework., antal fel: 2181 ( 1.00 betyg )
- X is defined but never used. (totalt 1660 st)
- X is assigned a value but never used. (totalt 331 st)
- X is not defined. (totalt 166 st)
- Unexpected console statement. (totalt 24 st)
- `content-type=".*javascript.*"` in: #47: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: cast-sender.js, antal fel: 2190 ( 1.00 betyg )
- X is defined but never used. (totalt 1668 st)
- X is assigned a value but never used. (totalt 331 st)
- X is not defined. (totalt 166 st)
- Unexpected console statement. (totalt 25 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)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 26 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 678 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 251 st)
- Unexpected string concatenation of literals. (totalt 175 st)
- Expected X and instead saw X. (totalt 122 st)
- Unnecessary escape character: \[. (totalt 20 st)
- Unnecessary escape character: \.. (totalt 17 st)
- Unnecessary escape character: \/. (totalt 14 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \). (totalt 8 st)
- Unnecessary escape character: \(. (totalt 8 st)
- Unnecessary escape character: \'. (totalt 7 st)
- Unnecessary escape character: \=. (totalt 6 st)
- Unnecessary escape character: \*. (totalt 5 st)
- Unnecessary escape character: \{. (totalt 5 st)
- Unnecessary escape character: \+. (totalt 5 st)
- Unnecessary escape character: \:. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \!. (totalt 3 st)
- Unnecessary X. (totalt 3 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)
- Unnecessary escape character: \%. (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `< script>` in: #16: 708557662, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #16: 708557662, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token const (totalt 1 st)
- `< script>` in: #34: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #34: 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)
- `< script>` in: #49: sw-iframe.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #49: sw-iframe.html, antal fel: 14 ( 2.20 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 11 st)
- Expected X and instead saw X. (totalt 3 st)
- `content-type=".*javascript.*"` in: #13: gtm.js, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #13: gtm.js, antal fel: 1573 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1145 st)
- Expected X and instead saw X. (totalt 230 st)
- Do not access Object.prototype method X from target object. (totalt 108 st)
- Unnecessary escape character: \/. (totalt 76 st)
- X is not modified in this loop. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: uc.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #20: uc.js, antal fel: 1925 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1386 st)
- Expected X and instead saw X. (totalt 332 st)
- Do not access Object.prototype method X from target object. (totalt 108 st)
- Unnecessary escape character: \/. (totalt 78 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 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #33: js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #33: js, antal fel: 3590 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2694 st)
- Expected X and instead saw X. (totalt 569 st)
- Do not access Object.prototype method X from target object. (totalt 212 st)
- Unnecessary escape character: \/. (totalt 81 st)
- X is not modified in this loop. (totalt 8 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: cc.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #35: cc.js, antal fel: 3937 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3000 st)
- Expected X and instead saw X. (totalt 605 st)
- Do not access Object.prototype method X from target object. (totalt 212 st)
- Unnecessary escape character: \/. (totalt 81 st)
- X is not modified in this loop. (totalt 8 st)
- X is assigned to itself. (totalt 6 st)
- Script URL is a form of eval. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- eval can be harmful. (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: #36: destination, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #36: destination, antal fel: 5305 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4035 st)
- Expected X and instead saw X. (totalt 834 st)
- Do not access Object.prototype method X from target object. (totalt 302 st)
- Unnecessary escape character: \/. (totalt 84 st)
- X is not modified in this loop. (totalt 11 st)
- X is assigned to itself. (totalt 9 st)
- Script URL is a form of eval. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \?. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- eval can be harmful. (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: #37: destination, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #37: destination, antal fel: 6577 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 5001 st)
- Expected X and instead saw X. (totalt 1049 st)
- Do not access Object.prototype method X from target object. (totalt 379 st)
- Unnecessary escape character: \/. (totalt 87 st)
- X is not modified in this loop. (totalt 14 st)
- X is assigned to itself. (totalt 12 st)
- Script URL is a form of eval. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- eval can be harmful. (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: #38: player.module.j, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #38: player.module.j, antal fel: 8372 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 5999 st)
- Expected X and instead saw X. (totalt 1842 st)
- Do not access Object.prototype method X from target object. (totalt 382 st)
- Unnecessary escape character: \/. (totalt 87 st)
- X is not modified in this loop. (totalt 14 st)
- X is assigned to itself. (totalt 12 st)
- Script URL is a form of eval. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- eval can be harmful. (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: #39: vendor.module.j, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #39: vendor.module.j, antal fel: 10132 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7046 st)
- Expected X and instead saw X. (totalt 2524 st)
- Do not access Object.prototype method X from target object. (totalt 387 st)
- Unnecessary escape character: \/. (totalt 87 st)
- X is not modified in this loop. (totalt 19 st)
- X is assigned to itself. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unsafe usage of ThrowStatement. (totalt 9 st)
- Script URL is a form of eval. (totalt 6 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- eval can be harmful. (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: #42: vuid.min.js, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #42: vuid.min.js, antal fel: 10132 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7046 st)
- Expected X and instead saw X. (totalt 2524 st)
- Do not access Object.prototype method X from target object. (totalt 387 st)
- Unnecessary escape character: \/. (totalt 87 st)
- X is not modified in this loop. (totalt 19 st)
- X is assigned to itself. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unsafe usage of ThrowStatement. (totalt 9 st)
- Script URL is a form of eval. (totalt 6 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- eval can be harmful. (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: #44: cast-sender.js, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #44: cast-sender.js, antal fel: 10154 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7057 st)
- Expected X and instead saw X. (totalt 2535 st)
- Do not access Object.prototype method X from target object. (totalt 387 st)
- Unnecessary escape character: \/. (totalt 87 st)
- X is not modified in this loop. (totalt 19 st)
- X is assigned to itself. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unsafe usage of ThrowStatement. (totalt 9 st)
- Script URL is a form of eval. (totalt 6 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- eval can be harmful. (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: #46: cast-framework., antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #46: cast-framework., antal fel: 10355 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7167 st)
- Expected X and instead saw X. (totalt 2606 st)
- Do not access Object.prototype method X from target object. (totalt 387 st)
- Unnecessary escape character: \/. (totalt 87 st)
- X is assigned to itself. (totalt 29 st)
- X is not modified in this loop. (totalt 19 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Unsafe usage of ThrowStatement. (totalt 9 st)
- Unnecessary X. (totalt 6 st)
- Script URL is a form of eval. (totalt 6 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- eval can be harmful. (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: cast-sender.js, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #47: cast-sender.js, antal fel: 10535 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7252 st)
- Expected X and instead saw X. (totalt 2685 st)
- Do not access Object.prototype method X from target object. (totalt 392 st)
- Unnecessary escape character: \/. (totalt 87 st)
- X is assigned to itself. (totalt 36 st)
- X is not modified in this loop. (totalt 19 st)
- Comparing to itself is potentially pointless. (totalt 13 st)
- Unnecessary X. (totalt 9 st)
- Unsafe usage of ThrowStatement. (totalt 9 st)
- Script URL is a form of eval. (totalt 6 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \}. (totalt 1 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)