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.95 av 5
- JS är dålig.
Webbstandard
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 292 ( 1.00 betyg )
- X is defined but never used. (totalt 177 st)
- X is assigned a value but never used. (totalt 41 st)
- X is not defined. (totalt 38 st)
- Unexpected console statement. (totalt 36 st)
- `content-type=".*javascript.*"` in: #14: 863.a6c745f1.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #14: 863.a6c745f1.js, antal fel: 5 ( 4.00 betyg )
- X is defined but never used. (totalt 4 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #16: 3846.464f8551.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #16: 3846.464f8551.j, antal fel: 13 ( 2.40 betyg )
- X is defined but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #18: 4499.023e6a68.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #18: 4499.023e6a68.j, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 13 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #19: 7893.de6b3323.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #19: 7893.de6b3323.j, antal fel: 17 ( 1.60 betyg )
- X is defined but never used. (totalt 15 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #20: 2567.4850c33f.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #20: 2567.4850c33f.j, antal fel: 19 ( 1.20 betyg )
- X is defined but never used. (totalt 17 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #21: 4676.e43781c4.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #21: 4676.e43781c4.j, antal fel: 21 ( 1.00 betyg )
- X is defined but never used. (totalt 19 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #22: 5571.23a5ef58.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #22: 5571.23a5ef58.j, antal fel: 23 ( 1.00 betyg )
- X is defined but never used. (totalt 21 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #23: 9195.be08c1d0.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #23: 9195.be08c1d0.j, antal fel: 25 ( 1.00 betyg )
- X is defined but never used. (totalt 23 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #30: 2770.ddc6a9c0.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #30: 2770.ddc6a9c0.j, antal fel: 27 ( 1.00 betyg )
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #36: 8308.908b368c.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #36: 8308.908b368c.j, antal fel: 34 ( 1.00 betyg )
- X is defined but never used. (totalt 28 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #38: 9591.d3113950.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #38: 9591.d3113950.j, antal fel: 36 ( 1.00 betyg )
- X is defined but never used. (totalt 30 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #39: 1411.89329924.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #39: 1411.89329924.j, antal fel: 42 ( 1.00 betyg )
- X is defined but never used. (totalt 36 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #41: 1837.2851bd6b.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #41: 1837.2851bd6b.j, antal fel: 52 ( 1.00 betyg )
- X is defined but never used. (totalt 46 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #42: 3389.81436d25.j, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #42: 3389.81436d25.j, antal fel: 52 ( 1.00 betyg )
- X is defined but never used. (totalt 46 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #44: 34.524d898a.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #44: 34.524d898a.js, antal fel: 57 ( 1.00 betyg )
- X is defined but never used. (totalt 51 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #45: 6433.8b69626f.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: 6433.8b69626f.j, antal fel: 62 ( 1.00 betyg )
- X is defined but never used. (totalt 53 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #47: 9350.a22e7686.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: 9350.a22e7686.j, antal fel: 63 ( 1.00 betyg )
- X is defined but never used. (totalt 54 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: 4042.a04ff843.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #49: 4042.a04ff843.j, antal fel: 65 ( 1.00 betyg )
- X is defined but never used. (totalt 56 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: 4891.da787603.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #52: 4891.da787603.j, antal fel: 68 ( 1.00 betyg )
- X is defined but never used. (totalt 59 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #53: 8034.d663d50f.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #53: 8034.d663d50f.j, antal fel: 70 ( 1.00 betyg )
- X is defined but never used. (totalt 61 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #57: 3606.6f05a81d.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #57: 3606.6f05a81d.j, antal fel: 72 ( 1.00 betyg )
- X is defined but never used. (totalt 63 st)
- Unexpected console statement. (totalt 7 st)
- X is assigned a value but never used. (totalt 1 st)
- X is not defined. (totalt 1 st)
Integritet & säkerhet
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 19 ( 1.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2130 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1466 st)
- Expected X and instead saw X. (totalt 562 st)
- Async method X has no X expression. (totalt 13 st)
- Comparing to itself is potentially pointless. (totalt 12 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unsafe usage of ThrowStatement. (totalt 10 st)
- X is not modified in this loop. (totalt 9 st)
- Unnecessary X. (totalt 8 st)
- Async function has no X expression. (totalt 7 st)
- Unnecessary escape character: \:. (totalt 6 st)
- The Function constructor is eval. (totalt 6 st)
- X is assigned to itself. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unsafe usage of ReturnStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: 261.907ea70e.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #12: 261.907ea70e.js, antal fel: 1 ( 4.80 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: 863.a6c745f1.js, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #14: 863.a6c745f1.js, antal fel: 3 ( 4.40 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3 st)
- `content-type=".*javascript.*"` in: #16: 3846.464f8551.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #16: 3846.464f8551.j, antal fel: 7 ( 3.60 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7 st)
- `content-type=".*javascript.*"` in: #18: 4499.023e6a68.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #18: 4499.023e6a68.j, antal fel: 10 ( 3.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10 st)
- `content-type=".*javascript.*"` in: #19: 7893.de6b3323.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #19: 7893.de6b3323.j, antal fel: 11 ( 2.80 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 11 st)
- `content-type=".*javascript.*"` in: #20: 2567.4850c33f.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #20: 2567.4850c33f.j, antal fel: 12 ( 2.60 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 12 st)
- `content-type=".*javascript.*"` in: #21: 4676.e43781c4.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #21: 4676.e43781c4.j, antal fel: 13 ( 2.40 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 13 st)
- `content-type=".*javascript.*"` in: #22: 5571.23a5ef58.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #22: 5571.23a5ef58.j, antal fel: 14 ( 2.20 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 14 st)
- `content-type=".*javascript.*"` in: #23: 9195.be08c1d0.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #23: 9195.be08c1d0.j, antal fel: 15 ( 2.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 15 st)
- `content-type=".*javascript.*"` in: #30: 2770.ddc6a9c0.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #30: 2770.ddc6a9c0.j, antal fel: 16 ( 1.80 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 16 st)
- `content-type=".*javascript.*"` in: #36: 8308.908b368c.j, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #36: 8308.908b368c.j, antal fel: 102 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 79 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Expected X and instead saw X. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 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)
- `content-type=".*javascript.*"` in: #38: 9591.d3113950.j, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #38: 9591.d3113950.j, antal fel: 103 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 80 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Expected X and instead saw X. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 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)
- `content-type=".*javascript.*"` in: #39: 1411.89329924.j, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #39: 1411.89329924.j, antal fel: 113 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 85 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Expected X and instead saw X. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: 1837.2851bd6b.j, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #41: 1837.2851bd6b.j, antal fel: 114 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 86 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Expected X and instead saw X. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: 3389.81436d25.j, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #42: 3389.81436d25.j, antal fel: 115 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 87 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Expected X and instead saw X. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #44: 34.524d898a.js, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #44: 34.524d898a.js, antal fel: 119 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 91 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Expected X and instead saw X. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #45: 6433.8b69626f.j, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #45: 6433.8b69626f.j, antal fel: 329 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 219 st)
- Expected X and instead saw X. (totalt 86 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- `content-type=".*javascript.*"` in: #47: 9350.a22e7686.j, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #47: 9350.a22e7686.j, antal fel: 333 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 222 st)
- Expected X and instead saw X. (totalt 86 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: 4042.a04ff843.j, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #49: 4042.a04ff843.j, antal fel: 334 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 223 st)
- Expected X and instead saw X. (totalt 86 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: 4891.da787603.j, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #52: 4891.da787603.j, antal fel: 337 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 226 st)
- Expected X and instead saw X. (totalt 86 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #53: 8034.d663d50f.j, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #53: 8034.d663d50f.j, antal fel: 338 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 227 st)
- Expected X and instead saw X. (totalt 86 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #57: 3606.6f05a81d.j, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #57: 3606.6f05a81d.j, antal fel: 339 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 228 st)
- Expected X and instead saw X. (totalt 86 st)
- Unnecessary escape character: \[. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \|. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Async arrow function has no X expression. (totalt 1 st)