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.54 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 AppRegistry (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 5 ( 4.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 188 ( 1.00 betyg )
- X is not defined. (totalt 133 st)
- X is defined but never used. (totalt 45 st)
- Unexpected console statement. (totalt 6 st)
- Parsing error: X in strict mode (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `< script>` in: #31: tickerSmall.htm, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #31: tickerSmall.htm, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token tickers (totalt 1 st)
- `< script src="...">` in: #31: tickerSmall.htm, antal grupperade fel: 5 ( 4.00 betyg )
- `< script src="...">` in: #31: tickerSmall.htm, antal fel: 238 ( 1.00 betyg )
- X is not defined. (totalt 144 st)
- Unexpected console statement. (totalt 86 st)
- X is defined but never used. (totalt 6 st)
- Parsing error: Unexpected token (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: gtm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #29: gtm.js, antal fel: 551 ( 1.00 betyg )
- X is defined but never used. (totalt 443 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 18 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: texts.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #49: texts.js, antal fel: 566 ( 1.00 betyg )
- X is defined but never used. (totalt 443 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 33 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: settings.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #50: settings.js, antal fel: 573 ( 1.00 betyg )
- X is defined but never used. (totalt 443 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #53: text-portlet.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #53: text-portlet.js, antal fel: 573 ( 1.00 betyg )
- X is defined but never used. (totalt 443 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #55: defaultlist.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #55: defaultlist.js, antal fel: 573 ( 1.00 betyg )
- X is defined but never used. (totalt 443 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #56: 8027.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #56: 8027.js, antal fel: 574 ( 1.00 betyg )
- X is defined but never used. (totalt 444 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #58: searchform-plug, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #58: searchform-plug, antal fel: 574 ( 1.00 betyg )
- X is defined but never used. (totalt 444 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #59: 356.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #59: 356.js, antal fel: 582 ( 1.00 betyg )
- X is defined but never used. (totalt 452 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #61: 6301.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #61: 6301.js, antal fel: 584 ( 1.00 betyg )
- X is defined but never used. (totalt 454 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #62: 2527.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #62: 2527.js, antal fel: 588 ( 1.00 betyg )
- X is defined but never used. (totalt 457 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 39 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #64: archive-plugins, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #64: archive-plugins, antal fel: 588 ( 1.00 betyg )
- X is defined but never used. (totalt 457 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 39 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #69: otBannerSdk.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #69: otBannerSdk.js, antal fel: 644 ( 1.00 betyg )
- X is defined but never used. (totalt 481 st)
- X is assigned a value but never used. (totalt 89 st)
- X is not defined. (totalt 39 st)
- Unexpected console statement. (totalt 35 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 AppRegistry (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 17 ( 1.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1596 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1155 st)
- Expected X and instead saw X. (totalt 367 st)
- Unnecessary X. (totalt 18 st)
- The Function constructor is eval. (totalt 9 st)
- Async arrow function has no X expression. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- X is not modified in this loop. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Parsing error: X in strict mode (totalt 3 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)
- `< script>` in: #31: tickerSmall.htm, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #31: tickerSmall.htm, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token tickers (totalt 1 st)
- `< script src="...">` in: #31: tickerSmall.htm, antal grupperade fel: 5 ( 4.00 betyg )
- `< script src="...">` in: #31: tickerSmall.htm, antal fel: 302 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 195 st)
- Expected X and instead saw X. (totalt 97 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Parsing error: Unexpected token (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: gtm.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #29: gtm.js, antal fel: 2794 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 789 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 88 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: texts.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #49: texts.js, antal fel: 2794 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 789 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 88 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: settings.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #50: settings.js, antal fel: 2794 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 789 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 88 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #53: text-portlet.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #53: text-portlet.js, antal fel: 2794 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 789 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 88 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #55: defaultlist.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #55: defaultlist.js, antal fel: 2794 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 789 st)
- Expected X and instead saw X. (totalt 200 st)
- Do not access Object.prototype method X from target object. (totalt 88 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #56: 8027.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #56: 8027.js, antal fel: 2835 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 825 st)
- Expected X and instead saw X. (totalt 203 st)
- Do not access Object.prototype method X from target object. (totalt 88 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (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)
- `content-type=".*javascript.*"` in: #58: searchform-plug, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #58: searchform-plug, antal fel: 2836 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 826 st)
- Expected X and instead saw X. (totalt 203 st)
- Do not access Object.prototype method X from target object. (totalt 88 st)
- X is not modified in this loop. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (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)
- `content-type=".*javascript.*"` in: #59: 356.js, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #59: 356.js, antal fel: 2880 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 842 st)
- Expected X and instead saw X. (totalt 223 st)
- Do not access Object.prototype method X from target object. (totalt 90 st)
- X is assigned to itself. (totalt 6 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #61: 6301.js, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #61: 6301.js, antal fel: 3113 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 980 st)
- Expected X and instead saw X. (totalt 317 st)
- Do not access Object.prototype method X from target object. (totalt 91 st)
- X is assigned to itself. (totalt 6 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary X. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #62: 2527.js, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #62: 2527.js, antal fel: 3164 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1016 st)
- Expected X and instead saw X. (totalt 320 st)
- Do not access Object.prototype method X from target object. (totalt 92 st)
- Unnecessary X. (totalt 12 st)
- X is assigned to itself. (totalt 6 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- eval can be harmful. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #64: archive-plugins, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #64: archive-plugins, antal fel: 3178 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1027 st)
- Expected X and instead saw X. (totalt 323 st)
- Do not access Object.prototype method X from target object. (totalt 92 st)
- Unnecessary X. (totalt 12 st)
- X is assigned to itself. (totalt 6 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- eval can be harmful. (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)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: otBannerSdk.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #69: otBannerSdk.js, antal fel: 4125 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1860 st)
- Unnecessary escape character: \/. (totalt 1707 st)
- Expected X and instead saw X. (totalt 430 st)
- Do not access Object.prototype method X from target object. (totalt 94 st)
- Unnecessary X. (totalt 12 st)
- X is assigned to itself. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- X is not modified in this loop. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- eval can be harmful. (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)