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.27 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 )
- X is assigned a value but never used. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 278 ( 1.00 betyg )
- X is not defined. (totalt 143 st)
- X is defined but never used. (totalt 117 st)
- X is assigned a value but never used. (totalt 14 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #17: react-dom.produ, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #17: react-dom.produ, antal fel: 54 ( 1.00 betyg )
- X is defined but never used. (totalt 48 st)
- X is not defined. (totalt 5 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: react.productio, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #18: react.productio, antal fel: 76 ( 1.00 betyg )
- X is defined but never used. (totalt 65 st)
- X is not defined. (totalt 7 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #30: www.akassanvisi, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #30: www.akassanvisi, antal fel: 77 ( 1.00 betyg )
- X is defined but never used. (totalt 65 st)
- X is not defined. (totalt 7 st)
- Unexpected console statement. (totalt 4 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: browsealoud.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #32: browsealoud.js, antal fel: 87 ( 1.00 betyg )
- X is defined but never used. (totalt 73 st)
- X is not defined. (totalt 8 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #33: 155.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #33: 155.4755a93fc50, antal fel: 103 ( 1.00 betyg )
- X is defined but never used. (totalt 88 st)
- X is not defined. (totalt 8 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #34: 143.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #34: 143.4755a93fc50, antal fel: 128 ( 1.00 betyg )
- X is defined but never used. (totalt 98 st)
- X is not defined. (totalt 19 st)
- Unexpected console statement. (totalt 9 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #35: 115.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #35: 115.4755a93fc50, antal fel: 128 ( 1.00 betyg )
- X is defined but never used. (totalt 98 st)
- X is not defined. (totalt 19 st)
- Unexpected console statement. (totalt 9 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #36: 135.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: 135.4755a93fc50, antal fel: 183 ( 1.00 betyg )
- X is defined but never used. (totalt 143 st)
- X is not defined. (totalt 24 st)
- Unexpected console statement. (totalt 14 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #37: 144.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: 144.4755a93fc50, antal fel: 203 ( 1.00 betyg )
- X is defined but never used. (totalt 154 st)
- X is not defined. (totalt 33 st)
- Unexpected console statement. (totalt 14 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #38: 3.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: 3.4755a93fc5065, antal fel: 462 ( 1.00 betyg )
- X is defined but never used. (totalt 282 st)
- X is not defined. (totalt 129 st)
- Unexpected console statement. (totalt 45 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #39: 2.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #39: 2.4755a93fc5065, antal fel: 502 ( 1.00 betyg )
- X is defined but never used. (totalt 304 st)
- X is not defined. (totalt 143 st)
- Unexpected console statement. (totalt 49 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #40: 157.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #40: 157.4755a93fc50, antal fel: 510 ( 1.00 betyg )
- X is defined but never used. (totalt 312 st)
- X is not defined. (totalt 143 st)
- Unexpected console statement. (totalt 49 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #41: 139.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #41: 139.4755a93fc50, antal fel: 517 ( 1.00 betyg )
- X is defined but never used. (totalt 319 st)
- X is not defined. (totalt 143 st)
- Unexpected console statement. (totalt 49 st)
- X is assigned a value but never used. (totalt 6 st)
Integritet & säkerhet
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 11 ( 2.80 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 697 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 432 st)
- Expected X and instead saw X. (totalt 244 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- Unnecessary X. (totalt 3 st)
- Async method X has no X expression. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #17: react-dom.produ, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #17: react-dom.produ, antal fel: 480 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 378 st)
- Expected X and instead saw X. (totalt 72 st)
- Do not access Object.prototype method X from target object. (totalt 25 st)
- X is not modified in this loop. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: react.productio, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #18: react.productio, antal fel: 521 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 407 st)
- Expected X and instead saw X. (totalt 81 st)
- Do not access Object.prototype method X from target object. (totalt 27 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #30: www.akassanvisi, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #30: www.akassanvisi, antal fel: 521 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 407 st)
- Expected X and instead saw X. (totalt 81 st)
- Do not access Object.prototype method X from target object. (totalt 27 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: browsealoud.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #32: browsealoud.js, antal fel: 597 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 437 st)
- Expected X and instead saw X. (totalt 127 st)
- Do not access Object.prototype method X from target object. (totalt 27 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- `content-type=".*javascript.*"` in: #33: 155.4755a93fc50, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #33: 155.4755a93fc50, antal fel: 619 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 450 st)
- Expected X and instead saw X. (totalt 133 st)
- Do not access Object.prototype method X from target object. (totalt 27 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: 143.4755a93fc50, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #34: 143.4755a93fc50, antal fel: 683 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 475 st)
- Expected X and instead saw X. (totalt 159 st)
- Do not access Object.prototype method X from target object. (totalt 27 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- The Function constructor is 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)
- Unnecessary escape character: \). (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)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: 115.4755a93fc50, antal grupperade fel: 20 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #35: 115.4755a93fc50, antal fel: 684 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 476 st)
- Expected X and instead saw X. (totalt 159 st)
- Do not access Object.prototype method X from target object. (totalt 27 st)
- X is not modified in this loop. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- The Function constructor is 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)
- Unnecessary escape character: \). (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)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: 135.4755a93fc50, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #36: 135.4755a93fc50, antal fel: 1504 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 932 st)
- Expected X and instead saw X. (totalt 478 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is not modified in this loop. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- The Function constructor is 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)
- Unnecessary escape character: \*. (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)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: 144.4755a93fc50, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #37: 144.4755a93fc50, antal fel: 1554 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 963 st)
- Expected X and instead saw X. (totalt 497 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is not modified in this loop. (totalt 8 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- The Function constructor is 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)
- Unnecessary escape character: \*. (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)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: 3.4755a93fc5065, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #38: 3.4755a93fc5065, antal fel: 4455 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2658 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1685 st)
- Do not access Object.prototype method X from target object. (totalt 69 st)
- X is not modified in this loop. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \^. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- The Function constructor is 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)
- Unnecessary escape character: \+. (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)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #39: 2.4755a93fc5065, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #39: 2.4755a93fc5065, antal fel: 4846 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2845 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1874 st)
- Do not access Object.prototype method X from target object. (totalt 69 st)
- X is not modified in this loop. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \$. (totalt 2 st)
- Unnecessary escape character: \|. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #40: 157.4755a93fc50, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #40: 157.4755a93fc50, antal fel: 4926 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2905 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1894 st)
- Do not access Object.prototype method X from target object. (totalt 69 st)
- X is not modified in this loop. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \$. (totalt 2 st)
- Unnecessary escape character: \|. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: 139.4755a93fc50, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #41: 139.4755a93fc50, antal fel: 4947 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2913 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1907 st)
- Do not access Object.prototype method X from target object. (totalt 69 st)
- X is not modified in this loop. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unnecessary escape character: \*. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \$. (totalt 2 st)
- Unnecessary escape character: \|. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- The Function constructor is eval. (totalt 1 st)