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.55 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: 2 ( 4.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2 ( 4.60 betyg )
- Unexpected console statement. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #4: nykoping.min.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #4: nykoping.min.js, antal fel: 113 ( 1.00 betyg )
- X is not defined. (totalt 103 st)
- Unexpected console statement. (totalt 8 st)
- X is defined but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #12: find.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #12: find.js, antal fel: 116 ( 1.00 betyg )
- X is not defined. (totalt 104 st)
- Unexpected console statement. (totalt 9 st)
- X is defined but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #17: ai.2.gbl.min.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #17: ai.2.gbl.min.js, antal fel: 205 ( 1.00 betyg )
- X is not defined. (totalt 107 st)
- X is defined but never used. (totalt 89 st)
- Unexpected console statement. (totalt 9 st)
- `content-type=".*javascript.*"` in: #18: lozad.min.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #18: lozad.min.js, antal fel: 207 ( 1.00 betyg )
- X is not defined. (totalt 109 st)
- X is defined but never used. (totalt 89 st)
- Unexpected console statement. (totalt 9 st)
- `content-type=".*javascript.*"` in: #19: jquery.min.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #19: jquery.min.js, antal fel: 219 ( 1.00 betyg )
- X is not defined. (totalt 111 st)
- X is defined but never used. (totalt 99 st)
- Unexpected console statement. (totalt 9 st)
- `content-type=".*javascript.*"` in: #20: nyk.collapse.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #20: nyk.collapse.js, antal fel: 223 ( 1.00 betyg )
- X is not defined. (totalt 111 st)
- X is defined but never used. (totalt 99 st)
- Unexpected console statement. (totalt 12 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: jquery.unobtrus, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #21: jquery.unobtrus, antal fel: 224 ( 1.00 betyg )
- X is not defined. (totalt 112 st)
- X is defined but never used. (totalt 99 st)
- Unexpected console statement. (totalt 12 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #23: nyk.modal.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #23: nyk.modal.js, antal fel: 253 ( 1.00 betyg )
- X is not defined. (totalt 137 st)
- X is defined but never used. (totalt 102 st)
- Unexpected console statement. (totalt 12 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #24: startpage.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #24: startpage.js, antal fel: 267 ( 1.00 betyg )
- X is not defined. (totalt 148 st)
- X is defined but never used. (totalt 102 st)
- Unexpected console statement. (totalt 14 st)
- X is assigned a value but never used. (totalt 3 st)
- `content-type=".*javascript.*"` in: #25: global-nykoping, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #25: global-nykoping, antal fel: 363 ( 1.00 betyg )
- X is not defined. (totalt 232 st)
- X is defined but never used. (totalt 111 st)
- Unexpected console statement. (totalt 15 st)
- X is assigned a value but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #26: nyk.template.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #26: nyk.template.js, antal fel: 368 ( 1.00 betyg )
- X is not defined. (totalt 233 st)
- X is defined but never used. (totalt 111 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 6 st)
- `content-type=".*javascript.*"` in: #30: awesomplete.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #30: awesomplete.js, antal fel: 369 ( 1.00 betyg )
- X is not defined. (totalt 233 st)
- X is defined but never used. (totalt 111 st)
- Unexpected console statement. (totalt 18 st)
- X is assigned a value but never used. (totalt 7 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: 1 ( 4.80 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 8 ( 3.40 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 8 st)
- `content-type=".*javascript.*"` in: #4: nykoping.min.js, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #4: nykoping.min.js, antal fel: 44 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 37 st)
- Expected X and instead saw X. (totalt 6 st)
- Unnecessary escape character: \[. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: find.js, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #12: find.js, antal fel: 72 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 52 st)
- Expected X and instead saw X. (totalt 18 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- `content-type=".*javascript.*"` in: #17: ai.2.gbl.min.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #17: ai.2.gbl.min.js, antal fel: 541 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 465 st)
- Expected X and instead saw X. (totalt 54 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: lozad.min.js, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #18: lozad.min.js, antal fel: 555 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 474 st)
- Expected X and instead saw X. (totalt 59 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Unnecessary escape character: \/. (totalt 4 st)
- X is assigned to itself. (totalt 3 st)
- Unnecessary escape character: \@. (totalt 2 st)
- Unnecessary escape character: \(. (totalt 2 st)
- Script URL is a form of eval. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 1 st)
- X is not modified in this loop. (totalt 1 st)
- Do not access Object.prototype method X from target object. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- `content-type=".*javascript.*"` in: #19: jquery.min.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #19: jquery.min.js, antal fel: 922 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 698 st)
- Expected X and instead saw X. (totalt 192 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #20: nyk.collapse.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #20: nyk.collapse.js, antal fel: 922 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 698 st)
- Expected X and instead saw X. (totalt 192 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #21: jquery.unobtrus, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #21: jquery.unobtrus, antal fel: 924 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 700 st)
- Expected X and instead saw X. (totalt 192 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #23: nyk.modal.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #23: nyk.modal.js, antal fel: 926 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 700 st)
- Expected X and instead saw X. (totalt 194 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #24: startpage.js, antal grupperade fel: 14 ( 2.20 betyg )
- `content-type=".*javascript.*"` in: #24: startpage.js, antal fel: 926 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 700 st)
- Expected X and instead saw X. (totalt 194 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #25: global-nykoping, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #25: global-nykoping, antal fel: 955 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 701 st)
- Expected X and instead saw X. (totalt 219 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 st)
- eval can be harmful. (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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #26: nyk.template.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #26: nyk.template.js, antal fel: 955 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 701 st)
- Expected X and instead saw X. (totalt 219 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 st)
- eval can be harmful. (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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #30: awesomplete.js, antal grupperade fel: 15 ( 2.00 betyg )
- `content-type=".*javascript.*"` in: #30: awesomplete.js, antal fel: 958 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 701 st)
- Expected X and instead saw X. (totalt 222 st)
- Unnecessary escape character: \/. (totalt 7 st)
- Unnecessary escape character: \.. (totalt 6 st)
- X is assigned to itself. (totalt 4 st)
- eval can be harmful. (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)
- Script URL is a form of eval. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- X is not modified in this loop. (totalt 1 st)
- Unnecessary escape character: \". (totalt 1 st)
- Unnecessary X. (totalt 1 st)