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.33 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: 1401 ( 1.00 betyg )
- X is defined but never used. (totalt 651 st)
- X is not defined. (totalt 607 st)
- Unexpected console statement. (totalt 70 st)
- X is assigned a value but never used. (totalt 69 st)
- Parsing error: Unexpected token : (totalt 4 st)
- `< script>` in: #94: TVRaaFpHOTJaVzg, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #94: TVRaaFpHOTJaVzg, antal fel: 67 ( 1.00 betyg )
- X is not defined. (totalt 46 st)
- X is defined but never used. (totalt 16 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #79: recaptcha--sv.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #79: recaptcha--sv.j, 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: #141: jquery-ui.min.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #141: jquery-ui.min.j, antal fel: 117 ( 1.00 betyg )
- X is defined but never used. (totalt 89 st)
- X is not defined. (totalt 22 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #142: jquery.datetime, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #142: jquery.datetime, antal fel: 126 ( 1.00 betyg )
- X is defined but never used. (totalt 90 st)
- X is not defined. (totalt 30 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #143: leaderboard.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #143: leaderboard.js, antal fel: 179 ( 1.00 betyg )
- X is defined but never used. (totalt 91 st)
- X is not defined. (totalt 79 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #144: bootstrap.min.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #144: bootstrap.min.j, antal fel: 192 ( 1.00 betyg )
- X is defined but never used. (totalt 91 st)
- X is not defined. (totalt 91 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #145: theme.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #145: theme.js, antal fel: 204 ( 1.00 betyg )
- X is not defined. (totalt 103 st)
- X is defined but never used. (totalt 91 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #146: modernizr.custo, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #146: modernizr.custo, antal fel: 210 ( 1.00 betyg )
- X is not defined. (totalt 106 st)
- X is defined but never used. (totalt 93 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #147: require.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #147: require.js, antal fel: 212 ( 1.00 betyg )
- X is not defined. (totalt 106 st)
- X is defined but never used. (totalt 95 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #150: jquery.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #150: jquery.js, antal fel: 234 ( 1.00 betyg )
- X is defined but never used. (totalt 115 st)
- X is not defined. (totalt 108 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #152: amd-app.8fdf514, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #152: amd-app.8fdf514, antal fel: 5376 ( 1.00 betyg )
- X is not defined. (totalt 4714 st)
- Unexpected console statement. (totalt 301 st)
- X is defined but never used. (totalt 293 st)
- X is assigned a value but never used. (totalt 68 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: 37 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 9063 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 5811 st)
- Expected X and instead saw X. (totalt 2963 st)
- Do not access Object.prototype method X from target object. (totalt 66 st)
- X is assigned to itself. (totalt 55 st)
- Unnecessary escape character: \/. (totalt 28 st)
- Comparing to itself is potentially pointless. (totalt 16 st)
- Unnecessary escape character: \[. (totalt 16 st)
- Unnecessary escape character: \-. (totalt 14 st)
- Unnecessary escape character: \#. (totalt 10 st)
- X is not modified in this loop. (totalt 9 st)
- The Function constructor is eval. (totalt 9 st)
- Unnecessary escape character: \%. (totalt 8 st)
- Unsafe usage of ThrowStatement. (totalt 7 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \'. (totalt 5 st)
- Parsing error: Unexpected token : (totalt 4 st)
- Unnecessary escape character: \+. (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 3 st)
- Script URL is a form of eval. (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 2 st)
- Async arrow function has no X expression. (totalt 1 st)
- Async method X has no X expression. (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)
- Unnecessary escape character: \|. (totalt 1 st)
- Unnecessary escape character: \&. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `< script>` in: #94: TVRaaFpHOTJaVzg, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #94: TVRaaFpHOTJaVzg, antal fel: 14 ( 2.20 betyg )
- Expected X and instead saw X. (totalt 12 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #79: recaptcha--sv.j, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #79: recaptcha--sv.j, 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: #141: jquery-ui.min.j, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #141: jquery-ui.min.j, antal fel: 2967 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1737 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1138 st)
- Unnecessary escape character: \-. (totalt 14 st)
- Unnecessary X. (totalt 12 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \^. (totalt 6 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 5 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \%. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #142: jquery.datetime, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #142: jquery.datetime, antal fel: 3107 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1758 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1238 st)
- Unnecessary escape character: \-. (totalt 16 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Unnecessary X. (totalt 12 st)
- Do not access Object.prototype method X from target object. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \+. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 5 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \%. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #143: leaderboard.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #143: leaderboard.js, antal fel: 3113 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1764 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1238 st)
- Unnecessary escape character: \-. (totalt 16 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Unnecessary X. (totalt 12 st)
- Do not access Object.prototype method X from target object. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \+. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 5 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \%. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #144: bootstrap.min.j, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #144: bootstrap.min.j, antal fel: 3314 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1840 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1361 st)
- Unnecessary escape character: \-. (totalt 16 st)
- Unnecessary X. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Do not access Object.prototype method X from target object. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \+. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 5 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \%. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #145: theme.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #145: theme.js, antal fel: 3315 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1841 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1361 st)
- Unnecessary escape character: \-. (totalt 16 st)
- Unnecessary X. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Do not access Object.prototype method X from target object. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \+. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 5 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \%. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #146: modernizr.custo, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #146: modernizr.custo, antal fel: 3379 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1867 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1395 st)
- Unnecessary escape character: \-. (totalt 16 st)
- Unnecessary X. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \+. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 5 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \%. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #147: require.js, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #147: require.js, antal fel: 3384 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1867 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1395 st)
- Unnecessary escape character: \-. (totalt 17 st)
- Unnecessary X. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \+. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 5 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \%. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 st)
- eval can be harmful. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #150: jquery.js, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #150: jquery.js, antal fel: 3473 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 1938 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1402 st)
- Unnecessary escape character: \-. (totalt 17 st)
- Unnecessary escape character: \/. (totalt 16 st)
- Unnecessary X. (totalt 15 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \+. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 6 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 3 st)
- eval can be harmful. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \{. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)
- `content-type=".*javascript.*"` in: #152: amd-app.8fdf514, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #152: amd-app.8fdf514, antal fel: 4951 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2485 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2318 st)
- Unnecessary escape character: \-. (totalt 20 st)
- Unnecessary escape character: \/. (totalt 18 st)
- Unnecessary X. (totalt 15 st)
- Do not access Object.prototype method X from target object. (totalt 12 st)
- Unnecessary escape character: \+. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \^. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 6 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 3 st)
- eval can be harmful. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \=. (totalt 3 st)
- Unnecessary escape character: \{. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \}. (totalt 1 st)