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.41 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: Webbsida , antal fel: 19 ( 1.20 betyg )
- X is not defined. (totalt 13 st)
- X is defined but never used. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 705 ( 1.00 betyg )
- X is defined but never used. (totalt 464 st)
- X is not defined. (totalt 157 st)
- X is assigned a value but never used. (totalt 76 st)
- Unexpected console statement. (totalt 8 st)
- `< script src="...">` in: #43: 840, antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #43: 840, antal fel: 39 ( 1.00 betyg )
- X is defined but never used. (totalt 30 st)
- Unexpected console statement. (totalt 6 st)
- X is not defined. (totalt 3 st)
- `content-type=".*javascript.*"` in: #58: polyfills.57060, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #58: polyfills.57060, antal fel: 43 ( 1.00 betyg )
- X is not defined. (totalt 30 st)
- X is defined but never used. (totalt 11 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #59: main.428d52e62e, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #59: main.428d52e62e, antal fel: 168 ( 1.00 betyg )
- X is defined but never used. (totalt 103 st)
- X is not defined. (totalt 45 st)
- Unexpected console statement. (totalt 14 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #60: htmx.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #60: htmx.min.js, antal fel: 201 ( 1.00 betyg )
- X is defined but never used. (totalt 127 st)
- X is not defined. (totalt 47 st)
- Unexpected console statement. (totalt 19 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #65: json-enc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #65: json-enc.js, antal fel: 203 ( 1.00 betyg )
- X is defined but never used. (totalt 128 st)
- X is not defined. (totalt 48 st)
- Unexpected console statement. (totalt 19 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #71: ovpcam-plugin.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #71: ovpcam-plugin.j, antal fel: 205 ( 1.00 betyg )
- X is defined but never used. (totalt 130 st)
- X is not defined. (totalt 48 st)
- Unexpected console statement. (totalt 19 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #72: jwpsrv.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #72: jwpsrv.js, antal fel: 228 ( 1.00 betyg )
- X is defined but never used. (totalt 152 st)
- X is not defined. (totalt 48 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #73: jwplayer.core.c, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #73: jwplayer.core.c, antal fel: 248 ( 1.00 betyg )
- X is defined but never used. (totalt 172 st)
- X is not defined. (totalt 48 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #75: provider.hlsjs., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #75: provider.hlsjs., antal fel: 335 ( 1.00 betyg )
- X is defined but never used. (totalt 257 st)
- X is not defined. (totalt 50 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #76: provider.cast.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #76: provider.cast.j, antal fel: 337 ( 1.00 betyg )
- X is defined but never used. (totalt 259 st)
- X is not defined. (totalt 50 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #77: related.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #77: related.js, antal fel: 341 ( 1.00 betyg )
- X is defined but never used. (totalt 263 st)
- X is not defined. (totalt 50 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #87: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #87: cast-sender.js, antal fel: 345 ( 1.00 betyg )
- X is defined but never used. (totalt 267 st)
- X is not defined. (totalt 50 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #88: cast-framework., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #88: cast-framework., antal fel: 377 ( 1.00 betyg )
- X is defined but never used. (totalt 279 st)
- X is not defined. (totalt 70 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 8 st)
- `content-type=".*javascript.*"` in: #89: cast-sender.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #89: cast-sender.js, antal fel: 386 ( 1.00 betyg )
- X is defined but never used. (totalt 287 st)
- X is not defined. (totalt 70 st)
- Unexpected console statement. (totalt 21 st)
- X is assigned a value but never used. (totalt 8 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 7 ( 3.60 betyg )
- Expected X and instead saw X. (totalt 6 st)
- Script URL is a form of eval. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 17 ( 1.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2655 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1921 st)
- Expected X and instead saw X. (totalt 568 st)
- Do not access Object.prototype method X from target object. (totalt 110 st)
- Unnecessary escape character: \/. (totalt 23 st)
- Unnecessary escape character: \-. (totalt 8 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Comparing to itself is potentially pointless. (totalt 4 st)
- X is not modified in this loop. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \?. (totalt 2 st)
- Unnecessary X. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- The Function constructor is eval. (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)
- Implied eval. Consider passing a function instead of a string. (totalt 1 st)
- `< script src="...">` in: #43: 840, antal grupperade fel: 6 ( 3.80 betyg )
- `< script src="...">` in: #43: 840, antal fel: 510 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 329 st)
- Expected X and instead saw X. (totalt 177 st)
- Async arrow function has no X expression. (totalt 1 st)
- Async method X has no X expression. (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: #57: runtime.cec0c2a, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #57: runtime.cec0c2a, antal fel: 7 ( 3.60 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 7 st)
- `content-type=".*javascript.*"` in: #58: polyfills.57060, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #58: polyfills.57060, antal fel: 213 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 129 st)
- Expected X and instead saw X. (totalt 63 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary X. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- X is not modified in this loop. (totalt 2 st)
- `content-type=".*javascript.*"` in: #59: main.428d52e62e, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #59: main.428d52e62e, antal fel: 1394 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 974 st)
- Expected X and instead saw X. (totalt 352 st)
- Do not access Object.prototype method X from target object. (totalt 41 st)
- Unnecessary X. (totalt 5 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- `content-type=".*javascript.*"` in: #60: htmx.min.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #60: htmx.min.js, antal fel: 1466 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 976 st)
- Expected X and instead saw X. (totalt 401 st)
- Do not access Object.prototype method X from target object. (totalt 49 st)
- Unnecessary X. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #65: json-enc.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #65: json-enc.js, antal fel: 1466 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 976 st)
- Expected X and instead saw X. (totalt 401 st)
- Do not access Object.prototype method X from target object. (totalt 49 st)
- Unnecessary X. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #71: ovpcam-plugin.j, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #71: ovpcam-plugin.j, antal fel: 1466 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 976 st)
- Expected X and instead saw X. (totalt 401 st)
- Do not access Object.prototype method X from target object. (totalt 49 st)
- Unnecessary X. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #72: jwpsrv.js, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #72: jwpsrv.js, antal fel: 1609 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1084 st)
- Expected X and instead saw X. (totalt 427 st)
- Do not access Object.prototype method X from target object. (totalt 52 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #73: jwplayer.core.c, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #73: jwplayer.core.c, antal fel: 2732 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1976 st)
- Expected X and instead saw X. (totalt 657 st)
- Do not access Object.prototype method X from target object. (totalt 52 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #75: provider.hlsjs., antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #75: provider.hlsjs., antal fel: 4486 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3330 st)
- Expected X and instead saw X. (totalt 1049 st)
- Do not access Object.prototype method X from target object. (totalt 55 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #76: provider.cast.j, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #76: provider.cast.j, antal fel: 4623 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3442 st)
- Expected X and instead saw X. (totalt 1074 st)
- Do not access Object.prototype method X from target object. (totalt 55 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #77: related.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #77: related.js, antal fel: 4839 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3648 st)
- Expected X and instead saw X. (totalt 1084 st)
- Do not access Object.prototype method X from target object. (totalt 55 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #87: cast-sender.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #87: cast-sender.js, antal fel: 4861 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3659 st)
- Expected X and instead saw X. (totalt 1095 st)
- Do not access Object.prototype method X from target object. (totalt 55 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary X. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- X is assigned to itself. (totalt 4 st)
- Unnecessary escape character: \'. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #88: cast-framework., antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #88: cast-framework., antal fel: 5062 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3769 st)
- Expected X and instead saw X. (totalt 1166 st)
- Do not access Object.prototype method X from target object. (totalt 55 st)
- X is assigned to itself. (totalt 21 st)
- Unnecessary X. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 st)
- Unnecessary escape character: \'. (totalt 4 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #89: cast-sender.js, antal grupperade fel: 18 ( 1.40 betyg )
- `content-type=".*javascript.*"` in: #89: cast-sender.js, antal fel: 5242 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 3854 st)
- Expected X and instead saw X. (totalt 1245 st)
- Do not access Object.prototype method X from target object. (totalt 60 st)
- X is assigned to itself. (totalt 28 st)
- Unnecessary X. (totalt 13 st)
- Unnecessary escape character: \/. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 7 st)
- X is not modified in this loop. (totalt 5 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 3 st)
- Unexpected string concatenation of literals. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \#. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)