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: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 309 ( 1.00 betyg )
- X is defined but never used. (totalt 178 st)
- Unexpected console statement. (totalt 87 st)
- X is not defined. (totalt 26 st)
- X is assigned a value but never used. (totalt 18 st)
- `< script>` in: #13: Yuw2WTbHgiQva1r, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #13: Yuw2WTbHgiQva1r, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token % (totalt 1 st)
- `< script>` in: #30: favicon.ico, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #30: favicon.ico, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #30: favicon.ico, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #30: favicon.ico, antal fel: 309 ( 1.00 betyg )
- X is defined but never used. (totalt 178 st)
- Unexpected console statement. (totalt 87 st)
- X is not defined. (totalt 26 st)
- X is assigned a value but never used. (totalt 18 st)
- `content-type=".*javascript.*"` in: #12: container-ddYCm, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #12: container-ddYCm, antal fel: 183 ( 1.00 betyg )
- X is not defined. (totalt 104 st)
- X is defined but never used. (totalt 51 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 12 st)
- `content-type=".*javascript.*"` in: #20: ai.0.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: ai.0.js, antal fel: 210 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 73 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 12 st)
- `content-type=".*javascript.*"` in: #22: bundle.3e587.es, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #22: bundle.3e587.es, antal fel: 210 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 73 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 12 st)
- `content-type=".*javascript.*"` in: #32: route-notfound., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #32: route-notfound., antal fel: 210 ( 1.00 betyg )
- X is not defined. (totalt 105 st)
- X is defined but never used. (totalt 73 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 12 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: 14 ( 2.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1693 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 739 st)
- Expected X and instead saw X. (totalt 720 st)
- Unnecessary escape character: \-. (totalt 96 st)
- Do not access Object.prototype method X from target object. (totalt 59 st)
- Unnecessary escape character: \/. (totalt 48 st)
- Unexpected string concatenation of literals. (totalt 14 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \,. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- `< script>` in: #13: Yuw2WTbHgiQva1r, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #13: Yuw2WTbHgiQva1r, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token % (totalt 1 st)
- `< script>` in: #30: favicon.ico, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #30: favicon.ico, antal fel: 1 ( 4.80 betyg )
- Parsing error: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #30: favicon.ico, antal grupperade fel: 14 ( 2.20 betyg )
- `< script src="...">` in: #30: favicon.ico, antal fel: 1693 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 739 st)
- Expected X and instead saw X. (totalt 720 st)
- Unnecessary escape character: \-. (totalt 96 st)
- Do not access Object.prototype method X from target object. (totalt 59 st)
- Unnecessary escape character: \/. (totalt 48 st)
- Unexpected string concatenation of literals. (totalt 14 st)
- X is not modified in this loop. (totalt 3 st)
- Unnecessary X. (totalt 3 st)
- Unnecessary escape character: \,. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: container-ddYCm, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #12: container-ddYCm, antal fel: 28 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Do not access Object.prototype method X from target object. (totalt 5 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: ai.0.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #20: ai.0.js, antal fel: 347 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 221 st)
- Expected X and instead saw X. (totalt 105 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- Unnecessary X. (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)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #22: bundle.3e587.es, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #22: bundle.3e587.es, antal fel: 347 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 221 st)
- Expected X and instead saw X. (totalt 105 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- Unnecessary X. (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)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: route-notfound., antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #32: route-notfound., antal fel: 347 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 221 st)
- Expected X and instead saw X. (totalt 105 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- Unnecessary X. (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)
- Unnecessary escape character: \(. (totalt 1 st)