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.92 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #21: , antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #21: , antal fel: 8 ( 3.40 betyg )
- X is not defined. (totalt 8 st)
- `content-type=".*javascript.*"` in: #35: app.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #35: app.js, antal fel: 236 ( 1.00 betyg )
- X is not defined. (totalt 207 st)
- X is defined but never used. (totalt 28 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: vizzit.services, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #37: vizzit.services, antal fel: 254 ( 1.00 betyg )
- X is not defined. (totalt 225 st)
- X is defined but never used. (totalt 28 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: vizzit.access.j, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #38: vizzit.access.j, antal fel: 260 ( 1.00 betyg )
- X is not defined. (totalt 229 st)
- X is defined but never used. (totalt 30 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #47: enquire.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #47: enquire.js, antal fel: 260 ( 1.00 betyg )
- X is not defined. (totalt 229 st)
- X is defined but never used. (totalt 30 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #48: , antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #48: , antal fel: 261 ( 1.00 betyg )
- X is not defined. (totalt 230 st)
- X is defined but never used. (totalt 30 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: integration, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #49: integration, antal fel: 923 ( 1.00 betyg )
- X is not defined. (totalt 887 st)
- X is defined but never used. (totalt 33 st)
- Unexpected console statement. (totalt 3 st)
Integritet & säkerhet
- `< script>` in: #21: , antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #21: , antal fel: 2 ( 4.60 betyg )
- Unnecessary escape character: \/. (totalt 2 st)
- `content-type=".*javascript.*"` in: #35: app.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #35: app.js, antal fel: 616 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 430 st)
- Expected X and instead saw X. (totalt 168 st)
- X is not modified in this loop. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (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: #37: vizzit.services, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #37: vizzit.services, antal fel: 617 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 430 st)
- Expected X and instead saw X. (totalt 169 st)
- X is not modified in this loop. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (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: #38: vizzit.access.j, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #38: vizzit.access.j, antal fel: 620 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 430 st)
- Expected X and instead saw X. (totalt 172 st)
- X is not modified in this loop. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (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: #47: enquire.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #47: enquire.js, antal fel: 620 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 430 st)
- Expected X and instead saw X. (totalt 172 st)
- X is not modified in this loop. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (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: #48: , antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #48: , antal fel: 620 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 430 st)
- Expected X and instead saw X. (totalt 172 st)
- X is not modified in this loop. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (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: #49: integration, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #49: integration, antal fel: 740 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 525 st)
- Expected X and instead saw X. (totalt 192 st)
- Unnecessary escape character: \/. (totalt 5 st)
- X is not modified in this loop. (totalt 4 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)