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>` 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: 652 ( 1.00 betyg )
- X is not defined. (totalt 526 st)
- X is defined but never used. (totalt 103 st)
- Unexpected console statement. (totalt 17 st)
- X is assigned a value but never used. (totalt 6 st)
- `< script>` in: #83: hT9gq21zy4Y, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #83: hT9gq21zy4Y, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #71: search-form.b70, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #71: search-form.b70, antal fel: 2 ( 4.60 betyg )
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #72: nav-menu.a23fbd, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #72: nav-menu.a23fbd, antal fel: 12 ( 2.60 betyg )
- X is not defined. (totalt 11 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: iframe-api, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #73: iframe-api, antal fel: 14 ( 2.20 betyg )
- X is not defined. (totalt 11 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #74: load-more.8b46f, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #74: load-more.8b46f, antal fel: 19 ( 1.20 betyg )
- X is not defined. (totalt 16 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #75: posts.aec592653, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #75: posts.aec592653, antal fel: 29 ( 1.00 betyg )
- X is not defined. (totalt 26 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #76: animated-headli, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #76: animated-headli, antal fel: 37 ( 1.00 betyg )
- X is not defined. (totalt 34 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #77: form.5fb35271b8, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #77: form.5fb35271b8, antal fel: 68 ( 1.00 betyg )
- X is not defined. (totalt 65 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #78: popup.f7b15b2ca, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #78: popup.f7b15b2ca, antal fel: 71 ( 1.00 betyg )
- X is not defined. (totalt 68 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #79: text-editor.c08, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #79: text-editor.c08, antal fel: 74 ( 1.00 betyg )
- X is not defined. (totalt 71 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #81: www-widgetapi.j, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #81: www-widgetapi.j, antal fel: 91 ( 1.00 betyg )
- X is not defined. (totalt 73 st)
- X is defined but never used. (totalt 13 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #87: embed.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #87: embed.js, antal fel: 92 ( 1.00 betyg )
- X is not defined. (totalt 74 st)
- X is defined but never used. (totalt 13 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #88: www-embed-playe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #88: www-embed-playe, antal fel: 189 ( 1.00 betyg )
- X is defined but never used. (totalt 99 st)
- X is not defined. (totalt 76 st)
- Unexpected console statement. (totalt 10 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #89: base.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #89: base.js, antal fel: 421 ( 1.00 betyg )
- X is defined but never used. (totalt 306 st)
- X is not defined. (totalt 80 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #90: ad-status.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #90: ad-status.js, antal fel: 421 ( 1.00 betyg )
- X is defined but never used. (totalt 306 st)
- X is not defined. (totalt 80 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #91: Qeqe9PKuIx0-qEn, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #91: Qeqe9PKuIx0-qEn, antal fel: 421 ( 1.00 betyg )
- X is defined but never used. (totalt 306 st)
- X is not defined. (totalt 80 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #101: endscreen.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #101: endscreen.js, antal fel: 422 ( 1.00 betyg )
- X is defined but never used. (totalt 306 st)
- X is not defined. (totalt 81 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 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: 12 ( 2.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2053 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1566 st)
- Expected X and instead saw X. (totalt 448 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- X is assigned to itself. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 7 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 X. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- `< script>` in: #83: hT9gq21zy4Y, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #83: hT9gq21zy4Y, antal fel: 4 ( 4.20 betyg )
- Expected X and instead saw X. (totalt 4 st)
- `content-type=".*javascript.*"` in: #71: search-form.b70, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #71: search-form.b70, antal fel: 6 ( 3.80 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 6 st)
- `content-type=".*javascript.*"` in: #72: nav-menu.a23fbd, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #72: nav-menu.a23fbd, antal fel: 22 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 21 st)
- Expected X and instead saw X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: iframe-api, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #73: iframe-api, antal fel: 30 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 21 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #74: load-more.8b46f, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #74: load-more.8b46f, antal fel: 44 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 35 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #75: posts.aec592653, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #75: posts.aec592653, antal fel: 53 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 44 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #76: animated-headli, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #76: animated-headli, antal fel: 73 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 64 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: form.5fb35271b8, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: form.5fb35271b8, antal fel: 121 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 111 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #78: popup.f7b15b2ca, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #78: popup.f7b15b2ca, antal fel: 122 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 112 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #79: text-editor.c08, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #79: text-editor.c08, antal fel: 126 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 116 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Expected X and instead saw X. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- `content-type=".*javascript.*"` in: #81: www-widgetapi.j, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #81: www-widgetapi.j, antal fel: 337 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 216 st)
- Expected X and instead saw X. (totalt 93 st)
- X is assigned to itself. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- `content-type=".*javascript.*"` in: #87: embed.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #87: embed.js, antal fel: 422 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 293 st)
- Expected X and instead saw X. (totalt 101 st)
- X is assigned to itself. (totalt 9 st)
- Do not access Object.prototype method X from target object. (totalt 8 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- `content-type=".*javascript.*"` in: #88: www-embed-playe, antal grupperade fel: 10 ( 3.00 betyg )
- `content-type=".*javascript.*"` in: #88: www-embed-playe, antal fel: 2212 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1460 st)
- Expected X and instead saw X. (totalt 668 st)
- Do not access Object.prototype method X from target object. (totalt 26 st)
- X is assigned to itself. (totalt 23 st)
- Unnecessary X. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 9 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Unnecessary escape character: \?. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 1 st)
- `content-type=".*javascript.*"` in: #89: base.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #89: base.js, antal fel: 13113 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8790 st)
- Expected X and instead saw X. (totalt 4116 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 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #90: ad-status.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #90: ad-status.js, antal fel: 13113 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8790 st)
- Expected X and instead saw X. (totalt 4116 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 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- `content-type=".*javascript.*"` in: #91: Qeqe9PKuIx0-qEn, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #91: Qeqe9PKuIx0-qEn, antal fel: 13128 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8793 st)
- Expected X and instead saw X. (totalt 4127 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 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (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: #101: endscreen.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #101: endscreen.js, antal fel: 13275 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8904 st)
- Expected X and instead saw X. (totalt 4163 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 14 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unnecessary escape character: \-. (totalt 6 st)
- Unnecessary escape character: \.. (totalt 6 st)
- Unnecessary escape character: \). (totalt 4 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- eval can be harmful. (totalt 1 st)