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.33 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: 2 ( 4.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 4 ( 4.20 betyg )
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #13: consents.9-Iqx8, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #13: consents.9-Iqx8, antal fel: 8 ( 3.40 betyg )
- X is defined but never used. (totalt 5 st)
- Unexpected console statement. (totalt 2 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: observer.TqJwwt, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #14: observer.TqJwwt, antal fel: 16 ( 1.80 betyg )
- Unexpected console statement. (totalt 7 st)
- X is defined but never used. (totalt 5 st)
- X is not defined. (totalt 4 st)
- `content-type=".*javascript.*"` in: #15: vue.BBE-RjqY.mi, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #15: vue.BBE-RjqY.mi, antal fel: 49 ( 1.00 betyg )
- X is defined but never used. (totalt 26 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 8 st)
- X is not defined. (totalt 4 st)
- `content-type=".*javascript.*"` in: #16: borlabs-widget., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #16: borlabs-widget., antal fel: 52 ( 1.00 betyg )
- X is defined but never used. (totalt 29 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 8 st)
- X is not defined. (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: 2 ( 4.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 8 ( 3.40 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 6 st)
- Expected X and instead saw X. (totalt 2 st)
- `content-type=".*javascript.*"` in: #13: consents.9-Iqx8, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #13: consents.9-Iqx8, antal fel: 162 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 93 st)
- Expected X and instead saw X. (totalt 38 st)
- Unexpected string concatenation of literals. (totalt 29 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: observer.TqJwwt, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #14: observer.TqJwwt, antal fel: 183 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 104 st)
- Expected X and instead saw X. (totalt 45 st)
- Unexpected string concatenation of literals. (totalt 29 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #15: vue.BBE-RjqY.mi, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #15: vue.BBE-RjqY.mi, antal fel: 586 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 435 st)
- Expected X and instead saw X. (totalt 115 st)
- Unexpected string concatenation of literals. (totalt 29 st)
- Do not access Object.prototype method X from target object. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #16: borlabs-widget., antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #16: borlabs-widget., antal fel: 589 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 438 st)
- Expected X and instead saw X. (totalt 115 st)
- Unexpected string concatenation of literals. (totalt 29 st)
- Do not access Object.prototype method X from target object. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 1 st)
- Unnecessary X. (totalt 1 st)