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.50 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , antal fel: 22 ( 1.00 betyg )
- X is not defined. (totalt 20 st)
- X is defined 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: 1256 ( 1.00 betyg )
- X is defined but never used. (totalt 641 st)
- X is not defined. (totalt 427 st)
- X is assigned a value but never used. (totalt 98 st)
- Unexpected console statement. (totalt 90 st)
- `< script>` in: #28: bc-v4.min.html, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #28: bc-v4.min.html, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: configuration.j, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #18: configuration.j, antal fel: 11 ( 2.80 betyg )
- X is not defined. (totalt 11 st)
- `content-type=".*javascript.*"` in: #19: cc.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #19: 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: #30: integration, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #30: integration, antal fel: 701 ( 1.00 betyg )
- X is not defined. (totalt 677 st)
- X is defined but never used. (totalt 15 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #31: loader, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: loader, antal fel: 702 ( 1.00 betyg )
- X is not defined. (totalt 677 st)
- X is defined but never used. (totalt 15 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #41: intercept-surve, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #41: intercept-surve, antal fel: 751 ( 1.00 betyg )
- X is not defined. (totalt 677 st)
- X is defined but never used. (totalt 63 st)
- X is assigned a value but never used. (totalt 6 st)
- Unexpected console statement. (totalt 5 st)
- `content-type=".*javascript.*"` in: #42: KindlyChat-5403, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: KindlyChat-5403, antal fel: 853 ( 1.00 betyg )
- X is not defined. (totalt 679 st)
- X is defined but never used. (totalt 115 st)
- Unexpected console statement. (totalt 46 st)
- X is assigned a value but never used. (totalt 13 st)
- `content-type=".*javascript.*"` in: #47: vendors-react-c, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: vendors-react-c, antal fel: 857 ( 1.00 betyg )
- X is not defined. (totalt 679 st)
- X is defined but never used. (totalt 115 st)
- Unexpected console statement. (totalt 46 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #48: react-chat-src-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #48: react-chat-src-, antal fel: 857 ( 1.00 betyg )
- X is not defined. (totalt 679 st)
- X is defined but never used. (totalt 115 st)
- Unexpected console statement. (totalt 46 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #49: Chat-871c5f33a4, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #49: Chat-871c5f33a4, antal fel: 876 ( 1.00 betyg )
- X is not defined. (totalt 679 st)
- X is defined but never used. (totalt 129 st)
- Unexpected console statement. (totalt 49 st)
- X is assigned a value but never used. (totalt 19 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #1: Webbsida , antal fel: 20 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 16 st)
- Expected X and instead saw X. (totalt 2 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 27 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 8768 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 5614 st)
- Expected X and instead saw X. (totalt 2722 st)
- Do not access Object.prototype method X from target object. (totalt 150 st)
- Unnecessary escape character: \-. (totalt 93 st)
- Unexpected string concatenation of literals. (totalt 40 st)
- Unnecessary escape character: \/. (totalt 21 st)
- Unnecessary X. (totalt 20 st)
- Unnecessary escape character: \[. (totalt 16 st)
- X is not modified in this loop. (totalt 16 st)
- Comparing to itself is potentially pointless. (totalt 15 st)
- Unnecessary escape character: \.. (totalt 11 st)
- Unnecessary escape character: \%. (totalt 10 st)
- Unnecessary escape character: \^. (totalt 7 st)
- Unnecessary escape character: \+. (totalt 5 st)
- The Function constructor is eval. (totalt 4 st)
- Unnecessary escape character: \". (totalt 4 st)
- X is assigned to itself. (totalt 4 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)
- Async arrow function has no X expression. (totalt 2 st)
- Unsafe usage of ThrowStatement. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \{. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- `< script>` in: #28: bc-v4.min.html, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #28: 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: #19: cc.js, antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #19: cc.js, antal fel: 347 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 306 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: #30: integration, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #30: integration, antal fel: 467 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 401 st)
- Expected X and instead saw X. (totalt 56 st)
- Script URL is a form of eval. (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)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: loader, antal grupperade fel: 9 ( 3.20 betyg )
- `content-type=".*javascript.*"` in: #31: loader, antal fel: 467 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 401 st)
- Expected X and instead saw X. (totalt 56 st)
- Script URL is a form of eval. (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)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: intercept-surve, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #41: intercept-surve, antal fel: 632 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 506 st)
- Expected X and instead saw X. (totalt 106 st)
- Unnecessary X. (totalt 4 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- The Function constructor is eval. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: KindlyChat-5403, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #42: KindlyChat-5403, antal fel: 1481 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1076 st)
- Expected X and instead saw X. (totalt 358 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Async arrow function has no X expression. (totalt 8 st)
- Unnecessary X. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Redundant use of `await` on a return value. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- `content-type=".*javascript.*"` in: #47: vendors-react-c, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #47: vendors-react-c, antal fel: 1571 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1152 st)
- Expected X and instead saw X. (totalt 368 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Async arrow function has no X expression. (totalt 8 st)
- Unnecessary X. (totalt 6 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- `content-type=".*javascript.*"` in: #48: react-chat-src-, antal grupperade fel: 21 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #48: react-chat-src-, antal fel: 1600 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1165 st)
- Expected X and instead saw X. (totalt 384 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Async arrow function has no X expression. (totalt 8 st)
- Unnecessary X. (totalt 6 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- Unnecessary escape character: \/. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Redundant use of `await` on a return value. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: Chat-871c5f33a4, antal grupperade fel: 23 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #49: Chat-871c5f33a4, antal fel: 1892 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1326 st)
- Expected X and instead saw X. (totalt 508 st)
- Async arrow function has no X expression. (totalt 9 st)
- Comparing to itself is potentially pointless. (totalt 8 st)
- Unnecessary X. (totalt 6 st)
- Do not access Object.prototype method X from target object. (totalt 6 st)
- Redundant use of `await` on a return value. (totalt 4 st)
- Unnecessary escape character: \/. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \:. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \< . (totalt 1 st)
- Unnecessary escape character: \>. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \+. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- Unsafe usage of ThrowStatement. (totalt 1 st)
- Async function X has no X expression. (totalt 1 st)
- Unnecessary escape character: \?. (totalt 1 st)
- Async method X has no X expression. (totalt 1 st)