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.28 av 5
- JS är ok.
Webbstandard
- `content-type=".*javascript.*"` in: #50: ppms.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #50: ppms.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #52: text-portlet.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #52: text-portlet.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #54: defaultlist.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #54: defaultlist.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #55: 8027.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #55: 8027.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #57: searchform-plug, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #57: searchform-plug, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #58: 356.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #58: 356.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #60: 6301.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #60: 6301.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #61: 2527.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #61: 2527.js, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #63: archive-plugins, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #63: archive-plugins, antal fel: 20 ( 1.00 betyg )
- X is defined but never used. (totalt 13 st)
- X is not defined. (totalt 4 st)
- Unexpected console statement. (totalt 3 st)
Integritet & säkerhet
- `content-type=".*javascript.*"` in: #50: ppms.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #50: ppms.js, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: text-portlet.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #52: text-portlet.js, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #54: defaultlist.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #54: defaultlist.js, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #55: 8027.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #55: 8027.js, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #57: searchform-plug, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #57: searchform-plug, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #58: 356.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #58: 356.js, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #60: 6301.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #60: 6301.js, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #61: 2527.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #61: 2527.js, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #63: archive-plugins, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #63: archive-plugins, antal fel: 266 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 262 st)
- Expected X and instead saw X. (totalt 3 st)
- eval can be harmful. (totalt 1 st)