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.77 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: 160 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 45 st)
- X is assigned a value but never used. (totalt 7 st)
- Unexpected console statement. (totalt 3 st)
- `< script>` in: #52: page.php, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #52: page.php, antal fel: 18 ( 1.40 betyg )
- X is not defined. (totalt 15 st)
- X is defined but never used. (totalt 3 st)
- `< script src="...">` in: #52: page.php, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #52: page.php, antal fel: 1585 ( 1.00 betyg )
- X is not defined. (totalt 976 st)
- X is defined but never used. (totalt 604 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #47: sdk.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #47: sdk.js, antal fel: 1 ( 4.80 betyg )
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #92: 8Dvk-eDMQTC.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #92: 8Dvk-eDMQTC.js, antal fel: 33 ( 1.00 betyg )
- X is not defined. (totalt 21 st)
- X is defined but never used. (totalt 11 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #93: amyGrkdFjPp.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #93: amyGrkdFjPp.js, antal fel: 197 ( 1.00 betyg )
- X is not defined. (totalt 145 st)
- X is defined but never used. (totalt 51 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #94: -yEg2JJxixi.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #94: -yEg2JJxixi.js, antal fel: 447 ( 1.00 betyg )
- X is not defined. (totalt 303 st)
- X is defined but never used. (totalt 142 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #95: 1Lhj78VXkaF.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #95: 1Lhj78VXkaF.js, antal fel: 645 ( 1.00 betyg )
- X is not defined. (totalt 464 st)
- X is defined but never used. (totalt 179 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #96: FJkP6A-H0Fc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #96: FJkP6A-H0Fc.js, antal fel: 746 ( 1.00 betyg )
- X is not defined. (totalt 538 st)
- X is defined but never used. (totalt 206 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #97: XdVaQb4oRvj.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #97: XdVaQb4oRvj.js, antal fel: 1191 ( 1.00 betyg )
- X is not defined. (totalt 866 st)
- X is defined but never used. (totalt 323 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #98: HzxD9aAXSyD.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #98: HzxD9aAXSyD.js, antal fel: 1206 ( 1.00 betyg )
- X is not defined. (totalt 869 st)
- X is defined but never used. (totalt 335 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #99: ie38mp0O07P.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #99: ie38mp0O07P.js, antal fel: 1211 ( 1.00 betyg )
- X is not defined. (totalt 872 st)
- X is defined but never used. (totalt 337 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #100: GSR9SYoJcHi.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #100: GSR9SYoJcHi.js, antal fel: 1575 ( 1.00 betyg )
- X is not defined. (totalt 1166 st)
- X is defined but never used. (totalt 407 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (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: 18 ( 1.40 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 926 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 667 st)
- Expected X and instead saw X. (totalt 230 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 3 st)
- Unnecessary escape character: \&. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \=. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \.. (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)
- `< script>` in: #52: page.php, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #52: page.php, antal fel: 2007 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1990 st)
- Expected an assignment or function call and instead saw an expression. (totalt 11 st)
- Expected X and instead saw X. (totalt 6 st)
- `< script src="...">` in: #52: page.php, antal grupperade fel: 26 ( 1.00 betyg )
- `< script src="...">` in: #52: page.php, antal fel: 5818 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3522 st)
- Expected X and instead saw X. (totalt 2042 st)
- X is assigned to itself. (totalt 138 st)
- Unnecessary X. (totalt 46 st)
- Unnecessary escape character: \". (totalt 12 st)
- Unnecessary escape character: \/. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \'. (totalt 5 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (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 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)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Unnecessary escape character: \=. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: sdk.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #36: sdk.js, antal fel: 7 ( 3.60 betyg )
- Unnecessary escape character: \/. (totalt 4 st)
- Expected an assignment or function call and instead saw an expression. (totalt 3 st)
- `content-type=".*javascript.*"` in: #47: sdk.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #47: sdk.js, antal fel: 8 ( 3.40 betyg )
- Unnecessary escape character: \/. (totalt 4 st)
- Expected an assignment or function call and instead saw an expression. (totalt 3 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #92: 8Dvk-eDMQTC.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #92: 8Dvk-eDMQTC.js, antal fel: 72 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 46 st)
- Expected X and instead saw X. (totalt 20 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #93: amyGrkdFjPp.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #93: amyGrkdFjPp.js, antal fel: 747 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 539 st)
- Expected X and instead saw X. (totalt 193 st)
- X is assigned to itself. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #94: -yEg2JJxixi.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #94: -yEg2JJxixi.js, antal fel: 1967 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1091 st)
- Expected X and instead saw X. (totalt 812 st)
- X is assigned to itself. (totalt 59 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #95: 1Lhj78VXkaF.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #95: 1Lhj78VXkaF.js, antal fel: 2493 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1448 st)
- Expected X and instead saw X. (totalt 967 st)
- X is assigned to itself. (totalt 69 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- `content-type=".*javascript.*"` in: #96: FJkP6A-H0Fc.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #96: FJkP6A-H0Fc.js, antal fel: 2582 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1507 st)
- Expected X and instead saw X. (totalt 996 st)
- X is assigned to itself. (totalt 70 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- `content-type=".*javascript.*"` in: #97: XdVaQb4oRvj.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #97: XdVaQb4oRvj.js, antal fel: 3482 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2253 st)
- Expected X and instead saw X. (totalt 1138 st)
- X is assigned to itself. (totalt 80 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- `content-type=".*javascript.*"` in: #98: HzxD9aAXSyD.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #98: HzxD9aAXSyD.js, antal fel: 3589 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2350 st)
- Expected X and instead saw X. (totalt 1138 st)
- X is assigned to itself. (totalt 80 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- `content-type=".*javascript.*"` in: #99: ie38mp0O07P.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #99: ie38mp0O07P.js, antal fel: 3844 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2469 st)
- Expected X and instead saw X. (totalt 1253 st)
- X is assigned to itself. (totalt 80 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- X is not modified in this loop. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \". (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- `content-type=".*javascript.*"` in: #100: GSR9SYoJcHi.js, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #100: GSR9SYoJcHi.js, antal fel: 5237 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3139 st)
- Expected X and instead saw X. (totalt 1916 st)
- X is assigned to itself. (totalt 126 st)
- Unnecessary escape character: \". (totalt 14 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- X is not modified in this loop. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \>. (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)