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.70 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: 1241 ( 1.00 betyg )
- X is defined but never used. (totalt 1066 st)
- X is assigned a value but never used. (totalt 120 st)
- X is not defined. (totalt 40 st)
- Unexpected console statement. (totalt 15 st)
- `< script>` in: #33: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #33: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `< script>` in: #34: TVRoaFpHOTJaVzg, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #34: TVRoaFpHOTJaVzg, 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: #19: configuration.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #19: configuration.j, antal fel: 7 ( 3.60 betyg )
- X is not defined. (totalt 7 st)
- `content-type=".*javascript.*"` in: #20: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: cc.js, antal fel: 35 ( 1.00 betyg )
- X is not defined. (totalt 16 st)
- X is defined but never used. (totalt 12 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: jquery-ui.min.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #41: jquery-ui.min.j, antal fel: 52 ( 1.00 betyg )
- X is defined but never used. (totalt 23 st)
- X is not defined. (totalt 21 st)
- X is assigned a value but never used. (totalt 7 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: jquery.datetime, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: jquery.datetime, antal fel: 61 ( 1.00 betyg )
- X is not defined. (totalt 29 st)
- X is defined but never used. (totalt 24 st)
- X is assigned a value but never used. (totalt 7 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: leaderboard.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: leaderboard.js, antal fel: 114 ( 1.00 betyg )
- X is not defined. (totalt 78 st)
- X is defined but never used. (totalt 25 st)
- X is assigned a value but never used. (totalt 8 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #44: bootstrap.min.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: bootstrap.min.j, antal fel: 127 ( 1.00 betyg )
- X is not defined. (totalt 90 st)
- X is defined but never used. (totalt 25 st)
- X is assigned a value but never used. (totalt 9 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #45: theme.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: theme.js, antal fel: 139 ( 1.00 betyg )
- X is not defined. (totalt 102 st)
- X is defined but never used. (totalt 25 st)
- X is assigned a value but never used. (totalt 9 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #46: modernizr.custo, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #46: modernizr.custo, antal fel: 145 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 27 st)
- X is assigned a value but never used. (totalt 10 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #47: require.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: require.js, antal fel: 147 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 29 st)
- X is assigned a value but never used. (totalt 10 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #49: jquery.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #49: jquery.js, antal fel: 169 ( 1.00 betyg )
- X is not defined. (totalt 107 st)
- X is defined but never used. (totalt 49 st)
- X is assigned a value but never used. (totalt 10 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #52: amd-app.8fdf514, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #52: amd-app.8fdf514, antal fel: 5311 ( 1.00 betyg )
- X is not defined. (totalt 4713 st)
- Unexpected console statement. (totalt 299 st)
- X is defined but never used. (totalt 227 st)
- X is assigned a value but never used. (totalt 72 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: 15 ( 2.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1999 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1086 st)
- Expected X and instead saw X. (totalt 769 st)
- Do not access Object.prototype method X from target object. (totalt 98 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- X is not modified in this loop. (totalt 7 st)
- The Function constructor is eval. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `< script>` in: #33: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #33: 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: #34: TVRoaFpHOTJaVzg, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #34: TVRoaFpHOTJaVzg, 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: #20: cc.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #20: cc.js, antal fel: 347 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 306 st)
- Expected X and instead saw X. (totalt 36 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: jquery-ui.min.j, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #41: jquery-ui.min.j, antal fel: 1049 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 870 st)
- Expected X and instead saw X. (totalt 132 st)
- Unnecessary escape character: \-. (totalt 11 st)
- Unnecessary X. (totalt 11 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)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: jquery.datetime, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #42: jquery.datetime, antal fel: 1189 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 970 st)
- Expected X and instead saw X. (totalt 153 st)
- Unnecessary escape character: \-. (totalt 13 st)
- Unnecessary X. (totalt 11 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 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Do not access Object.prototype method X from target object. (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)
- X is not modified in this loop. (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)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: leaderboard.js, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #43: leaderboard.js, antal fel: 1195 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 970 st)
- Expected X and instead saw X. (totalt 159 st)
- Unnecessary escape character: \-. (totalt 13 st)
- Unnecessary X. (totalt 11 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 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Do not access Object.prototype method X from target object. (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)
- X is not modified in this loop. (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)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #44: bootstrap.min.j, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #44: bootstrap.min.j, antal fel: 1396 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1093 st)
- Expected X and instead saw X. (totalt 235 st)
- Unnecessary escape character: \-. (totalt 13 st)
- Unnecessary X. (totalt 13 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 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Do not access Object.prototype method X from target object. (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)
- X is not modified in this loop. (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)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #45: theme.js, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #45: theme.js, antal fel: 1397 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1093 st)
- Expected X and instead saw X. (totalt 236 st)
- Unnecessary escape character: \-. (totalt 13 st)
- Unnecessary X. (totalt 13 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 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Do not access Object.prototype method X from target object. (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)
- X is not modified in this loop. (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)
- Unnecessary escape character: \). (totalt 1 st)
- `content-type=".*javascript.*"` in: #46: modernizr.custo, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #46: modernizr.custo, antal fel: 1461 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1127 st)
- Expected X and instead saw X. (totalt 262 st)
- Unnecessary escape character: \-. (totalt 13 st)
- Unnecessary X. (totalt 13 st)
- Do not access Object.prototype method X from target object. (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 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- X is not modified in this loop. (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)
- Unnecessary escape character: \). (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #47: require.js, antal grupperade fel: 22 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #47: require.js, antal fel: 1466 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1127 st)
- Expected X and instead saw X. (totalt 262 st)
- Unnecessary escape character: \-. (totalt 14 st)
- Unnecessary X. (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 5 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)
- Unnecessary escape character: \.. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- X is not modified in this loop. (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)
- Unnecessary escape character: \). (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: jquery.js, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #49: jquery.js, antal fel: 1555 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1134 st)
- Expected X and instead saw X. (totalt 333 st)
- Unnecessary escape character: \-. (totalt 14 st)
- Unnecessary X. (totalt 14 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \[. (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)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- The Function constructor is eval. (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)
- Unnecessary escape character: \). (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: amd-app.8fdf514, antal grupperade fel: 25 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #52: amd-app.8fdf514, antal fel: 3033 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2050 st)
- Expected X and instead saw X. (totalt 880 st)
- Unnecessary escape character: \-. (totalt 17 st)
- Unnecessary X. (totalt 14 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Unnecessary escape character: \[. (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 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \=. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- The Function constructor is eval. (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)
- Unnecessary escape character: \). (totalt 1 st)
- eval can be harmful. (totalt 1 st)