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.87 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: Webbsida , antal fel: 8 ( 3.40 betyg )
- X is defined but never used. (totalt 3 st)
- X is assigned a value but never used. (totalt 3 st)
- X is not defined. (totalt 2 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 902 ( 1.00 betyg )
- X is not defined. (totalt 796 st)
- X is defined but never used. (totalt 80 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 5 st)
- `< script>` in: #41: 7E1Vm5C9XtU, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #41: 7E1Vm5C9XtU, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `< script>` in: #80: j-W-NxDEcgc, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #80: j-W-NxDEcgc, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #57: lightbox.01a419, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #57: lightbox.01a419, antal fel: 39 ( 1.00 betyg )
- X is not defined. (totalt 39 st)
- `content-type=".*javascript.*"` in: #58: dialog.min.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #58: dialog.min.js, antal fel: 46 ( 1.00 betyg )
- X is not defined. (totalt 45 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #60: share-link.min., antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #60: share-link.min., antal fel: 55 ( 1.00 betyg )
- X is not defined. (totalt 54 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #62: video.78c625e89, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #62: video.78c625e89, antal fel: 62 ( 1.00 betyg )
- X is not defined. (totalt 61 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #63: iframe-api, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #63: iframe-api, antal fel: 64 ( 1.00 betyg )
- X is not defined. (totalt 61 st)
- X is defined but never used. (totalt 2 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #67: embed.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #67: embed.js, antal fel: 65 ( 1.00 betyg )
- X is not defined. (totalt 62 st)
- X is defined but never used. (totalt 2 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #68: www-embed-playe, antal fel: 160 ( 1.00 betyg )
- X is defined but never used. (totalt 86 st)
- X is not defined. (totalt 64 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #69: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #69: base.js, antal fel: 390 ( 1.00 betyg )
- X is defined but never used. (totalt 290 st)
- X is not defined. (totalt 68 st)
- Unexpected console statement. (totalt 16 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #70: www-widgetapi.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #70: www-widgetapi.j, antal fel: 407 ( 1.00 betyg )
- X is defined but never used. (totalt 300 st)
- X is not defined. (totalt 70 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #71: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #71: ad-status.js, antal fel: 407 ( 1.00 betyg )
- X is defined but never used. (totalt 300 st)
- X is not defined. (totalt 70 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 16 st)
- `content-type=".*javascript.*"` in: #72: remote.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #72: remote.js, antal fel: 492 ( 1.00 betyg )
- X is defined but never used. (totalt 327 st)
- X is not defined. (totalt 127 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #73: rqDMfREJsMUq8q-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #73: rqDMfREJsMUq8q-, antal fel: 492 ( 1.00 betyg )
- X is defined but never used. (totalt 327 st)
- X is not defined. (totalt 127 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #78: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: cast-sender.js, antal fel: 496 ( 1.00 betyg )
- X is defined but never used. (totalt 331 st)
- X is not defined. (totalt 127 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #81: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #81: cast-sender.js, antal fel: 505 ( 1.00 betyg )
- X is defined but never used. (totalt 339 st)
- X is not defined. (totalt 127 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: Webbsida , antal fel: 89 ( 1.00 betyg )
- Unnecessary escape character: \/. (totalt 72 st)
- Expected X and instead saw X. (totalt 9 st)
- Expected an assignment or function call and instead saw an expression. (totalt 8 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 14 ( 2.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 1780 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1392 st)
- Expected X and instead saw X. (totalt 355 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Do not access Object.prototype method X from target object. (totalt 4 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Async method X has no X expression. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \'. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `< script>` in: #41: 7E1Vm5C9XtU, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #41: 7E1Vm5C9XtU, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `< script>` in: #80: j-W-NxDEcgc, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #80: j-W-NxDEcgc, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #57: lightbox.01a419, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #57: lightbox.01a419, antal fel: 74 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 67 st)
- Expected X and instead saw X. (totalt 7 st)
- `content-type=".*javascript.*"` in: #58: dialog.min.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #58: dialog.min.js, antal fel: 111 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 98 st)
- Expected X and instead saw X. (totalt 13 st)
- `content-type=".*javascript.*"` in: #60: share-link.min., antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #60: share-link.min., antal fel: 117 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 103 st)
- Expected X and instead saw X. (totalt 13 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #62: video.78c625e89, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #62: video.78c625e89, antal fel: 128 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 114 st)
- Expected X and instead saw X. (totalt 13 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #63: iframe-api, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #63: iframe-api, antal fel: 136 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 114 st)
- Expected X and instead saw X. (totalt 13 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Script URL is a form of eval. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #67: embed.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #67: embed.js, antal fel: 222 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 192 st)
- Expected X and instead saw X. (totalt 21 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Script URL is a form of eval. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #68: www-embed-playe, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #68: www-embed-playe, antal fel: 1960 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1346 st)
- Expected X and instead saw X. (totalt 554 st)
- Do not access Object.prototype method X from target object. (totalt 19 st)
- X is assigned to itself. (totalt 14 st)
- Unnecessary X. (totalt 11 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 5 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #69: base.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #69: base.js, antal fel: 13082 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8857 st)
- Expected X and instead saw X. (totalt 4042 st)
- Do not access Object.prototype method X from target object. (totalt 61 st)
- X is assigned to itself. (totalt 43 st)
- Unnecessary X. (totalt 25 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 10 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 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: #70: www-widgetapi.j, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #70: www-widgetapi.j, antal fel: 13293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8957 st)
- Expected X and instead saw X. (totalt 4133 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 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: #71: ad-status.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #71: ad-status.js, antal fel: 13293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8957 st)
- Expected X and instead saw X. (totalt 4133 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 52 st)
- Unnecessary X. (totalt 25 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 11 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 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: #72: remote.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #72: remote.js, antal fel: 14073 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9419 st)
- Expected X and instead saw X. (totalt 4442 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 57 st)
- Unnecessary X. (totalt 26 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 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: #73: rqDMfREJsMUq8q-, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #73: rqDMfREJsMUq8q-, antal fel: 14091 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9425 st)
- Expected X and instead saw X. (totalt 4453 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 57 st)
- Unnecessary X. (totalt 26 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 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: #78: cast-sender.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #78: cast-sender.js, antal fel: 14113 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9436 st)
- Expected X and instead saw X. (totalt 4464 st)
- Do not access Object.prototype method X from target object. (totalt 68 st)
- X is assigned to itself. (totalt 57 st)
- Unnecessary X. (totalt 26 st)
- Comparing to itself is potentially pointless. (totalt 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 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: #81: cast-sender.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #81: cast-sender.js, antal fel: 14293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 9521 st)
- Expected X and instead saw X. (totalt 4543 st)
- Do not access Object.prototype method X from target object. (totalt 73 st)
- X is assigned to itself. (totalt 64 st)
- Unnecessary X. (totalt 29 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \?. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 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)