Javascript
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.06 av 5
- JS är ok.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: 1536 ( 1.00 betyg )
- X is defined but never used. (totalt 764 st)
- X is not defined. (totalt 646 st)
- X is assigned a value but never used. (totalt 107 st)
- Unexpected console statement. (totalt 19 st)
- `< script>` in: #59: index.aa941f8.h, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #59: index.aa941f8.h, antal fel: 2 ( 4.60 betyg )
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `< script>` in: #72: anchor, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #72: anchor, antal fel: 1 ( 4.80 betyg )
- X is not defined. (totalt 1 st)
- `< script src="...">` in: #72: anchor, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #72: 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: #58: widget.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #58: widget.js, antal fel: 201 ( 1.00 betyg )
- X is defined but never used. (totalt 177 st)
- Unexpected console statement. (totalt 18 st)
- X is not defined. (totalt 6 st)
- `content-type=".*javascript.*"` in: #61: www.burlovsbost, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #61: www.burlovsbost, antal fel: 202 ( 1.00 betyg )
- X is defined but never used. (totalt 177 st)
- Unexpected console statement. (totalt 18 st)
- X is not defined. (totalt 6 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #65: client.bundle.1, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #65: client.bundle.1, antal fel: 638 ( 1.00 betyg )
- X is defined but never used. (totalt 508 st)
- Unexpected console statement. (totalt 116 st)
- X is not defined. (totalt 13 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: bundle.fefe147d, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #68: bundle.fefe147d, antal fel: 811 ( 1.00 betyg )
- X is defined but never used. (totalt 677 st)
- Unexpected console statement. (totalt 120 st)
- X is not defined. (totalt 13 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: localization-sv, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #69: localization-sv, antal fel: 811 ( 1.00 betyg )
- X is defined but never used. (totalt 677 st)
- Unexpected console statement. (totalt 120 st)
- X is not defined. (totalt 13 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: browsealoud.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #71: browsealoud.js, antal fel: 821 ( 1.00 betyg )
- X is defined but never used. (totalt 685 st)
- Unexpected console statement. (totalt 121 st)
- X is not defined. (totalt 14 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: recaptcha--sv.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: recaptcha--sv.j, antal fel: 921 ( 1.00 betyg )
- X is defined but never used. (totalt 763 st)
- Unexpected console statement. (totalt 124 st)
- X is not defined. (totalt 31 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #78: 155.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: 155.4755a93fc50, antal fel: 937 ( 1.00 betyg )
- X is defined but never used. (totalt 778 st)
- Unexpected console statement. (totalt 124 st)
- X is not defined. (totalt 31 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #79: 143.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #79: 143.4755a93fc50, antal fel: 962 ( 1.00 betyg )
- X is defined but never used. (totalt 788 st)
- Unexpected console statement. (totalt 128 st)
- X is not defined. (totalt 42 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #80: 115.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #80: 115.4755a93fc50, antal fel: 962 ( 1.00 betyg )
- X is defined but never used. (totalt 788 st)
- Unexpected console statement. (totalt 128 st)
- X is not defined. (totalt 42 st)
- X is assigned a value but never used. (totalt 4 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: 22 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 4551 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2848 st)
- Expected X and instead saw X. (totalt 1490 st)
- Do not access Object.prototype method X from target object. (totalt 118 st)
- Comparing to itself is potentially pointless. (totalt 40 st)
- Unnecessary escape character: \/. (totalt 13 st)
- The Function constructor is eval. (totalt 10 st)
- X is not modified in this loop. (totalt 6 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary X. (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)
- Unnecessary escape character: \.. (totalt 2 st)
- Unexpected string concatenation of literals. (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)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \:. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `< script>` in: #59: index.aa941f8.h, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #59: index.aa941f8.h, antal fel: 7 ( 3.60 betyg )
- Expected X and instead saw X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `< script src="...">` in: #72: anchor, antal grupperade fel: 18 ( 1.40 betyg )
- `< script src="...">` in: #72: 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: #58: widget.js, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #58: widget.js, antal fel: 841 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 472 st)
- Expected X and instead saw X. (totalt 327 st)
- Do not access Object.prototype method X from target object. (totalt 26 st)
- Unnecessary escape character: \/. (totalt 11 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #61: www.burlovsbost, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #61: www.burlovsbost, antal fel: 841 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 472 st)
- Expected X and instead saw X. (totalt 327 st)
- Do not access Object.prototype method X from target object. (totalt 26 st)
- Unnecessary escape character: \/. (totalt 11 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #65: client.bundle.1, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #65: client.bundle.1, antal fel: 2775 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1683 st)
- Expected X and instead saw X. (totalt 979 st)
- Do not access Object.prototype method X from target object. (totalt 59 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 9 st)
- Unsafe usage of ThrowStatement. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 7 st)
- Unnecessary X. (totalt 6 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \_. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: bundle.fefe147d, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #68: bundle.fefe147d, antal fel: 3462 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2063 st)
- Expected X and instead saw X. (totalt 1254 st)
- Do not access Object.prototype method X from target object. (totalt 85 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Comparing to itself is potentially pointless. (totalt 9 st)
- Unnecessary X. (totalt 8 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- Unnecessary escape character: \.. (totalt 7 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \_. (totalt 4 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: localization-sv, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #69: localization-sv, antal fel: 3462 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2063 st)
- Expected X and instead saw X. (totalt 1254 st)
- Do not access Object.prototype method X from target object. (totalt 85 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Comparing to itself is potentially pointless. (totalt 9 st)
- Unnecessary X. (totalt 8 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- Unnecessary escape character: \.. (totalt 7 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \_. (totalt 4 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: browsealoud.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #71: browsealoud.js, antal fel: 3538 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2093 st)
- Expected X and instead saw X. (totalt 1300 st)
- Do not access Object.prototype method X from target object. (totalt 85 st)
- Unnecessary escape character: \/. (totalt 13 st)
- Comparing to itself is potentially pointless. (totalt 9 st)
- Unnecessary X. (totalt 8 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- Unnecessary escape character: \.. (totalt 7 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \_. (totalt 4 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: recaptcha--sv.j, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #77: recaptcha--sv.j, antal fel: 5803 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2941 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2667 st)
- Do not access Object.prototype method X from target object. (totalt 89 st)
- Unnecessary escape character: \/. (totalt 22 st)
- Comparing to itself is potentially pointless. (totalt 13 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unnecessary X. (totalt 9 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary escape character: \). (totalt 6 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \_. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \^. (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)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #78: 155.4755a93fc50, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #78: 155.4755a93fc50, antal fel: 5825 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2947 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2680 st)
- Do not access Object.prototype method X from target object. (totalt 89 st)
- Unnecessary escape character: \/. (totalt 22 st)
- Comparing to itself is potentially pointless. (totalt 13 st)
- Unnecessary X. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 10 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is assigned to itself. (totalt 7 st)
- The Function constructor is eval. (totalt 6 st)
- Unnecessary escape character: \). (totalt 6 st)
- Unnecessary escape character: \_. (totalt 4 st)
- Unnecessary escape character: \?. (totalt 4 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \^. (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)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 1 st)
- `content-type=".*javascript.*"` in: #79: 143.4755a93fc50, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #79: 143.4755a93fc50, antal fel: 5889 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2973 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2705 st)
- Do not access Object.prototype method X from target object. (totalt 89 st)
- Unnecessary escape character: \/. (totalt 23 st)
- Comparing to itself is potentially pointless. (totalt 13 st)
- Unnecessary X. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary escape character: \). (totalt 7 st)
- The Function constructor is eval. (totalt 6 st)
- Unnecessary escape character: \?. (totalt 5 st)
- Unnecessary escape character: \_. (totalt 4 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)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- eval can be harmful. (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)
- `content-type=".*javascript.*"` in: #80: 115.4755a93fc50, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #80: 115.4755a93fc50, antal fel: 5890 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2973 st)
- Expected an assignment or function call and instead saw an expression. (totalt 2706 st)
- Do not access Object.prototype method X from target object. (totalt 89 st)
- Unnecessary escape character: \/. (totalt 23 st)
- Comparing to itself is potentially pointless. (totalt 13 st)
- Unnecessary X. (totalt 11 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Unsafe usage of ThrowStatement. (totalt 8 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary escape character: \). (totalt 7 st)
- The Function constructor is eval. (totalt 6 st)
- Unnecessary escape character: \?. (totalt 5 st)
- Unnecessary escape character: \_. (totalt 4 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)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- eval can be harmful. (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)