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.73 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: 787 ( 1.00 betyg )
- X is not defined. (totalt 585 st)
- X is defined but never used. (totalt 147 st)
- Unexpected console statement. (totalt 38 st)
- X is assigned a value but never used. (totalt 17 st)
- `< script>` in: #36: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #36: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #11: configuration.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #11: configuration.j, antal fel: 11 ( 2.80 betyg )
- X is not defined. (totalt 11 st)
- `content-type=".*javascript.*"` in: #12: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #12: cc.js, antal fel: 39 ( 1.00 betyg )
- X is not defined. (totalt 20 st)
- X is defined but never used. (totalt 12 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: container-8Y8C1, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #38: container-8Y8C1, antal fel: 258 ( 1.00 betyg )
- X is not defined. (totalt 147 st)
- X is defined but never used. (totalt 69 st)
- X is assigned a value but never used. (totalt 21 st)
- Unexpected console statement. (totalt 21 st)
- `content-type=".*javascript.*"` in: #42: cobrowse.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: cobrowse.js, antal fel: 260 ( 1.00 betyg )
- X is not defined. (totalt 147 st)
- X is defined but never used. (totalt 69 st)
- Unexpected console statement. (totalt 23 st)
- X is assigned a value but never used. (totalt 21 st)
- `content-type=".*javascript.*"` in: #43: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: configs.php, antal fel: 261 ( 1.00 betyg )
- X is not defined. (totalt 148 st)
- X is defined but never used. (totalt 69 st)
- Unexpected console statement. (totalt 23 st)
- X is assigned a value but never used. (totalt 21 st)
- `content-type=".*javascript.*"` in: #45: enduser-loader., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: enduser-loader., antal fel: 384 ( 1.00 betyg )
- X is not defined. (totalt 153 st)
- X is defined but never used. (totalt 134 st)
- Unexpected console statement. (totalt 72 st)
- X is assigned a value but never used. (totalt 25 st)
- `content-type=".*javascript.*"` in: #50: 824.a6c266a0ece, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #50: 824.a6c266a0ece, antal fel: 398 ( 1.00 betyg )
- X is not defined. (totalt 167 st)
- X is defined but never used. (totalt 134 st)
- Unexpected console statement. (totalt 72 st)
- X is assigned a value but never used. (totalt 25 st)
- `content-type=".*javascript.*"` in: #51: 131.ac20397d8b4, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #51: 131.ac20397d8b4, antal fel: 401 ( 1.00 betyg )
- X is not defined. (totalt 167 st)
- X is defined but never used. (totalt 135 st)
- Unexpected console statement. (totalt 74 st)
- X is assigned a value but never used. (totalt 25 st)
- `content-type=".*javascript.*"` in: #52: 290.5a202beece0, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #52: 290.5a202beece0, antal fel: 401 ( 1.00 betyg )
- X is not defined. (totalt 167 st)
- X is defined but never used. (totalt 135 st)
- Unexpected console statement. (totalt 74 st)
- X is assigned a value but never used. (totalt 25 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: 19 ( 1.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2420 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1544 st)
- Expected X and instead saw X. (totalt 771 st)
- Do not access Object.prototype method X from target object. (totalt 34 st)
- Unnecessary X. (totalt 11 st)
- Comparing to itself is potentially pointless. (totalt 11 st)
- The Function constructor is eval. (totalt 10 st)
- Unnecessary escape character: \/. (totalt 8 st)
- Unnecessary escape character: \-. (totalt 8 st)
- Unnecessary escape character: \[. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 4 st)
- X is assigned to itself. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \^. (totalt 2 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)
- `< script>` in: #36: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #36: bc-v4.min.html, antal fel: 2 ( 4.60 betyg )
- Expected X and instead saw X. (totalt 1 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: cc.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #12: cc.js, antal fel: 348 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 307 st)
- Expected X and instead saw X. (totalt 36 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #38: container-8Y8C1, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #38: container-8Y8C1, antal fel: 440 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 307 st)
- Expected X and instead saw X. (totalt 89 st)
- Unnecessary escape character: \/. (totalt 23 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 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 X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: cobrowse.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #42: cobrowse.js, antal fel: 444 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 311 st)
- Expected X and instead saw X. (totalt 89 st)
- Unnecessary escape character: \/. (totalt 23 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 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 X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: configs.php, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #43: configs.php, antal fel: 444 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 311 st)
- Expected X and instead saw X. (totalt 89 st)
- Unnecessary escape character: \/. (totalt 23 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 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 X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #45: enduser-loader., antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #45: enduser-loader., antal fel: 2178 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1299 st)
- Expected X and instead saw X. (totalt 807 st)
- Unnecessary escape character: \/. (totalt 32 st)
- Do not access Object.prototype method X from target object. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 6 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 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)
- Redundant use of `await` on a return value. (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: 824.a6c266a0ece, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #50: 824.a6c266a0ece, antal fel: 2255 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1356 st)
- Expected X and instead saw X. (totalt 825 st)
- Unnecessary escape character: \/. (totalt 32 st)
- Do not access Object.prototype method X from target object. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 6 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 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)
- Redundant use of `await` on a return value. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #51: 131.ac20397d8b4, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #51: 131.ac20397d8b4, antal fel: 2312 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1381 st)
- Expected X and instead saw X. (totalt 857 st)
- Unnecessary escape character: \/. (totalt 32 st)
- Do not access Object.prototype method X from target object. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 6 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 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)
- Redundant use of `await` on a return value. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #52: 290.5a202beece0, antal grupperade fel: 17 ( 1.60 betyg )
- `content-type=".*javascript.*"` in: #52: 290.5a202beece0, antal fel: 2326 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1390 st)
- Expected X and instead saw X. (totalt 862 st)
- Unnecessary escape character: \/. (totalt 32 st)
- Do not access Object.prototype method X from target object. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 6 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 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)
- Redundant use of `await` on a return value. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)