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.63 av 5
- JS är ok.
Webbstandard
- `< script>` in: #30: crossdomain.htm, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #30: crossdomain.htm, antal fel: 2 ( 4.60 betyg )
- X is defined but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #24: cmp-final.min.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #24: cmp-final.min.j, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #25: 490.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: 490.js, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #26: bV8xLndfNDYwNDg, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: bV8xLndfNDYwNDg, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #31: bV8xLndfNDYwNDg, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: bV8xLndfNDYwNDg, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #36: 1240.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: 1240.js, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #37: 3084.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: 3084.js, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #38: 4212.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: 4212.js, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #40: 953.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #40: 953.js, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #41: 4076.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #41: 4076.js, antal fel: 704 ( 1.00 betyg )
- X is not defined. (totalt 600 st)
- X is defined but never used. (totalt 91 st)
- X is assigned a value but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
Integritet & säkerhet
- `< script>` in: #30: crossdomain.htm, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #30: crossdomain.htm, antal fel: 3 ( 4.40 betyg )
- Expected X and instead saw X. (totalt 3 st)
- `content-type=".*javascript.*"` in: #24: cmp-final.min.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #24: cmp-final.min.j, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: 490.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: 490.js, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #26: bV8xLndfNDYwNDg, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: bV8xLndfNDYwNDg, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: bV8xLndfNDYwNDg, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: bV8xLndfNDYwNDg, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: 1240.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: 1240.js, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: 3084.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: 3084.js, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: 4212.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: 4212.js, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #40: 953.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #40: 953.js, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: 4076.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #41: 4076.js, antal fel: 2060 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2055 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)