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.35 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #1: Webbsida , antal fel: 18 ( 1.40 betyg )
- X is not defined. (totalt 10 st)
- X is assigned a value but never used. (totalt 5 st)
- X is defined but never used. (totalt 2 st)
- Unexpected console statement. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 298 ( 1.00 betyg )
- X is defined but never used. (totalt 214 st)
- X is not defined. (totalt 53 st)
- Unexpected console statement. (totalt 27 st)
- X is assigned a value but never used. (totalt 4 st)
- `< script>` in: #52: manifest.json, antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #52: manifest.json, antal fel: 18 ( 1.40 betyg )
- X is not defined. (totalt 10 st)
- X is assigned a value but never used. (totalt 6 st)
- X is defined but never used. (totalt 1 st)
- Unexpected console statement. (totalt 1 st)
- `< script src="...">` in: #52: manifest.json, antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #52: manifest.json, antal fel: 298 ( 1.00 betyg )
- X is defined but never used. (totalt 214 st)
- X is not defined. (totalt 53 st)
- Unexpected console statement. (totalt 27 st)
- X is assigned a value but never used. (totalt 4 st)
- `content-type=".*javascript.*"` in: #13: integration, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #13: integration, antal fel: 662 ( 1.00 betyg )
- X is not defined. (totalt 657 st)
- X is defined but never used. (totalt 3 st)
- Unexpected console statement. (totalt 2 st)
- `content-type=".*javascript.*"` in: #32: ai.0.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #32: ai.0.js, antal fel: 689 ( 1.00 betyg )
- X is not defined. (totalt 658 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #33: main.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #33: main.js, antal fel: 691 ( 1.00 betyg )
- X is not defined. (totalt 660 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #40: layout.min.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #40: layout.min.js, antal fel: 691 ( 1.00 betyg )
- X is not defined. (totalt 660 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #41: off-canvas-menu, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #41: off-canvas-menu, antal fel: 691 ( 1.00 betyg )
- X is not defined. (totalt 660 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- `content-type=".*javascript.*"` in: #42: map.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #42: map.min.js, antal fel: 695 ( 1.00 betyg )
- X is not defined. (totalt 663 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: top-menu.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #43: top-menu.min.js, antal fel: 699 ( 1.00 betyg )
- X is not defined. (totalt 666 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #44: footer.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: footer.min.js, antal fel: 699 ( 1.00 betyg )
- X is not defined. (totalt 666 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #45: events.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: events.min.js, antal fel: 699 ( 1.00 betyg )
- X is not defined. (totalt 666 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #46: cookie-notice.m, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #46: cookie-notice.m, antal fel: 700 ( 1.00 betyg )
- X is not defined. (totalt 667 st)
- X is defined but never used. (totalt 25 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #47: domReady.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: domReady.min.js, antal fel: 703 ( 1.00 betyg )
- X is not defined. (totalt 668 st)
- X is defined but never used. (totalt 27 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #48: jquery.min.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #48: jquery.min.js, antal fel: 715 ( 1.00 betyg )
- X is not defined. (totalt 670 st)
- X is defined but never used. (totalt 37 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #49: jquery.autocomp, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #49: jquery.autocomp, antal fel: 719 ( 1.00 betyg )
- X is not defined. (totalt 673 st)
- X is defined but never used. (totalt 38 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #50: js.cookie.min.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #50: js.cookie.min.j, antal fel: 724 ( 1.00 betyg )
- X is not defined. (totalt 675 st)
- X is defined but never used. (totalt 41 st)
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 2 st)
Integritet & säkerhet
- `< script>` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #1: Webbsida , 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)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 17 ( 1.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2309 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1435 st)
- Expected X and instead saw X. (totalt 793 st)
- Unnecessary escape character: \/. (totalt 36 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 5 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 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)
- `< script>` in: #52: manifest.json, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #52: manifest.json, antal fel: 1 ( 4.80 betyg )
- Expected X and instead saw X. (totalt 1 st)
- `< script src="...">` in: #52: manifest.json, antal grupperade fel: 17 ( 1.60 betyg )
- `< script src="...">` in: #52: manifest.json, antal fel: 2309 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1435 st)
- Expected X and instead saw X. (totalt 793 st)
- Unnecessary escape character: \/. (totalt 36 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 5 st)
- The Function constructor is eval. (totalt 5 st)
- Unnecessary escape character: \.. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 3 st)
- X is not modified in this loop. (totalt 3 st)
- eval can be harmful. (totalt 2 st)
- X is assigned to itself. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 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)
- `content-type=".*javascript.*"` in: #13: integration, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #13: integration, antal fel: 120 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 95 st)
- Expected X and instead saw X. (totalt 20 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: ai.0.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #32: ai.0.js, antal fel: 439 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 316 st)
- Expected X and instead saw X. (totalt 111 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #33: main.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #33: main.js, antal fel: 439 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 316 st)
- Expected X and instead saw X. (totalt 111 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #40: layout.min.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #40: layout.min.js, antal fel: 439 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 316 st)
- Expected X and instead saw X. (totalt 111 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: off-canvas-menu, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #41: off-canvas-menu, antal fel: 444 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 320 st)
- Expected X and instead saw X. (totalt 112 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: map.min.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #42: map.min.js, antal fel: 445 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 321 st)
- Expected X and instead saw X. (totalt 112 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: top-menu.min.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #43: top-menu.min.js, antal fel: 467 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 343 st)
- Expected X and instead saw X. (totalt 112 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #44: footer.min.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #44: footer.min.js, antal fel: 467 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 343 st)
- Expected X and instead saw X. (totalt 112 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #45: events.min.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #45: events.min.js, antal fel: 473 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 349 st)
- Expected X and instead saw X. (totalt 112 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #46: cookie-notice.m, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #46: cookie-notice.m, antal fel: 483 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 359 st)
- Expected X and instead saw X. (totalt 112 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #47: domReady.min.js, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #47: domReady.min.js, antal fel: 490 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 365 st)
- Expected X and instead saw X. (totalt 113 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #48: jquery.min.js, antal grupperade fel: 16 ( 1.80 betyg )
- `content-type=".*javascript.*"` in: #48: jquery.min.js, antal fel: 855 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 593 st)
- Expected X and instead saw X. (totalt 243 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary escape character: \(. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Unnecessary escape character: \.. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #49: jquery.autocomp, antal grupperade fel: 26 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #49: jquery.autocomp, antal fel: 914 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 630 st)
- Expected X and instead saw X. (totalt 251 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- X is assigned to itself. (totalt 1 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 escape character: \*. (totalt 1 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 escape character: \|. (totalt 1 st)
- `content-type=".*javascript.*"` in: #50: js.cookie.min.j, antal grupperade fel: 26 ( 1.00 betyg )
- `content-type=".*javascript.*"` in: #50: js.cookie.min.j, antal fel: 926 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 635 st)
- Expected X and instead saw X. (totalt 254 st)
- Unnecessary escape character: \/. (totalt 3 st)
- Unnecessary escape character: \(. (totalt 3 st)
- Unnecessary escape character: \[. (totalt 3 st)
- Unnecessary escape character: \:. (totalt 2 st)
- Do not access Object.prototype method X from target object. (totalt 2 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \). (totalt 2 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- X is assigned to itself. (totalt 1 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 escape character: \?. (totalt 1 st)
- Unnecessary escape character: \^. (totalt 1 st)
- Unnecessary escape character: \$. (totalt 1 st)
- Unnecessary escape character: \|. (totalt 1 st)