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.68 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: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 446 ( 1.00 betyg )
- X is defined but never used. (totalt 362 st)
- X is assigned a value but never used. (totalt 70 st)
- X is not defined. (totalt 14 st)
- `< script>` in: #11: page.php, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #11: page.php, antal fel: 18 ( 1.40 betyg )
- X is not defined. (totalt 15 st)
- X is defined but never used. (totalt 3 st)
- `< script src="...">` in: #11: page.php, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #11: page.php, antal fel: 1053 ( 1.00 betyg )
- X is not defined. (totalt 692 st)
- X is defined but never used. (totalt 357 st)
- Unexpected console statement. (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: sdk.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #10: sdk.js, antal fel: 1 ( 4.80 betyg )
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: 46-aoqCGVKe.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #25: 46-aoqCGVKe.js, antal fel: 68 ( 1.00 betyg )
- X is not defined. (totalt 35 st)
- X is defined but never used. (totalt 32 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #26: renderer, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: renderer, antal fel: 69 ( 1.00 betyg )
- X is not defined. (totalt 35 st)
- X is defined but never used. (totalt 32 st)
- Parsing error: X in strict mode (totalt 1 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #27: logging, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #27: logging, antal fel: 70 ( 1.00 betyg )
- X is not defined. (totalt 35 st)
- X is defined but never used. (totalt 32 st)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: ftNFJRl18lm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #32: ftNFJRl18lm.js, antal fel: 90 ( 1.00 betyg )
- X is not defined. (totalt 53 st)
- X is defined but never used. (totalt 34 st)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #33: eyDfcHead4k.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #33: eyDfcHead4k.js, antal fel: 167 ( 1.00 betyg )
- X is not defined. (totalt 103 st)
- X is defined but never used. (totalt 60 st)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: sYqgFo-YbhJ.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #34: sYqgFo-YbhJ.js, antal fel: 234 ( 1.00 betyg )
- X is not defined. (totalt 146 st)
- X is defined but never used. (totalt 84 st)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: JKEi5ds3GqT.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #35: JKEi5ds3GqT.js, antal fel: 238 ( 1.00 betyg )
- X is not defined. (totalt 150 st)
- X is defined but never used. (totalt 84 st)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: 8Dvk-eDMQTC.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #36: 8Dvk-eDMQTC.js, antal fel: 270 ( 1.00 betyg )
- X is not defined. (totalt 171 st)
- X is defined but never used. (totalt 95 st)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: ie38mp0O07P.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #37: ie38mp0O07P.js, antal fel: 275 ( 1.00 betyg )
- X is not defined. (totalt 174 st)
- X is defined but never used. (totalt 97 st)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- X is assigned a value but never used. (totalt 1 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: Unexpected token : (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 10 ( 3.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1488 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1144 st)
- Expected X and instead saw X. (totalt 229 st)
- Do not access Object.prototype method X from target object. (totalt 97 st)
- Unnecessary escape character: \/. (totalt 7 st)
- X is not modified in this loop. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Comparing to itself is potentially pointless. (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)
- `< script>` in: #11: page.php, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #11: page.php, antal fel: 940 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 923 st)
- Expected an assignment or function call and instead saw an expression. (totalt 11 st)
- Expected X and instead saw X. (totalt 6 st)
- `< script src="...">` in: #11: page.php, antal grupperade fel: 22 ( 1.00 betyg )
- `< script src="...">` in: #11: page.php, antal fel: 2650 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1508 st)
- Expected X and instead saw X. (totalt 964 st)
- X is assigned to itself. (totalt 80 st)
- Unnecessary X. (totalt 46 st)
- Unnecessary escape character: \". (totalt 11 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unexpected string concatenation of literals. (totalt 5 st)
- Unnecessary escape character: \'. (totalt 5 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \^. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- X is not modified in this loop. (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)
- The Function constructor is eval. (totalt 1 st)
- Unexpected negating the left operand of X operator. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: sdk.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #10: sdk.js, antal fel: 1 ( 4.80 betyg )
- Parsing error: X in strict mode (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: 46-aoqCGVKe.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #25: 46-aoqCGVKe.js, antal fel: 1141 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 926 st)
- Expected X and instead saw X. (totalt 205 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)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #26: renderer, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #26: renderer, antal fel: 1142 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 926 st)
- Expected X and instead saw X. (totalt 205 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)
- Parsing error: X in strict mode (totalt 1 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: #27: logging, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #27: logging, antal fel: 1143 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 926 st)
- Expected X and instead saw X. (totalt 205 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)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: ftNFJRl18lm.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #32: ftNFJRl18lm.js, antal fel: 1169 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 944 st)
- Expected X and instead saw X. (totalt 213 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)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #33: eyDfcHead4k.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #33: eyDfcHead4k.js, antal fel: 1375 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1103 st)
- Expected X and instead saw X. (totalt 256 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)
- Parsing error: Unexpected token : (totalt 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: sYqgFo-YbhJ.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #34: sYqgFo-YbhJ.js, antal fel: 1534 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1225 st)
- Expected X and instead saw X. (totalt 284 st)
- X is assigned to itself. (totalt 12 st)
- X is not modified in this loop. (totalt 5 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 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: JKEi5ds3GqT.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #35: JKEi5ds3GqT.js, antal fel: 1539 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1228 st)
- Expected X and instead saw X. (totalt 286 st)
- X is assigned to itself. (totalt 12 st)
- X is not modified in this loop. (totalt 5 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 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: 8Dvk-eDMQTC.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #36: 8Dvk-eDMQTC.js, antal fel: 1603 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1271 st)
- Expected X and instead saw X. (totalt 306 st)
- X is assigned to itself. (totalt 13 st)
- X is not modified in this loop. (totalt 5 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 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: ie38mp0O07P.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #37: ie38mp0O07P.js, antal fel: 1858 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1390 st)
- Expected X and instead saw X. (totalt 421 st)
- X is not modified in this loop. (totalt 15 st)
- X is assigned to itself. (totalt 13 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 2 st)
- Parsing error: X in strict mode (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)