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.97 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: Webbsida , antal fel: 1 ( 4.80 betyg )
- Parsing error: Identifier X has already been declared (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 84 ( 1.00 betyg )
- X is defined but never used. (totalt 62 st)
- Unexpected console statement. (totalt 11 st)
- X is not defined. (totalt 9 st)
- X is assigned a value but never used. (totalt 2 st)
- `< script>` in: #46: customer.fcgi, antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #46: customer.fcgi, antal fel: 193 ( 1.00 betyg )
- X is not defined. (totalt 183 st)
- X is assigned a value but never used. (totalt 4 st)
- X is defined but never used. (totalt 4 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #32: commons-bdf523c, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #32: commons-bdf523c, antal fel: 8 ( 3.40 betyg )
- Unexpected console statement. (totalt 4 st)
- X is defined but never used. (totalt 2 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #33: 173520c9a809882, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #33: 173520c9a809882, antal fel: 14 ( 2.20 betyg )
- X is defined but never used. (totalt 5 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #34: component---src, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #34: component---src, antal fel: 14 ( 2.20 betyg )
- X is defined but never used. (totalt 5 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #42: 108-f133c6ca5db, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #42: 108-f133c6ca5db, antal fel: 18 ( 1.40 betyg )
- X is defined but never used. (totalt 7 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #43: customer.fcgi, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: customer.fcgi, antal fel: 25 ( 1.00 betyg )
- X is defined but never used. (totalt 10 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 4 st)
- X is not defined. (totalt 4 st)
- `content-type=".*javascript.*"` in: #48: jquery-3.6.0.mi, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #48: jquery-3.6.0.mi, antal fel: 37 ( 1.00 betyg )
- X is defined but never used. (totalt 20 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 6 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #49: kendo.custom.mi, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #49: kendo.custom.mi, antal fel: 96 ( 1.00 betyg )
- X is not defined. (totalt 39 st)
- X is defined but never used. (totalt 36 st)
- X is assigned a value but never used. (totalt 14 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #50: kendo.culture.s, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #50: kendo.culture.s, antal fel: 101 ( 1.00 betyg )
- X is not defined. (totalt 42 st)
- X is defined but never used. (totalt 38 st)
- X is assigned a value but never used. (totalt 14 st)
- Unexpected console statement. (totalt 7 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: Identifier X has already been declared (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 7 ( 3.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1165 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 738 st)
- Expected X and instead saw X. (totalt 389 st)
- Do not access Object.prototype method X from target object. (totalt 29 st)
- X is not modified in this loop. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `< script>` in: #46: customer.fcgi, antal grupperade fel: 6 ( 3.80 betyg )
- `< script>` in: #46: customer.fcgi, antal fel: 19 ( 1.20 betyg )
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 7 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: commons-bdf523c, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #32: commons-bdf523c, antal fel: 108 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 54 st)
- Expected X and instead saw X. (totalt 54 st)
- `content-type=".*javascript.*"` in: #33: 173520c9a809882, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #33: 173520c9a809882, antal fel: 546 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 391 st)
- Expected X and instead saw X. (totalt 152 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: component---src, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #34: component---src, antal fel: 549 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 393 st)
- Expected X and instead saw X. (totalt 153 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: 108-f133c6ca5db, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #42: 108-f133c6ca5db, antal fel: 915 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 577 st)
- Expected X and instead saw X. (totalt 317 st)
- Unnecessary escape character: \/. (totalt 10 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- `content-type=".*javascript.*"` in: #43: customer.fcgi, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #43: customer.fcgi, antal fel: 917 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 577 st)
- Expected X and instead saw X. (totalt 317 st)
- Unnecessary escape character: \/. (totalt 10 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- `content-type=".*javascript.*"` in: #48: jquery-3.6.0.mi, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #48: jquery-3.6.0.mi, antal fel: 1297 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 793 st)
- Expected X and instead saw X. (totalt 475 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: kendo.custom.mi, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #49: kendo.custom.mi, antal fel: 2380 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1572 st)
- Expected X and instead saw X. (totalt 740 st)
- Unnecessary escape character: \/. (totalt 16 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- The Function constructor is eval. (totalt 8 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \}. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: kendo.culture.s, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #50: kendo.culture.s, antal fel: 2384 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1575 st)
- Expected X and instead saw X. (totalt 741 st)
- Unnecessary escape character: \/. (totalt 16 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- The Function constructor is eval. (totalt 8 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \}. (totalt 2 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary escape character: \,. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)