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.91 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: 5 ( 4.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 72 ( 1.00 betyg )
- X is not defined. (totalt 45 st)
- X is assigned a value but never used. (totalt 15 st)
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 3 st)
- Parsing error: Identifier X has already been declared (totalt 1 st)
- `< script>` in: #71: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #71: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `< script>` in: #75: index.aa941f8.h, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #75: index.aa941f8.h, antal fel: 2 ( 4.60 betyg )
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: gtm.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #49: gtm.js, antal fel: 547 ( 1.00 betyg )
- X is defined but never used. (totalt 447 st)
- X is assigned a value but never used. (totalt 79 st)
- X is not defined. (totalt 21 st)
- `content-type=".*javascript.*"` in: #63: 806cf205.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #63: 806cf205.js, antal fel: 683 ( 1.00 betyg )
- X is defined but never used. (totalt 526 st)
- X is assigned a value but never used. (totalt 88 st)
- Unexpected console statement. (totalt 39 st)
- X is not defined. (totalt 30 st)
- `content-type=".*javascript.*"` in: #64: uc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #64: uc.js, antal fel: 730 ( 1.00 betyg )
- X is defined but never used. (totalt 546 st)
- X is assigned a value but never used. (totalt 103 st)
- Unexpected console statement. (totalt 50 st)
- X is not defined. (totalt 31 st)
- `content-type=".*javascript.*"` in: #65: sm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #65: sm.js, antal fel: 1101 ( 1.00 betyg )
- X is defined but never used. (totalt 782 st)
- X is not defined. (totalt 149 st)
- X is assigned a value but never used. (totalt 103 st)
- Unexpected console statement. (totalt 67 st)
- `content-type=".*javascript.*"` in: #66: initWidget.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #66: initWidget.js, antal fel: 1101 ( 1.00 betyg )
- X is defined but never used. (totalt 782 st)
- X is not defined. (totalt 149 st)
- X is assigned a value but never used. (totalt 103 st)
- Unexpected console statement. (totalt 67 st)
- `content-type=".*javascript.*"` in: #70: widget.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #70: widget.js, antal fel: 1302 ( 1.00 betyg )
- X is defined but never used. (totalt 959 st)
- X is not defined. (totalt 155 st)
- X is assigned a value but never used. (totalt 103 st)
- Unexpected console statement. (totalt 85 st)
- `content-type=".*javascript.*"` in: #72: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #72: cc.js, antal fel: 1330 ( 1.00 betyg )
- X is defined but never used. (totalt 971 st)
- X is not defined. (totalt 164 st)
- X is assigned a value but never used. (totalt 109 st)
- Unexpected console statement. (totalt 86 st)
- `content-type=".*javascript.*"` in: #78: client.bundle.1, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: client.bundle.1, antal fel: 1766 ( 1.00 betyg )
- X is defined but never used. (totalt 1302 st)
- Unexpected console statement. (totalt 184 st)
- X is not defined. (totalt 171 st)
- X is assigned a value but never used. (totalt 109 st)
- `content-type=".*javascript.*"` in: #80: bundle.fefe147d, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #80: bundle.fefe147d, antal fel: 1939 ( 1.00 betyg )
- X is defined but never used. (totalt 1471 st)
- Unexpected console statement. (totalt 188 st)
- X is not defined. (totalt 171 st)
- X is assigned a value but never used. (totalt 109 st)
- `content-type=".*javascript.*"` in: #81: localization-sv, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #81: localization-sv, antal fel: 1939 ( 1.00 betyg )
- X is defined but never used. (totalt 1471 st)
- Unexpected console statement. (totalt 188 st)
- X is not defined. (totalt 171 st)
- X is assigned a value but never used. (totalt 109 st)
- `content-type=".*javascript.*"` in: #88: nr-rum-1.285.0., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #88: nr-rum-1.285.0., antal fel: 1972 ( 1.00 betyg )
- X is defined but never used. (totalt 1504 st)
- Unexpected console statement. (totalt 188 st)
- X is not defined. (totalt 171 st)
- X is assigned a value but never used. (totalt 109 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: 16 ( 1.80 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 332 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 173 st)
- Expected X and instead saw X. (totalt 112 st)
- Do not access Object.prototype method X from target object. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 7 st)
- X is not modified in this loop. (totalt 4 st)
- Unnecessary escape character: \%. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \?. (totalt 3 st)
- Unnecessary escape character: \&. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 2 st)
- Parsing error: Identifier X has already been declared (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: #71: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #71: 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: #75: index.aa941f8.h, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #75: index.aa941f8.h, antal fel: 7 ( 3.60 betyg )
- Expected X and instead saw X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: gtm.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #49: gtm.js, antal fel: 1093 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 766 st)
- Expected X and instead saw X. (totalt 199 st)
- Do not access Object.prototype method X from target object. (totalt 78 st)
- Unnecessary escape character: \/. (totalt 42 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)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #63: 806cf205.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #63: 806cf205.js, antal fel: 1580 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 928 st)
- Expected X and instead saw X. (totalt 436 st)
- Do not access Object.prototype method X from target object. (totalt 107 st)
- Unnecessary escape character: \-. (totalt 47 st)
- Unnecessary escape character: \/. (totalt 45 st)
- Unexpected string concatenation of literals. (totalt 7 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)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #64: uc.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #64: uc.js, antal fel: 1932 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1169 st)
- Expected X and instead saw X. (totalt 538 st)
- Do not access Object.prototype method X from target object. (totalt 107 st)
- Unnecessary escape character: \-. (totalt 51 st)
- Unnecessary escape character: \/. (totalt 47 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #65: sm.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #65: sm.js, antal fel: 2762 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1698 st)
- Expected X and instead saw X. (totalt 733 st)
- Do not access Object.prototype method X from target object. (totalt 134 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 55 st)
- Unsafe usage of ThrowStatement. (totalt 15 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- X is not modified in this loop. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- `content-type=".*javascript.*"` in: #66: initWidget.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #66: initWidget.js, antal fel: 2762 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1698 st)
- Expected X and instead saw X. (totalt 733 st)
- Do not access Object.prototype method X from target object. (totalt 134 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 55 st)
- Unsafe usage of ThrowStatement. (totalt 15 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- X is not modified in this loop. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- `content-type=".*javascript.*"` in: #70: widget.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #70: widget.js, antal fel: 3603 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2170 st)
- Expected X and instead saw X. (totalt 1060 st)
- Do not access Object.prototype method X from target object. (totalt 160 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 66 st)
- Unsafe usage of ThrowStatement. (totalt 15 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 5 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)
- eval can be harmful. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- `content-type=".*javascript.*"` in: #72: cc.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #72: cc.js, antal fel: 3950 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2476 st)
- Expected X and instead saw X. (totalt 1096 st)
- Do not access Object.prototype method X from target object. (totalt 160 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 66 st)
- Unsafe usage of ThrowStatement. (totalt 15 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 5 st)
- The Function constructor is eval. (totalt 5 st)
- X is not modified in this loop. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (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)
- `content-type=".*javascript.*"` in: #78: client.bundle.1, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #78: client.bundle.1, antal fel: 5884 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3687 st)
- Expected X and instead saw X. (totalt 1748 st)
- Do not access Object.prototype method X from target object. (totalt 193 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 67 st)
- Unsafe usage of ThrowStatement. (totalt 22 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary X. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 8 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- The Function constructor is eval. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \_. (totalt 4 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (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)
- `content-type=".*javascript.*"` in: #80: bundle.fefe147d, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #80: bundle.fefe147d, antal fel: 6571 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4067 st)
- Expected X and instead saw X. (totalt 2023 st)
- Do not access Object.prototype method X from target object. (totalt 219 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 68 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- Unnecessary X. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- The Function constructor is eval. (totalt 8 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \_. (totalt 4 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (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)
- `content-type=".*javascript.*"` in: #81: localization-sv, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #81: localization-sv, antal fel: 6571 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4067 st)
- Expected X and instead saw X. (totalt 2023 st)
- Do not access Object.prototype method X from target object. (totalt 219 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 68 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- Unnecessary X. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- The Function constructor is eval. (totalt 8 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \_. (totalt 4 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (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)
- `content-type=".*javascript.*"` in: #88: nr-rum-1.285.0., antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #88: nr-rum-1.285.0., antal fel: 6783 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4233 st)
- Expected X and instead saw X. (totalt 2068 st)
- Do not access Object.prototype method X from target object. (totalt 219 st)
- Unnecessary escape character: \-. (totalt 98 st)
- Unnecessary escape character: \/. (totalt 68 st)
- Unsafe usage of ThrowStatement. (totalt 23 st)
- Unnecessary X. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- The Function constructor is eval. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- Unnecessary escape character: \[. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \_. (totalt 4 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (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)