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.60 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: Webbsida , antal fel: 5 ( 4.00 betyg )
- X is defined but never used. (totalt 2 st)
- Unexpected console statement. (totalt 2 st)
- X is assigned a value but never used. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 39 ( 1.00 betyg )
- X is not defined. (totalt 17 st)
- X is defined but never used. (totalt 16 st)
- Unexpected console statement. (totalt 6 st)
- `< script>` in: #45: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #45: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: fs.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #36: fs.js, antal fel: 129 ( 1.00 betyg )
- X is defined but never used. (totalt 129 st)
- `content-type=".*javascript.*"` in: #37: gtm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: gtm.js, antal fel: 583 ( 1.00 betyg )
- X is defined but never used. (totalt 481 st)
- X is assigned a value but never used. (totalt 86 st)
- X is not defined. (totalt 15 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: ai.2.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: ai.2.min.js, antal fel: 674 ( 1.00 betyg )
- X is defined but never used. (totalt 567 st)
- X is assigned a value but never used. (totalt 86 st)
- X is not defined. (totalt 20 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: uc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: uc.js, antal fel: 721 ( 1.00 betyg )
- X is defined but never used. (totalt 587 st)
- X is assigned a value but never used. (totalt 101 st)
- X is not defined. (totalt 21 st)
- Unexpected console statement. (totalt 12 st)
- `content-type=".*javascript.*"` in: #43: lftracker-v1-p1, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: lftracker-v1-p1, antal fel: 742 ( 1.00 betyg )
- X is defined but never used. (totalt 602 st)
- X is assigned a value but never used. (totalt 101 st)
- X is not defined. (totalt 23 st)
- Unexpected console statement. (totalt 16 st)
- `content-type=".*javascript.*"` in: #46: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #46: cc.js, antal fel: 770 ( 1.00 betyg )
- X is defined but never used. (totalt 614 st)
- X is assigned a value but never used. (totalt 107 st)
- X is not defined. (totalt 32 st)
- Unexpected console statement. (totalt 17 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #1: Webbsida , antal fel: 28 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 22 st)
- Expected X and instead saw X. (totalt 4 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 206 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 155 st)
- Expected X and instead saw X. (totalt 48 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `< script>` in: #45: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #45: 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)
- `content-type=".*javascript.*"` in: #36: fs.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: fs.js, antal fel: 1247 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 864 st)
- Expected X and instead saw X. (totalt 380 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: gtm.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #37: gtm.js, antal fel: 2898 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2037 st)
- Expected X and instead saw X. (totalt 640 st)
- Do not access Object.prototype method X from target object. (totalt 118 st)
- Unnecessary escape character: \/. (totalt 84 st)
- X is not modified in this loop. (totalt 7 st)
- Script URL is a form of eval. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: ai.2.min.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #38: ai.2.min.js, antal fel: 3371 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2450 st)
- Expected X and instead saw X. (totalt 680 st)
- Do not access Object.prototype method X from target object. (totalt 119 st)
- Unnecessary escape character: \/. (totalt 88 st)
- X is not modified in this loop. (totalt 7 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Script URL is a form of eval. (totalt 5 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: uc.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #42: uc.js, antal fel: 3723 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2691 st)
- Expected X and instead saw X. (totalt 782 st)
- Do not access Object.prototype method X from target object. (totalt 119 st)
- Unnecessary escape character: \/. (totalt 90 st)
- X is not modified in this loop. (totalt 7 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Script URL is a form of eval. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: lftracker-v1-p1, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #43: lftracker-v1-p1, antal fel: 3886 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2798 st)
- Expected X and instead saw X. (totalt 824 st)
- Do not access Object.prototype method X from target object. (totalt 120 st)
- Unnecessary escape character: \/. (totalt 90 st)
- X is assigned to itself. (totalt 16 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Script URL is a form of eval. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \:. (totalt 1 st)
- `content-type=".*javascript.*"` in: #46: cc.js, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #46: cc.js, antal fel: 4233 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3104 st)
- Expected X and instead saw X. (totalt 860 st)
- Do not access Object.prototype method X from target object. (totalt 120 st)
- Unnecessary escape character: \/. (totalt 90 st)
- X is assigned to itself. (totalt 16 st)
- Script URL is a form of eval. (totalt 7 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 5 st)
- Unnecessary X. (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)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unexpected string concatenation of literals. (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)