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.73 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 21 ( 1.00 betyg )
- X is not defined. (totalt 15 st)
- Unexpected console statement. (totalt 6 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1387 ( 1.00 betyg )
- X is not defined. (totalt 885 st)
- X is defined but never used. (totalt 365 st)
- Unexpected console statement. (totalt 93 st)
- X is assigned a value but never used. (totalt 44 st)
- `< script>` in: #63: 1.812205, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #63: 1.812205, antal fel: 3 ( 4.40 betyg )
- X is not defined. (totalt 3 st)
- `< script>` in: #64: 1.763142, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #64: 1.763142, antal fel: 3 ( 4.40 betyg )
- X is not defined. (totalt 3 st)
- `< script>` in: #65: 1.810639, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #65: 1.810639, antal fel: 3 ( 4.40 betyg )
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #51: container-Pt55L, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #51: container-Pt55L, antal fel: 229 ( 1.00 betyg )
- X is not defined. (totalt 127 st)
- X is defined but never used. (totalt 66 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #60: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #60: configs.php, antal fel: 230 ( 1.00 betyg )
- X is not defined. (totalt 128 st)
- X is defined but never used. (totalt 66 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #66: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #66: configs.php, antal fel: 231 ( 1.00 betyg )
- X is not defined. (totalt 129 st)
- X is defined but never used. (totalt 66 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #67: MathJax.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #67: MathJax.js, antal fel: 444 ( 1.00 betyg )
- X is not defined. (totalt 322 st)
- X is defined but never used. (totalt 85 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #68: TeX-MML-AM-CHTM, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #68: TeX-MML-AM-CHTM, antal fel: 892 ( 1.00 betyg )
- X is not defined. (totalt 675 st)
- X is defined but never used. (totalt 178 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #72: player, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #72: player, antal fel: 893 ( 1.00 betyg )
- X is not defined. (totalt 676 st)
- X is defined but never used. (totalt 178 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #74: jquery.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #74: jquery.min.js, antal fel: 915 ( 1.00 betyg )
- X is not defined. (totalt 678 st)
- X is defined but never used. (totalt 198 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #80: tarteaucitron.s, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #80: tarteaucitron.s, antal fel: 915 ( 1.00 betyg )
- X is not defined. (totalt 678 st)
- X is defined but never used. (totalt 198 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #81: tarteaucitron.s, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #81: tarteaucitron.s, antal fel: 1016 ( 1.00 betyg )
- X is not defined. (totalt 758 st)
- X is defined but never used. (totalt 214 st)
- X is assigned a value but never used. (totalt 23 st)
- Unexpected console statement. (totalt 21 st)
- `content-type=".*javascript.*"` in: #83: 119ea1872c542b1, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #83: 119ea1872c542b1, antal fel: 1017 ( 1.00 betyg )
- X is not defined. (totalt 759 st)
- X is defined but never used. (totalt 214 st)
- X is assigned a value but never used. (totalt 23 st)
- Unexpected console statement. (totalt 21 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: 26 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 5155 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3023 st)
- Expected X and instead saw X. (totalt 1808 st)
- Unexpected string concatenation of literals. (totalt 99 st)
- Do not access Object.prototype method X from target object. (totalt 81 st)
- Unnecessary escape character: \/. (totalt 33 st)
- X is not modified in this loop. (totalt 22 st)
- Unsafe usage of ThrowStatement. (totalt 20 st)
- Comparing to itself is potentially pointless. (totalt 19 st)
- Unnecessary X. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 8 st)
- The Function constructor is eval. (totalt 6 st)
- eval can be harmful. (totalt 5 st)
- X is assigned to itself. (totalt 4 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)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unexpected negating the left operand of X operator. (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: #51: container-Pt55L, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #51: container-Pt55L, antal fel: 1396 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1327 st)
- Expected X and instead saw X. (totalt 53 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #60: configs.php, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #60: configs.php, antal fel: 1396 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1327 st)
- Expected X and instead saw X. (totalt 53 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #66: configs.php, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #66: configs.php, antal fel: 1396 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1327 st)
- Expected X and instead saw X. (totalt 53 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #67: MathJax.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #67: MathJax.js, antal fel: 1473 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1330 st)
- Expected X and instead saw X. (totalt 99 st)
- Do not access Object.prototype method X from target object. (totalt 31 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (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)
- `content-type=".*javascript.*"` in: #68: TeX-MML-AM-CHTM, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #68: TeX-MML-AM-CHTM, antal fel: 1768 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1330 st)
- Expected X and instead saw X. (totalt 339 st)
- Do not access Object.prototype method X from target object. (totalt 50 st)
- Expected an assignment or function call and instead saw an expression. (totalt 21 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \). (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 2 st)
- Implied eval. Consider passing a function instead of a string. (totalt 2 st)
- X is not modified in this loop. (totalt 2 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)
- `content-type=".*javascript.*"` in: #72: player, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #72: player, antal fel: 1768 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1330 st)
- Expected X and instead saw X. (totalt 339 st)
- Do not access Object.prototype method X from target object. (totalt 50 st)
- Expected an assignment or function call and instead saw an expression. (totalt 21 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \). (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 2 st)
- Implied eval. Consider passing a function instead of a string. (totalt 2 st)
- X is not modified in this loop. (totalt 2 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)
- `content-type=".*javascript.*"` in: #74: jquery.min.js, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #74: jquery.min.js, antal fel: 2189 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1333 st)
- Expected X and instead saw X. (totalt 490 st)
- Expected an assignment or function call and instead saw an expression. (totalt 280 st)
- Do not access Object.prototype method X from target object. (totalt 51 st)
- Unnecessary X. (totalt 6 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)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \". (totalt 2 st)
- Implied eval. Consider passing a function instead of a string. (totalt 2 st)
- X is not modified in this loop. (totalt 2 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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #80: tarteaucitron.s, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #80: tarteaucitron.s, antal fel: 2189 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1333 st)
- Expected X and instead saw X. (totalt 490 st)
- Expected an assignment or function call and instead saw an expression. (totalt 280 st)
- Do not access Object.prototype method X from target object. (totalt 51 st)
- Unnecessary X. (totalt 6 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)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \". (totalt 2 st)
- Implied eval. Consider passing a function instead of a string. (totalt 2 st)
- X is not modified in this loop. (totalt 2 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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #81: tarteaucitron.s, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #81: tarteaucitron.s, antal fel: 2251 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1333 st)
- Expected X and instead saw X. (totalt 517 st)
- Expected an assignment or function call and instead saw an expression. (totalt 313 st)
- Do not access Object.prototype method X from target object. (totalt 52 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \". (totalt 2 st)
- Implied eval. Consider passing a function instead of a string. (totalt 2 st)
- X is not modified in this loop. (totalt 2 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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #83: 119ea1872c542b1, antal grupperade fel: 19 ( 1.20 betyg )
- `content-type=".*javascript.*"` in: #83: 119ea1872c542b1, antal fel: 2251 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1333 st)
- Expected X and instead saw X. (totalt 517 st)
- Expected an assignment or function call and instead saw an expression. (totalt 313 st)
- Do not access Object.prototype method X from target object. (totalt 52 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unnecessary escape character: \). (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \". (totalt 2 st)
- Implied eval. Consider passing a function instead of a string. (totalt 2 st)
- X is not modified in this loop. (totalt 2 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)
- The Function constructor is eval. (totalt 1 st)