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.26 av 5
- JS är ok.
Webbstandard
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 5 ( 4.00 betyg )
- X is defined but never used. (totalt 2 st)
- X is not defined. (totalt 2 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #28: browsealoud.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #28: browsealoud.js, antal fel: 10 ( 3.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #29: remote.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #29: remote.js, antal fel: 10 ( 3.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #30: sw3VTUzeRvWIVwv, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #30: sw3VTUzeRvWIVwv, antal fel: 10 ( 3.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: cast-sender.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #34: cast-sender.js, antal fel: 14 ( 2.20 betyg )
- X is defined but never used. (totalt 12 st)
- Unexpected console statement. (totalt 1 st)
- X is not defined. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: 155.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #35: 155.4755a93fc50, antal fel: 30 ( 1.00 betyg )
- X is defined but never used. (totalt 27 st)
- Unexpected console statement. (totalt 1 st)
- X is not defined. (totalt 1 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: 143.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: 143.4755a93fc50, antal fel: 55 ( 1.00 betyg )
- X is defined but never used. (totalt 37 st)
- X is not defined. (totalt 12 st)
- Unexpected console statement. (totalt 5 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: cast-sender.js, antal fel: 64 ( 1.00 betyg )
- X is defined but never used. (totalt 45 st)
- X is not defined. (totalt 12 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: 115.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: 115.4755a93fc50, antal fel: 64 ( 1.00 betyg )
- X is defined but never used. (totalt 45 st)
- X is not defined. (totalt 12 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #40: 135.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #40: 135.4755a93fc50, antal fel: 119 ( 1.00 betyg )
- X is defined but never used. (totalt 90 st)
- X is not defined. (totalt 17 st)
- Unexpected console statement. (totalt 11 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: 144.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #41: 144.4755a93fc50, antal fel: 139 ( 1.00 betyg )
- X is defined but never used. (totalt 101 st)
- X is not defined. (totalt 26 st)
- Unexpected console statement. (totalt 11 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: 3.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: 3.4755a93fc5065, antal fel: 398 ( 1.00 betyg )
- X is defined but never used. (totalt 229 st)
- X is not defined. (totalt 122 st)
- Unexpected console statement. (totalt 42 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #43: 2.4755a93fc5065, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: 2.4755a93fc5065, antal fel: 438 ( 1.00 betyg )
- X is defined but never used. (totalt 251 st)
- X is not defined. (totalt 136 st)
- Unexpected console statement. (totalt 46 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #44: 157.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: 157.4755a93fc50, antal fel: 446 ( 1.00 betyg )
- X is defined but never used. (totalt 259 st)
- X is not defined. (totalt 136 st)
- Unexpected console statement. (totalt 46 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #45: 139.4755a93fc50, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: 139.4755a93fc50, antal fel: 453 ( 1.00 betyg )
- X is defined but never used. (totalt 266 st)
- X is not defined. (totalt 136 st)
- Unexpected console statement. (totalt 46 st)
- X is assigned a value but never used. (totalt 5 st)
Integritet & säkerhet
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 46 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 24 st)
- Expected an assignment or function call and instead saw an expression. (totalt 22 st)
- `content-type=".*javascript.*"` in: #28: browsealoud.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #28: browsealoud.js, antal fel: 76 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 46 st)
- Expected an assignment or function call and instead saw an expression. (totalt 30 st)
- `content-type=".*javascript.*"` in: #29: remote.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #29: remote.js, antal fel: 76 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 46 st)
- Expected an assignment or function call and instead saw an expression. (totalt 30 st)
- `content-type=".*javascript.*"` in: #30: sw3VTUzeRvWIVwv, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #30: sw3VTUzeRvWIVwv, antal fel: 92 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 57 st)
- Expected an assignment or function call and instead saw an expression. (totalt 34 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #34: cast-sender.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #34: cast-sender.js, antal fel: 114 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 68 st)
- Expected an assignment or function call and instead saw an expression. (totalt 45 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: 155.4755a93fc50, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #35: 155.4755a93fc50, antal fel: 136 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 74 st)
- Expected an assignment or function call and instead saw an expression. (totalt 58 st)
- Unnecessary X. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #36: 143.4755a93fc50, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #36: 143.4755a93fc50, antal fel: 200 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 100 st)
- Expected an assignment or function call and instead saw an expression. (totalt 83 st)
- Unnecessary X. (totalt 2 st)
- eval can be harmful. (totalt 1 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)
- Unnecessary escape character: \|. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: cast-sender.js, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #37: cast-sender.js, antal fel: 380 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 181 st)
- Expected an assignment or function call and instead saw an expression. (totalt 166 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary X. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 5 st)
- eval can be harmful. (totalt 1 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)
- Unnecessary escape character: \|. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: 115.4755a93fc50, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #38: 115.4755a93fc50, antal fel: 381 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 181 st)
- Expected an assignment or function call and instead saw an expression. (totalt 167 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary X. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 5 st)
- eval can be harmful. (totalt 1 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)
- Unnecessary escape character: \|. (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- `content-type=".*javascript.*"` in: #40: 135.4755a93fc50, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #40: 135.4755a93fc50, antal fel: 1201 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 623 st)
- Expected X and instead saw X. (totalt 500 st)
- Do not access Object.prototype method X from target object. (totalt 38 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary X. (totalt 5 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- eval can be harmful. (totalt 1 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: #41: 144.4755a93fc50, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #41: 144.4755a93fc50, antal fel: 1251 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 654 st)
- Expected X and instead saw X. (totalt 519 st)
- Do not access Object.prototype method X from target object. (totalt 38 st)
- X is assigned to itself. (totalt 7 st)
- Unnecessary X. (totalt 5 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- eval can be harmful. (totalt 1 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: #42: 3.4755a93fc5065, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #42: 3.4755a93fc5065, antal fel: 4152 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2680 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1376 st)
- Do not access Object.prototype method X from target object. (totalt 47 st)
- X is assigned to itself. (totalt 9 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 5 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)
- Async method X has no X expression. (totalt 2 st)
- eval can be harmful. (totalt 1 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: #43: 2.4755a93fc5065, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #43: 2.4755a93fc5065, antal fel: 4543 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2867 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1565 st)
- Do not access Object.prototype method X from target object. (totalt 47 st)
- X is assigned to itself. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 6 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 3 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)
- Async method X has no X expression. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #44: 157.4755a93fc50, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #44: 157.4755a93fc50, antal fel: 4623 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2927 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1585 st)
- Do not access Object.prototype method X from target object. (totalt 47 st)
- X is assigned to itself. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 6 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 3 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)
- Async method X has no X expression. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #45: 139.4755a93fc50, antal grupperade fel: 24 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #45: 139.4755a93fc50, antal fel: 4644 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 2935 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1598 st)
- Do not access Object.prototype method X from target object. (totalt 47 st)
- X is assigned to itself. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 6 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary X. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \^. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- Unsafe usage of ThrowStatement. (totalt 3 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)
- Async method X has no X expression. (totalt 2 st)
- eval can be harmful. (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)