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.78 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: 430 ( 1.00 betyg )
- X is defined but never used. (totalt 232 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 43 st)
- X is assigned a value but never used. (totalt 16 st)
- `< script>` in: #62: anchor, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #62: anchor, antal fel: 1 ( 4.80 betyg )
- X is not defined. (totalt 1 st)
- `< script src="...">` in: #62: anchor, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #62: anchor, antal fel: 100 ( 1.00 betyg )
- X is defined but never used. (totalt 78 st)
- X is not defined. (totalt 17 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 2 st)
- `< script>` in: #63: anchor, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #63: anchor, antal fel: 1 ( 4.80 betyg )
- X is not defined. (totalt 1 st)
- `< script src="...">` in: #63: anchor, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #63: anchor, antal fel: 100 ( 1.00 betyg )
- X is defined but never used. (totalt 78 st)
- X is not defined. (totalt 17 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 2 st)
- `< script>` in: #69: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #69: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `< script>` in: #80: bframe, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #80: bframe, antal fel: 1 ( 4.80 betyg )
- X is not defined. (totalt 1 st)
- `< script src="...">` in: #80: bframe, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #80: bframe, antal fel: 100 ( 1.00 betyg )
- X is defined but never used. (totalt 78 st)
- X is not defined. (totalt 17 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #27: main.e6ee3372.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #27: main.e6ee3372.j, antal fel: 102 ( 1.00 betyg )
- X is defined but never used. (totalt 49 st)
- X is assigned a value but never used. (totalt 26 st)
- Unexpected console statement. (totalt 21 st)
- X is not defined. (totalt 6 st)
- `content-type=".*javascript.*"` in: #28: main.691ed7fd.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #28: main.691ed7fd.j, antal fel: 174 ( 1.00 betyg )
- X is defined but never used. (totalt 95 st)
- Unexpected console statement. (totalt 36 st)
- X is assigned a value but never used. (totalt 31 st)
- X is not defined. (totalt 12 st)
- `content-type=".*javascript.*"` in: #43: gtm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: gtm.js, antal fel: 618 ( 1.00 betyg )
- X is defined but never used. (totalt 438 st)
- X is assigned a value but never used. (totalt 122 st)
- Unexpected console statement. (totalt 37 st)
- X is not defined. (totalt 21 st)
- `content-type=".*javascript.*"` in: #44: sdk.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: sdk.js, antal fel: 618 ( 1.00 betyg )
- X is defined but never used. (totalt 438 st)
- X is assigned a value but never used. (totalt 122 st)
- Unexpected console statement. (totalt 37 st)
- X is not defined. (totalt 21 st)
- `content-type=".*javascript.*"` in: #59: sdk.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #59: sdk.js, antal fel: 619 ( 1.00 betyg )
- X is defined but never used. (totalt 438 st)
- X is assigned a value but never used. (totalt 122 st)
- Unexpected console statement. (totalt 37 st)
- X is not defined. (totalt 21 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #64: uc.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #64: uc.js, antal fel: 666 ( 1.00 betyg )
- X is defined but never used. (totalt 458 st)
- X is assigned a value but never used. (totalt 137 st)
- Unexpected console statement. (totalt 48 st)
- X is not defined. (totalt 22 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: cc.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #70: cc.js, antal fel: 694 ( 1.00 betyg )
- X is defined but never used. (totalt 470 st)
- X is assigned a value but never used. (totalt 143 st)
- Unexpected console statement. (totalt 49 st)
- X is not defined. (totalt 31 st)
- Parsing error: X in strict mode (totalt 1 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: 28 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2122 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1133 st)
- Expected X and instead saw X. (totalt 858 st)
- Do not access Object.prototype method X from target object. (totalt 37 st)
- Unnecessary escape character: \/. (totalt 21 st)
- The Function constructor is eval. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 7 st)
- X is not modified in this loop. (totalt 7 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \%. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \}. (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)
- Unexpected string concatenation of literals. (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)
- Unnecessary escape character: \|. (totalt 1 st)
- `< script src="...">` in: #62: anchor, antal grupperade fel: 18 ( 1.40 betyg )
- `< script src="...">` in: #62: anchor, antal fel: 2265 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1641 st)
- Expected an assignment or function call and instead saw an expression. (totalt 574 st)
- Unnecessary escape character: \/. (totalt 9 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `< script src="...">` in: #63: anchor, antal grupperade fel: 18 ( 1.40 betyg )
- `< script src="...">` in: #63: anchor, antal fel: 2265 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1641 st)
- Expected an assignment or function call and instead saw an expression. (totalt 574 st)
- Unnecessary escape character: \/. (totalt 9 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `< script>` in: #69: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #69: 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 src="...">` in: #80: bframe, antal grupperade fel: 18 ( 1.40 betyg )
- `< script src="...">` in: #80: bframe, antal fel: 2265 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1641 st)
- Expected an assignment or function call and instead saw an expression. (totalt 574 st)
- Unnecessary escape character: \/. (totalt 9 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #27: main.e6ee3372.j, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #27: main.e6ee3372.j, antal fel: 1216 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 865 st)
- Unnecessary escape character: \.. (totalt 123 st)
- Expected X and instead saw X. (totalt 118 st)
- Unnecessary escape character: \/. (totalt 32 st)
- Do not access Object.prototype method X from target object. (totalt 30 st)
- Unnecessary escape character: \). (totalt 14 st)
- X is not modified in this loop. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Unnecessary X. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- `content-type=".*javascript.*"` in: #28: main.691ed7fd.j, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #28: main.691ed7fd.j, antal fel: 2054 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1562 st)
- Expected X and instead saw X. (totalt 215 st)
- Unnecessary escape character: \.. (totalt 123 st)
- Do not access Object.prototype method X from target object. (totalt 58 st)
- Unnecessary escape character: \/. (totalt 33 st)
- X is not modified in this loop. (totalt 17 st)
- Unnecessary escape character: \). (totalt 14 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \+. (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)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: gtm.js, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #43: gtm.js, antal fel: 3687 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2715 st)
- Expected X and instead saw X. (totalt 441 st)
- Do not access Object.prototype method X from target object. (totalt 165 st)
- Unnecessary escape character: \/. (totalt 163 st)
- Unnecessary escape character: \.. (totalt 124 st)
- X is not modified in this loop. (totalt 20 st)
- Unnecessary escape character: \). (totalt 14 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary X. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \,. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- eval can be harmful. (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: #44: sdk.js, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #44: sdk.js, antal fel: 3694 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2718 st)
- Expected X and instead saw X. (totalt 441 st)
- Unnecessary escape character: \/. (totalt 167 st)
- Do not access Object.prototype method X from target object. (totalt 165 st)
- Unnecessary escape character: \.. (totalt 124 st)
- X is not modified in this loop. (totalt 20 st)
- Unnecessary escape character: \). (totalt 14 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary X. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \,. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- eval can be harmful. (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: #59: sdk.js, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #59: sdk.js, antal fel: 3695 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2718 st)
- Expected X and instead saw X. (totalt 441 st)
- Unnecessary escape character: \/. (totalt 167 st)
- Do not access Object.prototype method X from target object. (totalt 165 st)
- Unnecessary escape character: \.. (totalt 124 st)
- X is not modified in this loop. (totalt 20 st)
- Unnecessary escape character: \). (totalt 14 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary X. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \,. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- eval can be harmful. (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)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #64: uc.js, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #64: uc.js, antal fel: 4047 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2959 st)
- Expected X and instead saw X. (totalt 543 st)
- Unnecessary escape character: \/. (totalt 169 st)
- Do not access Object.prototype method X from target object. (totalt 165 st)
- Unnecessary escape character: \.. (totalt 124 st)
- X is not modified in this loop. (totalt 20 st)
- Unnecessary escape character: \-. (totalt 15 st)
- Unnecessary escape character: \). (totalt 14 st)
- Unnecessary X. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Async arrow function has no X expression. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \,. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- eval can be harmful. (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)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: cc.js, antal grupperade fel: 26 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #70: cc.js, antal fel: 4394 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3265 st)
- Expected X and instead saw X. (totalt 579 st)
- Unnecessary escape character: \/. (totalt 169 st)
- Do not access Object.prototype method X from target object. (totalt 165 st)
- Unnecessary escape character: \.. (totalt 124 st)
- X is not modified in this loop. (totalt 20 st)
- Unnecessary escape character: \-. (totalt 15 st)
- Unnecessary escape character: \). (totalt 14 st)
- Unnecessary X. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \:. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 3 st)
- Async arrow function has no X expression. (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 escape character: \,. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \_. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)