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.60 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: 972 ( 1.00 betyg )
- X is defined but never used. (totalt 573 st)
- X is not defined. (totalt 274 st)
- X is assigned a value but never used. (totalt 101 st)
- Unexpected console statement. (totalt 24 st)
- `< script>` in: #62: 7PSkg, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #62: 7PSkg, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `< script src="...">` in: #62: 7PSkg, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #62: 7PSkg, antal fel: 362 ( 1.00 betyg )
- X is not defined. (totalt 148 st)
- X is defined but never used. (totalt 110 st)
- Unexpected console statement. (totalt 93 st)
- X is assigned a value but never used. (totalt 11 st)
- `< script>` in: #87: anchor, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #87: anchor, antal fel: 1 ( 4.80 betyg )
- X is not defined. (totalt 1 st)
- `< script src="...">` in: #87: anchor, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #87: 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)
- `content-type=".*javascript.*"` in: #25: wp-emoji-releas, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #25: wp-emoji-releas, antal fel: 1 ( 4.80 betyg )
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #60: js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #60: js, antal fel: 386 ( 1.00 betyg )
- X is defined but never used. (totalt 320 st)
- X is assigned a value but never used. (totalt 53 st)
- X is not defined. (totalt 13 st)
- `content-type=".*javascript.*"` in: #61: js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #61: js, antal fel: 961 ( 1.00 betyg )
- X is defined but never used. (totalt 780 st)
- X is assigned a value but never used. (totalt 143 st)
- X is not defined. (totalt 38 st)
- `content-type=".*javascript.*"` in: #75: js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #75: js, antal fel: 1464 ( 1.00 betyg )
- X is defined but never used. (totalt 1177 st)
- X is assigned a value but never used. (totalt 233 st)
- X is not defined. (totalt 54 st)
- `content-type=".*javascript.*"` in: #76: analytics.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #76: analytics.js, antal fel: 1494 ( 1.00 betyg )
- X is defined but never used. (totalt 1204 st)
- X is assigned a value but never used. (totalt 233 st)
- X is not defined. (totalt 57 st)
- `content-type=".*javascript.*"` in: #78: revolution.exte, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: revolution.exte, antal fel: 1589 ( 1.00 betyg )
- X is defined but never used. (totalt 1227 st)
- X is assigned a value but never used. (totalt 233 st)
- X is not defined. (totalt 125 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #79: revolution.exte, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #79: revolution.exte, antal fel: 1766 ( 1.00 betyg )
- X is defined but never used. (totalt 1230 st)
- X is not defined. (totalt 298 st)
- X is assigned a value but never used. (totalt 233 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #80: revolution.exte, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #80: revolution.exte, antal fel: 1806 ( 1.00 betyg )
- X is defined but never used. (totalt 1232 st)
- X is not defined. (totalt 336 st)
- X is assigned a value but never used. (totalt 233 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #81: revolution.exte, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #81: revolution.exte, antal fel: 1954 ( 1.00 betyg )
- X is defined but never used. (totalt 1240 st)
- X is not defined. (totalt 476 st)
- X is assigned a value but never used. (totalt 233 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #82: revolution.exte, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #82: revolution.exte, antal fel: 1965 ( 1.00 betyg )
- X is defined but never used. (totalt 1241 st)
- X is not defined. (totalt 484 st)
- X is assigned a value but never used. (totalt 235 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #83: revolution.exte, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #83: revolution.exte, antal fel: 2051 ( 1.00 betyg )
- X is defined but never used. (totalt 1245 st)
- X is not defined. (totalt 566 st)
- X is assigned a value but never used. (totalt 235 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #99: recaptcha--sv.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #99: recaptcha--sv.j, antal fel: 2151 ( 1.00 betyg )
- X is defined but never used. (totalt 1323 st)
- X is not defined. (totalt 583 st)
- X is assigned a value but never used. (totalt 237 st)
- Unexpected console statement. (totalt 8 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: 20 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3772 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2439 st)
- Expected X and instead saw X. (totalt 1162 st)
- Do not access Object.prototype method X from target object. (totalt 102 st)
- Unnecessary escape character: \-. (totalt 13 st)
- Unnecessary escape character: \/. (totalt 11 st)
- X is not modified in this loop. (totalt 10 st)
- Unnecessary X. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 7 st)
- X is assigned to itself. (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)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 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)
- `< script src="...">` in: #62: 7PSkg, antal grupperade fel: 21 ( 1.00 betyg )
- `< script src="...">` in: #62: 7PSkg, antal fel: 1724 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 994 st)
- Expected X and instead saw X. (totalt 596 st)
- Unnecessary escape character: \-. (totalt 93 st)
- Async method X has no X expression. (totalt 7 st)
- Unnecessary escape character: \+. (totalt 6 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 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 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Do not access Object.prototype method X from target object. (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 URL is a form of eval. (totalt 1 st)
- `< script src="...">` in: #87: anchor, antal grupperade fel: 18 ( 1.40 betyg )
- `< script src="...">` in: #87: 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)
- `content-type=".*javascript.*"` in: #25: wp-emoji-releas, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #25: wp-emoji-releas, antal fel: 26 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 15 st)
- Expected X and instead saw X. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- `content-type=".*javascript.*"` in: #60: js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #60: js, antal fel: 1704 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1331 st)
- Expected X and instead saw X. (totalt 248 st)
- Do not access Object.prototype method X from target object. (totalt 107 st)
- Unnecessary escape character: \/. (totalt 5 st)
- X is not modified in this loop. (totalt 4 st)
- X is assigned to itself. (totalt 3 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)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #61: js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #61: js, antal fel: 2849 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2148 st)
- Expected X and instead saw X. (totalt 472 st)
- Do not access Object.prototype method X from target object. (totalt 196 st)
- X is not modified in this loop. (totalt 11 st)
- Unnecessary escape character: \/. (totalt 8 st)
- X is assigned to itself. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #75: js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #75: js, antal fel: 4212 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3198 st)
- Expected X and instead saw X. (totalt 690 st)
- Do not access Object.prototype method X from target object. (totalt 278 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 11 st)
- X is assigned to itself. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #76: analytics.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #76: analytics.js, antal fel: 4642 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3432 st)
- Expected X and instead saw X. (totalt 868 st)
- Do not access Object.prototype method X from target object. (totalt 290 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is assigned to itself. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #78: revolution.exte, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #78: revolution.exte, antal fel: 4920 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3532 st)
- Expected X and instead saw X. (totalt 1046 st)
- Do not access Object.prototype method X from target object. (totalt 290 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is assigned to itself. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #79: revolution.exte, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #79: revolution.exte, antal fel: 5149 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3604 st)
- Expected X and instead saw X. (totalt 1202 st)
- Do not access Object.prototype method X from target object. (totalt 290 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is assigned to itself. (totalt 10 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #80: revolution.exte, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #80: revolution.exte, antal fel: 5223 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3638 st)
- Expected X and instead saw X. (totalt 1241 st)
- Do not access Object.prototype method X from target object. (totalt 290 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is assigned to itself. (totalt 10 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #81: revolution.exte, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #81: revolution.exte, antal fel: 5486 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3742 st)
- Expected X and instead saw X. (totalt 1400 st)
- Do not access Object.prototype method X from target object. (totalt 290 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is assigned to itself. (totalt 10 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #82: revolution.exte, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #82: revolution.exte, antal fel: 5513 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3753 st)
- Expected X and instead saw X. (totalt 1416 st)
- Do not access Object.prototype method X from target object. (totalt 290 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is assigned to itself. (totalt 10 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #83: revolution.exte, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #83: revolution.exte, antal fel: 5629 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3809 st)
- Expected X and instead saw X. (totalt 1475 st)
- Do not access Object.prototype method X from target object. (totalt 290 st)
- X is not modified in this loop. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- X is assigned to itself. (totalt 10 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \:. (totalt 1 st)
- `content-type=".*javascript.*"` in: #99: recaptcha--sv.j, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #99: recaptcha--sv.j, antal fel: 7894 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 4383 st)
- Expected X and instead saw X. (totalt 3116 st)
- Do not access Object.prototype method X from target object. (totalt 294 st)
- Unnecessary escape character: \/. (totalt 22 st)
- X is assigned to itself. (totalt 16 st)
- X is not modified in this loop. (totalt 15 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Unnecessary escape character: \?. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \}. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 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)