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.97 av 5
- JS är dålig.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: Webbsida , antal fel: 7 ( 3.60 betyg )
- X is not defined. (totalt 7 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 409 ( 1.00 betyg )
- X is defined but never used. (totalt 170 st)
- X is not defined. (totalt 162 st)
- Unexpected console statement. (totalt 60 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #40: 1750.f129b4c264, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #40: 1750.f129b4c264, antal fel: 8 ( 3.40 betyg )
- Unexpected console statement. (totalt 6 st)
- X is assigned a value but never used. (totalt 1 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #41: mountCopyToClip, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #41: mountCopyToClip, antal fel: 9 ( 3.20 betyg )
- Unexpected console statement. (totalt 6 st)
- X is defined but never used. (totalt 2 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #42: utlysning-colle, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #42: utlysning-colle, antal fel: 10 ( 3.00 betyg )
- Unexpected console statement. (totalt 6 st)
- X is defined but never used. (totalt 3 st)
- X is assigned a value but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #43: 2778.ad47e3b042, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #43: 2778.ad47e3b042, antal fel: 13 ( 2.40 betyg )
- Unexpected console statement. (totalt 6 st)
- X is defined but never used. (totalt 5 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #44: reactListBlock., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #44: reactListBlock., antal fel: 23 ( 1.00 betyg )
- X is defined but never used. (totalt 10 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #45: ao-search.262e6, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #45: ao-search.262e6, antal fel: 23 ( 1.00 betyg )
- X is defined but never used. (totalt 10 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #47: cookiesettings., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #47: cookiesettings., antal fel: 23 ( 1.00 betyg )
- X is defined but never used. (totalt 10 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #50: lightbox.2abbfe, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #50: lightbox.2abbfe, antal fel: 23 ( 1.00 betyg )
- X is defined but never used. (totalt 10 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #52: reactSearchList, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #52: reactSearchList, antal fel: 23 ( 1.00 betyg )
- X is defined but never used. (totalt 10 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #54: cookiesettings., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #54: cookiesettings., antal fel: 28 ( 1.00 betyg )
- X is defined but never used. (totalt 15 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 st)
- `content-type=".*javascript.*"` in: #57: componentCalend, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #57: componentCalend, antal fel: 29 ( 1.00 betyg )
- X is defined but never used. (totalt 16 st)
- Unexpected console statement. (totalt 7 st)
- X is not defined. (totalt 4 st)
- X is assigned a value but never used. (totalt 2 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 )
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 23 ( 1.00 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 2656 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1428 st)
- Expected X and instead saw X. (totalt 1045 st)
- Do not access Object.prototype method X from target object. (totalt 73 st)
- Unnecessary escape character: \-. (totalt 56 st)
- Unnecessary escape character: \/. (totalt 12 st)
- Unexpected string concatenation of literals. (totalt 7 st)
- X is not modified in this loop. (totalt 6 st)
- Unnecessary escape character: \*. (totalt 3 st)
- Comparing to itself is potentially pointless. (totalt 3 st)
- The Function constructor is eval. (totalt 3 st)
- Unnecessary escape character: \=. (totalt 3 st)
- Unnecessary escape character: \{. (totalt 2 st)
- Unnecessary escape character: \[. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \+. (totalt 2 st)
- Unnecessary escape character: \,. (totalt 1 st)
- eval can be harmful. (totalt 1 st)
- Unnecessary escape character: \?. (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)
- `content-type=".*javascript.*"` in: #40: 1750.f129b4c264, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #40: 1750.f129b4c264, antal fel: 129 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 94 st)
- Expected X and instead saw X. (totalt 25 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #41: mountCopyToClip, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #41: mountCopyToClip, antal fel: 146 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 103 st)
- Expected X and instead saw X. (totalt 33 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #42: utlysning-colle, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #42: utlysning-colle, antal fel: 165 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 113 st)
- Expected X and instead saw X. (totalt 42 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #43: 2778.ad47e3b042, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #43: 2778.ad47e3b042, antal fel: 172 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 117 st)
- Expected X and instead saw X. (totalt 45 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #44: reactListBlock., antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #44: reactListBlock., antal fel: 293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 156 st)
- Expected X and instead saw X. (totalt 127 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #45: ao-search.262e6, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #45: ao-search.262e6, antal fel: 293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 156 st)
- Expected X and instead saw X. (totalt 127 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #47: cookiesettings., antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #47: cookiesettings., antal fel: 293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 156 st)
- Expected X and instead saw X. (totalt 127 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #50: lightbox.2abbfe, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #50: lightbox.2abbfe, antal fel: 293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 156 st)
- Expected X and instead saw X. (totalt 127 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #52: reactSearchList, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #52: reactSearchList, antal fel: 293 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 156 st)
- Expected X and instead saw X. (totalt 127 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #54: cookiesettings., antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #54: cookiesettings., antal fel: 360 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 185 st)
- Expected X and instead saw X. (totalt 165 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)
- `content-type=".*javascript.*"` in: #57: componentCalend, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #57: componentCalend, antal fel: 382 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 195 st)
- Expected X and instead saw X. (totalt 177 st)
- Unnecessary escape character: \.. (totalt 5 st)
- Do not access Object.prototype method X from target object. (totalt 3 st)
- Unnecessary escape character: \-. (totalt 2 st)