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: 1.95 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: Webbsida , antal fel: 50 ( 1.00 betyg )
- X is not defined. (totalt 48 st)
- Unexpected console statement. (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 5 ( 4.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1100 ( 1.00 betyg )
- X is not defined. (totalt 756 st)
- X is defined but never used. (totalt 265 st)
- Unexpected console statement. (totalt 66 st)
- X is assigned a value but never used. (totalt 9 st)
- Parsing error: X in strict mode (totalt 4 st)
- `content-type=".*javascript.*"` in: #20: 5a1ba41b-ccd0-4, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #20: 5a1ba41b-ccd0-4, antal fel: 42 ( 1.00 betyg )
- X is defined but never used. (totalt 28 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #21: fbevents.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #21: fbevents.js, antal fel: 689 ( 1.00 betyg )
- X is defined but never used. (totalt 657 st)
- Unexpected console statement. (totalt 22 st)
- X is not defined. (totalt 9 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #59: 110118767484983, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #59: 110118767484983, antal fel: 854 ( 1.00 betyg )
- X is defined but never used. (totalt 798 st)
- Unexpected console statement. (totalt 41 st)
- X is not defined. (totalt 10 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #61: ReadSpeaker.Doc, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #61: ReadSpeaker.Doc, antal fel: 892 ( 1.00 betyg )
- X is defined but never used. (totalt 799 st)
- X is not defined. (totalt 47 st)
- Unexpected console statement. (totalt 41 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #66: ppms.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #66: ppms.js, antal fel: 912 ( 1.00 betyg )
- X is defined but never used. (totalt 812 st)
- X is not defined. (totalt 51 st)
- Unexpected console statement. (totalt 44 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #77: 356.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: 356.js, antal fel: 920 ( 1.00 betyg )
- X is defined but never used. (totalt 820 st)
- X is not defined. (totalt 51 st)
- Unexpected console statement. (totalt 44 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #79: slideshow-plugi, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #79: slideshow-plugi, antal fel: 938 ( 1.00 betyg )
- X is defined but never used. (totalt 830 st)
- X is not defined. (totalt 59 st)
- Unexpected console statement. (totalt 44 st)
- X is assigned a value but never used. (totalt 5 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 20 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 18 st)
- Expected X and instead saw X. (totalt 2 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 30 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3967 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2305 st)
- Expected X and instead saw X. (totalt 1349 st)
- Do not access Object.prototype method X from target object. (totalt 92 st)
- Unnecessary escape character: \-. (totalt 59 st)
- Unnecessary X. (totalt 21 st)
- Unnecessary escape character: \/. (totalt 16 st)
- X is not modified in this loop. (totalt 15 st)
- The Function constructor is eval. (totalt 15 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- X is assigned to itself. (totalt 13 st)
- Unexpected string concatenation of literals. (totalt 9 st)
- Async arrow function has no X expression. (totalt 9 st)
- Unsafe usage of ThrowStatement. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Parsing error: X in strict mode (totalt 4 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 3 st)
- eval can be harmful. (totalt 2 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)
- Unnecessary escape character: \?. (totalt 2 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)
- `content-type=".*javascript.*"` in: #20: 5a1ba41b-ccd0-4, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #20: 5a1ba41b-ccd0-4, antal fel: 946 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 586 st)
- Expected X and instead saw X. (totalt 327 st)
- Do not access Object.prototype method X from target object. (totalt 11 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary X. (totalt 4 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)
- The Function constructor is eval. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: fbevents.js, antal grupperade fel: 33 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #21: fbevents.js, antal fel: 2329 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1199 st)
- Expected X and instead saw X. (totalt 927 st)
- Unnecessary escape character: \-. (totalt 21 st)
- Unsafe usage of ThrowStatement. (totalt 16 st)
- Do not access Object.prototype method X from target object. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \?. (totalt 9 st)
- Unnecessary escape character: \^. (totalt 9 st)
- Unnecessary escape character: \{. (totalt 9 st)
- Unnecessary escape character: \}. (totalt 9 st)
- Unnecessary escape character: \*. (totalt 8 st)
- Unnecessary escape character: \'. (totalt 8 st)
- X is assigned to itself. (totalt 8 st)
- Unnecessary escape character: \$. (totalt 7 st)
- Unnecessary escape character: \|. (totalt 7 st)
- Unnecessary escape character: \=. (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Unnecessary escape character: \". (totalt 4 st)
- Unnecessary escape character: \,. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unsafe usage of ReturnStatement. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \`. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #59: 110118767484983, antal grupperade fel: 33 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #59: 110118767484983, antal fel: 2783 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1453 st)
- Expected X and instead saw X. (totalt 1120 st)
- Unnecessary escape character: \-. (totalt 21 st)
- Unsafe usage of ThrowStatement. (totalt 20 st)
- Do not access Object.prototype method X from target object. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \?. (totalt 9 st)
- Unnecessary escape character: \^. (totalt 9 st)
- Unnecessary escape character: \{. (totalt 9 st)
- Unnecessary escape character: \}. (totalt 9 st)
- X is assigned to itself. (totalt 9 st)
- Unnecessary escape character: \*. (totalt 8 st)
- Unnecessary escape character: \'. (totalt 8 st)
- Unnecessary escape character: \$. (totalt 7 st)
- Unnecessary escape character: \|. (totalt 7 st)
- Unnecessary escape character: \=. (totalt 6 st)
- Unnecessary escape character: \". (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Unnecessary escape character: \,. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unsafe usage of ReturnStatement. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \`. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #61: ReadSpeaker.Doc, antal grupperade fel: 33 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #61: ReadSpeaker.Doc, antal fel: 2802 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1466 st)
- Expected X and instead saw X. (totalt 1122 st)
- Unnecessary escape character: \-. (totalt 21 st)
- Unsafe usage of ThrowStatement. (totalt 20 st)
- Do not access Object.prototype method X from target object. (totalt 18 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \?. (totalt 9 st)
- Unnecessary escape character: \^. (totalt 9 st)
- Unnecessary escape character: \{. (totalt 9 st)
- Unnecessary escape character: \}. (totalt 9 st)
- X is assigned to itself. (totalt 9 st)
- Unnecessary escape character: \*. (totalt 8 st)
- Unnecessary escape character: \'. (totalt 8 st)
- Unnecessary escape character: \$. (totalt 7 st)
- Unnecessary escape character: \|. (totalt 7 st)
- Unnecessary escape character: \=. (totalt 6 st)
- Unnecessary escape character: \". (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Unnecessary escape character: \,. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unsafe usage of ReturnStatement. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \`. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #66: ppms.js, antal grupperade fel: 33 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #66: ppms.js, antal fel: 3068 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1728 st)
- Expected X and instead saw X. (totalt 1125 st)
- Unnecessary escape character: \-. (totalt 21 st)
- Unsafe usage of ThrowStatement. (totalt 20 st)
- Do not access Object.prototype method X from target object. (totalt 18 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \?. (totalt 9 st)
- Unnecessary escape character: \^. (totalt 9 st)
- Unnecessary escape character: \{. (totalt 9 st)
- Unnecessary escape character: \}. (totalt 9 st)
- X is assigned to itself. (totalt 9 st)
- Unnecessary escape character: \*. (totalt 8 st)
- Unnecessary escape character: \'. (totalt 8 st)
- Unnecessary escape character: \$. (totalt 7 st)
- Unnecessary escape character: \|. (totalt 7 st)
- Unnecessary escape character: \=. (totalt 6 st)
- Unnecessary escape character: \". (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Unnecessary escape character: \,. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unsafe usage of ReturnStatement. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \`. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: 356.js, antal grupperade fel: 33 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #77: 356.js, antal fel: 3112 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1744 st)
- Expected X and instead saw X. (totalt 1145 st)
- Unnecessary escape character: \-. (totalt 21 st)
- Do not access Object.prototype method X from target object. (totalt 20 st)
- Unsafe usage of ThrowStatement. (totalt 20 st)
- X is assigned to itself. (totalt 12 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \?. (totalt 9 st)
- Unnecessary escape character: \^. (totalt 9 st)
- Unnecessary escape character: \{. (totalt 9 st)
- Unnecessary escape character: \}. (totalt 9 st)
- Unnecessary escape character: \*. (totalt 8 st)
- Unnecessary escape character: \'. (totalt 8 st)
- Unnecessary escape character: \$. (totalt 7 st)
- Unnecessary escape character: \|. (totalt 7 st)
- Unnecessary escape character: \=. (totalt 6 st)
- Unnecessary escape character: \". (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \,. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unsafe usage of ReturnStatement. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \`. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #79: slideshow-plugi, antal grupperade fel: 33 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #79: slideshow-plugi, antal fel: 3222 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1838 st)
- Expected X and instead saw X. (totalt 1161 st)
- Unnecessary escape character: \-. (totalt 21 st)
- Do not access Object.prototype method X from target object. (totalt 20 st)
- Unsafe usage of ThrowStatement. (totalt 20 st)
- X is assigned to itself. (totalt 12 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unnecessary escape character: \+. (totalt 9 st)
- Unnecessary escape character: \?. (totalt 9 st)
- Unnecessary escape character: \^. (totalt 9 st)
- Unnecessary escape character: \{. (totalt 9 st)
- Unnecessary escape character: \}. (totalt 9 st)
- Unnecessary escape character: \*. (totalt 8 st)
- Unnecessary escape character: \'. (totalt 8 st)
- Unnecessary escape character: \$. (totalt 7 st)
- Unnecessary escape character: \|. (totalt 7 st)
- Unnecessary escape character: \=. (totalt 6 st)
- Unnecessary escape character: \". (totalt 6 st)
- Unnecessary escape character: \). (totalt 5 st)
- Unnecessary X. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \,. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- Unsafe usage of ReturnStatement. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \`. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)