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.45 av 5
- JS är ok.
Webbstandard
- `< script src="...">` in: #54: page.php, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #54: page.php, antal fel: 672 ( 1.00 betyg )
- X is not defined. (totalt 432 st)
- X is defined but never used. (totalt 236 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #65: Wm1vnq1TzUs.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #65: Wm1vnq1TzUs.js, antal fel: 68 ( 1.00 betyg )
- X is not defined. (totalt 36 st)
- X is defined but never used. (totalt 32 st)
- `content-type=".*javascript.*"` in: #66: renderer, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #66: renderer, antal fel: 68 ( 1.00 betyg )
- X is not defined. (totalt 36 st)
- X is defined but never used. (totalt 32 st)
- `content-type=".*javascript.*"` in: #67: logging, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #67: logging, antal fel: 69 ( 1.00 betyg )
- X is not defined. (totalt 36 st)
- X is defined but never used. (totalt 32 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: hsCzScYJl9z.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #73: hsCzScYJl9z.js, antal fel: 80 ( 1.00 betyg )
- X is not defined. (totalt 45 st)
- X is defined but never used. (totalt 34 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #75: hFhv2Ikome3.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #75: hFhv2Ikome3.js, antal fel: 157 ( 1.00 betyg )
- X is not defined. (totalt 95 st)
- X is defined but never used. (totalt 60 st)
- Parsing error: Unexpected token : (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #76: 4Dwm6VxrUr0.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #76: 4Dwm6VxrUr0.js, antal fel: 216 ( 1.00 betyg )
- X is not defined. (totalt 132 st)
- X is defined but never used. (totalt 82 st)
- Parsing error: Unexpected token : (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: AK3glJtR6iJ.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: AK3glJtR6iJ.js, antal fel: 216 ( 1.00 betyg )
- X is not defined. (totalt 132 st)
- X is defined but never used. (totalt 82 st)
- Parsing error: Unexpected token : (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #78: 8Dvk-eDMQTC.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: 8Dvk-eDMQTC.js, antal fel: 216 ( 1.00 betyg )
- X is not defined. (totalt 132 st)
- X is defined but never used. (totalt 82 st)
- Parsing error: Unexpected token : (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #79: ie38mp0O07P.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #79: ie38mp0O07P.js, antal fel: 221 ( 1.00 betyg )
- X is not defined. (totalt 135 st)
- X is defined but never used. (totalt 84 st)
- Parsing error: Unexpected token : (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
Integritet & säkerhet
- `< script src="...">` in: #54: page.php, antal grupperade fel: 20 ( 1.00 betyg )
- `< script src="...">` in: #54: page.php, antal fel: 1851 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1054 st)
- Expected X and instead saw X. (totalt 686 st)
- Unnecessary X. (totalt 46 st)
- X is assigned to itself. (totalt 27 st)
- Unnecessary escape character: \/. (totalt 6 st)
- Unnecessary escape character: \". (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unexpected string concatenation of literals. (totalt 3 st)
- Unnecessary escape character: \'. (totalt 3 st)
- Unnecessary escape character: \?. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Script URL is a form of eval. (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)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #65: Wm1vnq1TzUs.js, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #65: Wm1vnq1TzUs.js, antal fel: 1179 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 952 st)
- Expected X and instead saw X. (totalt 218 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #66: renderer, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #66: renderer, antal fel: 1179 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 952 st)
- Expected X and instead saw X. (totalt 218 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #67: logging, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #67: logging, antal fel: 1180 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 952 st)
- Expected X and instead saw X. (totalt 218 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: hsCzScYJl9z.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #73: hsCzScYJl9z.js, antal fel: 1195 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 963 st)
- Expected X and instead saw X. (totalt 222 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #75: hFhv2Ikome3.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #75: hFhv2Ikome3.js, antal fel: 1401 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1123 st)
- Expected X and instead saw X. (totalt 264 st)
- X is assigned to itself. (totalt 5 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #76: 4Dwm6VxrUr0.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #76: 4Dwm6VxrUr0.js, antal fel: 1510 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1207 st)
- Expected X and instead saw X. (totalt 284 st)
- X is assigned to itself. (totalt 10 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: AK3glJtR6iJ.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #77: AK3glJtR6iJ.js, antal fel: 1510 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1207 st)
- Expected X and instead saw X. (totalt 284 st)
- X is assigned to itself. (totalt 10 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #78: 8Dvk-eDMQTC.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #78: 8Dvk-eDMQTC.js, antal fel: 1510 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1207 st)
- Expected X and instead saw X. (totalt 284 st)
- X is assigned to itself. (totalt 10 st)
- X is not modified in this loop. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #79: ie38mp0O07P.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #79: ie38mp0O07P.js, antal fel: 1765 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1326 st)
- Expected X and instead saw X. (totalt 399 st)
- X is not modified in this loop. (totalt 13 st)
- X is assigned to itself. (totalt 10 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \". (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Parsing error: Unexpected token : (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)