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: 3.01 av 5
- JS är ok.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 15 ( 2.00 betyg )
- X is not defined. (totalt 13 st)
- X is assigned a value but never used. (totalt 2 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 376 ( 1.00 betyg )
- X is defined but never used. (totalt 180 st)
- X is not defined. (totalt 131 st)
- Unexpected console statement. (totalt 50 st)
- X is assigned a value but never used. (totalt 15 st)
- `< script>` in: #63: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #63: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `< script>` in: #67: 0-fb0rozjw, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #67: 0-fb0rozjw, antal fel: 1 ( 4.80 betyg )
- Parsing error: Deleting local variable in strict mode (totalt 1 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: #41: configuration.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #41: configuration.j, antal fel: 22 ( 1.00 betyg )
- X is not defined. (totalt 22 st)
- `content-type=".*javascript.*"` in: #42: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: cc.js, antal fel: 50 ( 1.00 betyg )
- X is not defined. (totalt 31 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: #68: mwEmbedLoader.p, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #68: mwEmbedLoader.p, antal fel: 245 ( 1.00 betyg )
- X is not defined. (totalt 198 st)
- X is defined but never used. (totalt 30 st)
- X is assigned a value but never used. (totalt 10 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #69: load.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #69: load.php, antal fel: 1479 ( 1.00 betyg )
- X is not defined. (totalt 818 st)
- X is defined but never used. (totalt 540 st)
- X is assigned a value but never used. (totalt 106 st)
- Unexpected console statement. (totalt 15 st)
- `content-type=".*javascript.*"` in: #75: index.php, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #75: index.php, antal fel: 1480 ( 1.00 betyg )
- X is not defined. (totalt 818 st)
- X is defined but never used. (totalt 540 st)
- X is assigned a value but never used. (totalt 106 st)
- Unexpected console statement. (totalt 15 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #89: recaptcha--sv.j, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #89: recaptcha--sv.j, antal fel: 1580 ( 1.00 betyg )
- X is not defined. (totalt 835 st)
- X is defined but never used. (totalt 618 st)
- X is assigned a value but never used. (totalt 108 st)
- Unexpected console statement. (totalt 18 st)
- Parsing error: Unexpected token : (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 )
- 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: 3802 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2395 st)
- Expected X and instead saw X. (totalt 1300 st)
- Do not access Object.prototype method X from target object. (totalt 40 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 8 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Comparing to itself is potentially pointless. (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)
- 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: #63: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #63: 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: #67: 0-fb0rozjw, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #67: 0-fb0rozjw, antal fel: 1 ( 4.80 betyg )
- Parsing error: Deleting local variable in strict mode (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: #42: cc.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #42: 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: #68: mwEmbedLoader.p, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #68: mwEmbedLoader.p, antal fel: 529 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 306 st)
- Expected X and instead saw X. (totalt 145 st)
- Unexpected string concatenation of literals. (totalt 66 st)
- Script URL is a form of eval. (totalt 2 st)
- Do not access Object.prototype method X from target object. (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)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: load.php, antal grupperade fel: 28 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #69: load.php, antal fel: 9645 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 6583 st)
- Expected X and instead saw X. (totalt 1916 st)
- Unnecessary escape character: \'. (totalt 401 st)
- Unexpected string concatenation of literals. (totalt 261 st)
- Unnecessary escape character: \-. (totalt 110 st)
- Unnecessary X. (totalt 104 st)
- Unnecessary escape character: \/. (totalt 88 st)
- Unnecessary escape character: \%. (totalt 50 st)
- Do not access Object.prototype method X from target object. (totalt 31 st)
- Unnecessary escape character: \[. (totalt 30 st)
- Unnecessary escape character: \^. (totalt 29 st)
- Unnecessary escape character: \+. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \". (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (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)
- 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: #75: index.php, antal grupperade fel: 29 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #75: index.php, antal fel: 9646 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 6583 st)
- Expected X and instead saw X. (totalt 1916 st)
- Unnecessary escape character: \'. (totalt 401 st)
- Unexpected string concatenation of literals. (totalt 261 st)
- Unnecessary escape character: \-. (totalt 110 st)
- Unnecessary X. (totalt 104 st)
- Unnecessary escape character: \/. (totalt 88 st)
- Unnecessary escape character: \%. (totalt 50 st)
- Do not access Object.prototype method X from target object. (totalt 31 st)
- Unnecessary escape character: \[. (totalt 30 st)
- Unnecessary escape character: \^. (totalt 29 st)
- Unnecessary escape character: \+. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \". (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- eval can be harmful. (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)
- 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)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #89: recaptcha--sv.j, antal grupperade fel: 32 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #89: recaptcha--sv.j, antal fel: 11911 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7157 st)
- Expected X and instead saw X. (totalt 3557 st)
- Unnecessary escape character: \'. (totalt 401 st)
- Unexpected string concatenation of literals. (totalt 261 st)
- Unnecessary escape character: \-. (totalt 113 st)
- Unnecessary X. (totalt 105 st)
- Unnecessary escape character: \/. (totalt 97 st)
- Unnecessary escape character: \%. (totalt 50 st)
- Do not access Object.prototype method X from target object. (totalt 35 st)
- Unnecessary escape character: \^. (totalt 32 st)
- Unnecessary escape character: \[. (totalt 31 st)
- Unnecessary escape character: \+. (totalt 12 st)
- Unnecessary escape character: \.. (totalt 9 st)
- Unnecessary escape character: \). (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \". (totalt 5 st)
- eval can be harmful. (totalt 5 st)
- Unnecessary escape character: \?. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Script URL is a form of eval. (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 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)
- Parsing error: Unexpected token : (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)