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.51 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: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 845 ( 1.00 betyg )
- X is defined but never used. (totalt 773 st)
- Unexpected console statement. (totalt 57 st)
- X is not defined. (totalt 14 st)
- X is assigned a value but never used. (totalt 1 st)
- `< script>` in: #23: vrVZYWbQYsU, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #23: vrVZYWbQYsU, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #15: gtm.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #15: gtm.js, antal fel: 533 ( 1.00 betyg )
- X is defined but never used. (totalt 429 st)
- X is assigned a value but never used. (totalt 81 st)
- X is not defined. (totalt 22 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #22: container-ytYF9, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #22: container-ytYF9, antal fel: 749 ( 1.00 betyg )
- X is defined but never used. (totalt 483 st)
- X is not defined. (totalt 149 st)
- X is assigned a value but never used. (totalt 96 st)
- Unexpected console statement. (totalt 21 st)
- `content-type=".*javascript.*"` in: #32: iframe-api, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #32: iframe-api, antal fel: 751 ( 1.00 betyg )
- X is defined but never used. (totalt 485 st)
- X is not defined. (totalt 149 st)
- X is assigned a value but never used. (totalt 96 st)
- Unexpected console statement. (totalt 21 st)
- `content-type=".*javascript.*"` in: #34: embed.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #34: embed.js, antal fel: 752 ( 1.00 betyg )
- X is defined but never used. (totalt 485 st)
- X is not defined. (totalt 150 st)
- X is assigned a value but never used. (totalt 96 st)
- Unexpected console statement. (totalt 21 st)
- `content-type=".*javascript.*"` in: #35: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #35: www-embed-playe, antal fel: 847 ( 1.00 betyg )
- X is defined but never used. (totalt 569 st)
- X is not defined. (totalt 152 st)
- X is assigned a value but never used. (totalt 100 st)
- Unexpected console statement. (totalt 26 st)
- `content-type=".*javascript.*"` in: #36: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #36: base.js, antal fel: 1077 ( 1.00 betyg )
- X is defined but never used. (totalt 773 st)
- X is not defined. (totalt 156 st)
- X is assigned a value but never used. (totalt 112 st)
- Unexpected console statement. (totalt 36 st)
- `content-type=".*javascript.*"` in: #37: webReader.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #37: webReader.js, antal fel: 1671 ( 1.00 betyg )
- X is defined but never used. (totalt 789 st)
- X is not defined. (totalt 724 st)
- X is assigned a value but never used. (totalt 112 st)
- Unexpected console statement. (totalt 46 st)
- `content-type=".*javascript.*"` in: #38: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: configs.php, antal fel: 1672 ( 1.00 betyg )
- X is defined but never used. (totalt 789 st)
- X is not defined. (totalt 725 st)
- X is assigned a value but never used. (totalt 112 st)
- Unexpected console statement. (totalt 46 st)
- `content-type=".*javascript.*"` in: #41: www-widgetapi.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #41: www-widgetapi.j, antal fel: 1689 ( 1.00 betyg )
- X is defined but never used. (totalt 799 st)
- X is not defined. (totalt 727 st)
- X is assigned a value but never used. (totalt 112 st)
- Unexpected console statement. (totalt 51 st)
- `content-type=".*javascript.*"` in: #43: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: ad-status.js, antal fel: 1689 ( 1.00 betyg )
- X is defined but never used. (totalt 799 st)
- X is not defined. (totalt 727 st)
- X is assigned a value but never used. (totalt 112 st)
- Unexpected console statement. (totalt 51 st)
- `content-type=".*javascript.*"` in: #44: remote.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: remote.js, antal fel: 1774 ( 1.00 betyg )
- X is defined but never used. (totalt 826 st)
- X is not defined. (totalt 784 st)
- X is assigned a value but never used. (totalt 113 st)
- Unexpected console statement. (totalt 51 st)
- `content-type=".*javascript.*"` in: #45: rqDMfREJsMUq8q-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: rqDMfREJsMUq8q-, antal fel: 1774 ( 1.00 betyg )
- X is defined but never used. (totalt 826 st)
- X is not defined. (totalt 784 st)
- X is assigned a value but never used. (totalt 113 st)
- Unexpected console statement. (totalt 51 st)
- `content-type=".*javascript.*"` in: #49: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #49: cast-sender.js, antal fel: 1778 ( 1.00 betyg )
- X is defined but never used. (totalt 830 st)
- X is not defined. (totalt 784 st)
- X is assigned a value but never used. (totalt 113 st)
- Unexpected console statement. (totalt 51 st)
- `content-type=".*javascript.*"` in: #51: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #51: cast-sender.js, antal fel: 1787 ( 1.00 betyg )
- X is defined but never used. (totalt 838 st)
- X is not defined. (totalt 784 st)
- X is assigned a value but never used. (totalt 113 st)
- Unexpected console statement. (totalt 52 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: 22 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 3726 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3191 st)
- Expected X and instead saw X. (totalt 421 st)
- Do not access Object.prototype method X from target object. (totalt 58 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 5 st)
- The Function constructor is eval. (totalt 3 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 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 X. (totalt 2 st)
- Unnecessary escape character: \-. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `< script>` in: #23: vrVZYWbQYsU, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #23: vrVZYWbQYsU, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #15: gtm.js, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #15: gtm.js, antal fel: 1221 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 860 st)
- Expected X and instead saw X. (totalt 237 st)
- Do not access Object.prototype method X from target object. (totalt 96 st)
- Unnecessary escape character: \/. (totalt 15 st)
- X is not modified in this loop. (totalt 7 st)
- X is assigned to itself. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #22: container-ytYF9, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #22: container-ytYF9, antal fel: 1297 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 860 st)
- Expected X and instead saw X. (totalt 290 st)
- Do not access Object.prototype method X from target object. (totalt 105 st)
- Unnecessary escape character: \/. (totalt 23 st)
- X is not modified in this loop. (totalt 7 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Comparing to itself is potentially pointless. (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)
- `content-type=".*javascript.*"` in: #32: iframe-api, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #32: iframe-api, antal fel: 1305 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 860 st)
- Expected X and instead saw X. (totalt 290 st)
- Do not access Object.prototype method X from target object. (totalt 106 st)
- Unnecessary escape character: \/. (totalt 30 st)
- X is not modified in this loop. (totalt 7 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Comparing to itself is potentially pointless. (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)
- `content-type=".*javascript.*"` in: #34: embed.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #34: embed.js, antal fel: 1391 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 938 st)
- Expected X and instead saw X. (totalt 298 st)
- Do not access Object.prototype method X from target object. (totalt 106 st)
- Unnecessary escape character: \/. (totalt 30 st)
- X is not modified in this loop. (totalt 7 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary X. (totalt 2 st)
- Comparing to itself is potentially pointless. (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)
- `content-type=".*javascript.*"` in: #35: www-embed-playe, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #35: www-embed-playe, antal fel: 3129 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 2092 st)
- Expected X and instead saw X. (totalt 831 st)
- Do not access Object.prototype method X from target object. (totalt 124 st)
- Unnecessary escape character: \/. (totalt 30 st)
- X is assigned to itself. (totalt 17 st)
- Unnecessary X. (totalt 13 st)
- X is not modified in this loop. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 5 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)
- `content-type=".*javascript.*"` in: #36: base.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #36: base.js, antal fel: 14251 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9603 st)
- Expected X and instead saw X. (totalt 4319 st)
- Do not access Object.prototype method X from target object. (totalt 166 st)
- X is assigned to itself. (totalt 46 st)
- Unnecessary escape character: \/. (totalt 34 st)
- Unnecessary X. (totalt 27 st)
- Comparing to itself is potentially pointless. (totalt 11 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 9 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #37: webReader.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #37: webReader.js, antal fel: 14510 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9777 st)
- Expected X and instead saw X. (totalt 4378 st)
- Do not access Object.prototype method X from target object. (totalt 185 st)
- X is assigned to itself. (totalt 47 st)
- Unnecessary escape character: \/. (totalt 35 st)
- Unnecessary X. (totalt 31 st)
- Comparing to itself is potentially pointless. (totalt 11 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: configs.php, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #38: configs.php, antal fel: 14510 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9777 st)
- Expected X and instead saw X. (totalt 4378 st)
- Do not access Object.prototype method X from target object. (totalt 185 st)
- X is assigned to itself. (totalt 47 st)
- Unnecessary escape character: \/. (totalt 35 st)
- Unnecessary X. (totalt 31 st)
- Comparing to itself is potentially pointless. (totalt 11 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: www-widgetapi.j, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #41: www-widgetapi.j, antal fel: 14721 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9877 st)
- Expected X and instead saw X. (totalt 4469 st)
- Do not access Object.prototype method X from target object. (totalt 192 st)
- X is assigned to itself. (totalt 56 st)
- Unnecessary escape character: \/. (totalt 35 st)
- Unnecessary X. (totalt 31 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: ad-status.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #43: ad-status.js, antal fel: 14721 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9877 st)
- Expected X and instead saw X. (totalt 4469 st)
- Do not access Object.prototype method X from target object. (totalt 192 st)
- X is assigned to itself. (totalt 56 st)
- Unnecessary escape character: \/. (totalt 35 st)
- Unnecessary X. (totalt 31 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 9 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #44: remote.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #44: remote.js, antal fel: 15501 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10339 st)
- Expected X and instead saw X. (totalt 4778 st)
- Do not access Object.prototype method X from target object. (totalt 192 st)
- X is assigned to itself. (totalt 61 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Unnecessary X. (totalt 32 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- `content-type=".*javascript.*"` in: #45: rqDMfREJsMUq8q-, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #45: rqDMfREJsMUq8q-, antal fel: 15519 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10345 st)
- Expected X and instead saw X. (totalt 4789 st)
- Do not access Object.prototype method X from target object. (totalt 192 st)
- X is assigned to itself. (totalt 61 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Unnecessary X. (totalt 32 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: cast-sender.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #49: cast-sender.js, antal fel: 15541 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10356 st)
- Expected X and instead saw X. (totalt 4800 st)
- Do not access Object.prototype method X from target object. (totalt 192 st)
- X is assigned to itself. (totalt 61 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Unnecessary X. (totalt 32 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #51: cast-sender.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #51: cast-sender.js, antal fel: 15721 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 10441 st)
- Expected X and instead saw X. (totalt 4879 st)
- Do not access Object.prototype method X from target object. (totalt 197 st)
- X is assigned to itself. (totalt 68 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Unnecessary X. (totalt 35 st)
- Comparing to itself is potentially pointless. (totalt 16 st)
- Unnecessary escape character: \-. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \.. (totalt 8 st)
- X is not modified in this loop. (totalt 7 st)
- Unnecessary escape character: \). (totalt 5 st)
- Script URL is a form of eval. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 2 st)
- eval can be harmful. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)