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.14 av 5
- JS är dålig.
Webbstandard
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 412 ( 1.00 betyg )
- X is defined but never used. (totalt 347 st)
- X is assigned a value but never used. (totalt 25 st)
- Unexpected console statement. (totalt 24 st)
- X is not defined. (totalt 16 st)
- `content-type=".*javascript.*"` in: #23: gtm.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #23: gtm.js, antal fel: 527 ( 1.00 betyg )
- X is defined but never used. (totalt 430 st)
- X is assigned a value but never used. (totalt 81 st)
- X is not defined. (totalt 16 st)
- `content-type=".*javascript.*"` in: #24: lw.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #24: lw.js, antal fel: 643 ( 1.00 betyg )
- X is defined but never used. (totalt 485 st)
- X is assigned a value but never used. (totalt 81 st)
- X is not defined. (totalt 51 st)
- Unexpected console statement. (totalt 26 st)
- `content-type=".*javascript.*"` in: #25: prebid.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: prebid.js, antal fel: 751 ( 1.00 betyg )
- X is defined but never used. (totalt 575 st)
- X is assigned a value but never used. (totalt 82 st)
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 33 st)
- `content-type=".*javascript.*"` in: #26: adsm.macro.rmb., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: adsm.macro.rmb., antal fel: 776 ( 1.00 betyg )
- X is defined but never used. (totalt 600 st)
- X is assigned a value but never used. (totalt 82 st)
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 33 st)
- `content-type=".*javascript.*"` in: #27: 6194cadf72aeac5, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #27: 6194cadf72aeac5, antal fel: 776 ( 1.00 betyg )
- X is defined but never used. (totalt 600 st)
- X is assigned a value but never used. (totalt 82 st)
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 33 st)
- `content-type=".*javascript.*"` in: #28: 9922.d2fb1648ca, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #28: 9922.d2fb1648ca, antal fel: 777 ( 1.00 betyg )
- X is defined but never used. (totalt 600 st)
- X is assigned a value but never used. (totalt 82 st)
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 33 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: 8314.426ecce5ed, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #29: 8314.426ecce5ed, antal fel: 777 ( 1.00 betyg )
- X is defined but never used. (totalt 600 st)
- X is assigned a value but never used. (totalt 82 st)
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 33 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #30: 3853.04c06c79ac, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #30: 3853.04c06c79ac, antal fel: 801 ( 1.00 betyg )
- X is defined but never used. (totalt 624 st)
- X is assigned a value but never used. (totalt 82 st)
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 33 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: 7108.5d8b7b12bc, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #31: 7108.5d8b7b12bc, antal fel: 828 ( 1.00 betyg )
- X is defined but never used. (totalt 651 st)
- X is assigned a value but never used. (totalt 82 st)
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 33 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: 6194cadf72aeac5, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #34: 6194cadf72aeac5, antal fel: 912 ( 1.00 betyg )
- X is defined but never used. (totalt 674 st)
- X is assigned a value but never used. (totalt 84 st)
- X is not defined. (totalt 81 st)
- Unexpected console statement. (totalt 72 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: loader.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #36: loader.js, antal fel: 918 ( 1.00 betyg )
- X is defined but never used. (totalt 678 st)
- X is assigned a value but never used. (totalt 84 st)
- X is not defined. (totalt 81 st)
- Unexpected console statement. (totalt 74 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: sdk.c8a61c94c9a, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #37: sdk.c8a61c94c9a, antal fel: 1027 ( 1.00 betyg )
- X is defined but never used. (totalt 716 st)
- Unexpected console statement. (totalt 142 st)
- X is assigned a value but never used. (totalt 86 st)
- X is not defined. (totalt 82 st)
- Parsing error: Unexpected token (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 )
- Expected X and instead saw X. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 23 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 6656 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4120 st)
- Expected X and instead saw X. (totalt 2158 st)
- Unnecessary escape character: \.. (totalt 111 st)
- Unnecessary escape character: \/. (totalt 54 st)
- Do not access Object.prototype method X from target object. (totalt 53 st)
- Comparing to itself is potentially pointless. (totalt 41 st)
- Unsafe usage of ThrowStatement. (totalt 34 st)
- Unsafe usage of ReturnStatement. (totalt 28 st)
- Unnecessary escape character: \-. (totalt 13 st)
- Unnecessary escape character: \). (totalt 8 st)
- The Function constructor is eval. (totalt 7 st)
- X is assigned to itself. (totalt 6 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \:. (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)
- eval can be harmful. (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: #23: gtm.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #23: gtm.js, antal fel: 1282 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 813 st)
- Expected X and instead saw X. (totalt 207 st)
- Unnecessary escape character: \/. (totalt 173 st)
- Do not access Object.prototype method X from target object. (totalt 79 st)
- X is not modified in this loop. (totalt 3 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 X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #24: lw.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #24: lw.js, antal fel: 1758 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1221 st)
- Expected X and instead saw X. (totalt 254 st)
- Unnecessary escape character: \/. (totalt 178 st)
- Do not access Object.prototype method X from target object. (totalt 87 st)
- X is not modified in this loop. (totalt 4 st)
- The Function constructor is eval. (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 X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \&. (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: prebid.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #25: prebid.js, antal fel: 3571 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2243 st)
- Expected X and instead saw X. (totalt 898 st)
- Do not access Object.prototype method X from target object. (totalt 210 st)
- Unnecessary escape character: \/. (totalt 185 st)
- Unsafe usage of ThrowStatement. (totalt 12 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (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)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #26: adsm.macro.rmb., antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #26: adsm.macro.rmb., antal fel: 3813 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2438 st)
- Expected X and instead saw X. (totalt 939 st)
- Do not access Object.prototype method X from target object. (totalt 214 st)
- Unnecessary escape character: \/. (totalt 185 st)
- Unsafe usage of ThrowStatement. (totalt 12 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (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)
- Unnecessary escape character: \-. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- `content-type=".*javascript.*"` in: #27: 6194cadf72aeac5, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #27: 6194cadf72aeac5, antal fel: 3813 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2438 st)
- Expected X and instead saw X. (totalt 939 st)
- Do not access Object.prototype method X from target object. (totalt 214 st)
- Unnecessary escape character: \/. (totalt 185 st)
- Unsafe usage of ThrowStatement. (totalt 12 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (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)
- Unnecessary escape character: \-. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- `content-type=".*javascript.*"` in: #28: 9922.d2fb1648ca, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #28: 9922.d2fb1648ca, antal fel: 3814 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2438 st)
- Expected X and instead saw X. (totalt 939 st)
- Do not access Object.prototype method X from target object. (totalt 214 st)
- Unnecessary escape character: \/. (totalt 185 st)
- Unsafe usage of ThrowStatement. (totalt 12 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (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)
- Unnecessary escape character: \-. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: 8314.426ecce5ed, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #29: 8314.426ecce5ed, antal fel: 3865 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2484 st)
- Expected X and instead saw X. (totalt 944 st)
- Do not access Object.prototype method X from target object. (totalt 214 st)
- Unnecessary escape character: \/. (totalt 185 st)
- Unsafe usage of ThrowStatement. (totalt 12 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (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)
- Unnecessary escape character: \-. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #30: 3853.04c06c79ac, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #30: 3853.04c06c79ac, antal fel: 4578 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2732 st)
- Expected X and instead saw X. (totalt 1372 st)
- Do not access Object.prototype method X from target object. (totalt 214 st)
- Unnecessary escape character: \/. (totalt 188 st)
- Unsafe usage of ThrowStatement. (totalt 29 st)
- Unsafe usage of ReturnStatement. (totalt 17 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (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)
- Unnecessary escape character: \-. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: 7108.5d8b7b12bc, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #31: 7108.5d8b7b12bc, antal fel: 5972 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3214 st)
- Expected X and instead saw X. (totalt 2171 st)
- Do not access Object.prototype method X from target object. (totalt 214 st)
- Unnecessary escape character: \/. (totalt 189 st)
- Unsafe usage of ThrowStatement. (totalt 85 st)
- Unsafe usage of ReturnStatement. (totalt 73 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (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)
- Unnecessary escape character: \-. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Parsing error: Unexpected token (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: 6194cadf72aeac5, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #34: 6194cadf72aeac5, antal fel: 6436 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3423 st)
- Expected X and instead saw X. (totalt 2411 st)
- Do not access Object.prototype method X from target object. (totalt 215 st)
- Unnecessary escape character: \/. (totalt 189 st)
- Unsafe usage of ThrowStatement. (totalt 85 st)
- Unsafe usage of ReturnStatement. (totalt 73 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- Unnecessary escape character: \:. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \_. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \&. (totalt 2 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)
- Redundant use of `await` on a return value. (totalt 1 st)
- Parsing error: Unexpected token (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: loader.js, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #36: loader.js, antal fel: 6460 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3430 st)
- Expected X and instead saw X. (totalt 2428 st)
- Do not access Object.prototype method X from target object. (totalt 215 st)
- Unnecessary escape character: \/. (totalt 189 st)
- Unsafe usage of ThrowStatement. (totalt 85 st)
- Unsafe usage of ReturnStatement. (totalt 73 st)
- X is not modified in this loop. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- Unnecessary escape character: \:. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \_. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \&. (totalt 2 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)
- Redundant use of `await` on a return value. (totalt 1 st)
- Parsing error: Unexpected token (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: sdk.c8a61c94c9a, antal grupperade fel: 25 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #37: sdk.c8a61c94c9a, antal fel: 7967 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4018 st)
- Expected X and instead saw X. (totalt 3319 st)
- Do not access Object.prototype method X from target object. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 194 st)
- Unsafe usage of ThrowStatement. (totalt 85 st)
- Unsafe usage of ReturnStatement. (totalt 73 st)
- The Function constructor is eval. (totalt 7 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary escape character: \:. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \_. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Script URL is a form of eval. (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)
- Redundant use of `await` on a return value. (totalt 1 st)
- Parsing error: Unexpected token (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)