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: 3.46 av 5
- JS är ok.
Webbstandard
- `content-type=".*javascript.*"` in: #90: tp.widget.boots, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #90: tp.widget.boots, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #92: twemoji.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #92: twemoji.js, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #93: wp-emoji.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #93: wp-emoji.js, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #97: dialog.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #97: dialog.js, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #99: main.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #99: main.js, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #100: nav-menu.e135a0, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #100: nav-menu.e135a0, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #101: woocommerce-men, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #101: woocommerce-men, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #102: nested-carousel, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #102: nested-carousel, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #103: nested-accordio, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #103: nested-accordio, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #104: form.a7e78a23db, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #104: form.a7e78a23db, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
- `content-type=".*javascript.*"` in: #105: popup.996738ad8, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #105: popup.996738ad8, antal fel: 15 ( 2.00 betyg )
- X is defined but never used. (totalt 8 st)
- Unexpected console statement. (totalt 7 st)
Integritet & säkerhet
- `content-type=".*javascript.*"` in: #90: tp.widget.boots, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #90: tp.widget.boots, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #92: twemoji.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #92: twemoji.js, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #93: wp-emoji.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #93: wp-emoji.js, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #97: dialog.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #97: dialog.js, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #99: main.js, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #99: main.js, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #100: nav-menu.e135a0, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #100: nav-menu.e135a0, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #101: woocommerce-men, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #101: woocommerce-men, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #102: nested-carousel, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #102: nested-carousel, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #103: nested-accordio, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #103: nested-accordio, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #104: form.a7e78a23db, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #104: form.a7e78a23db, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)
- `content-type=".*javascript.*"` in: #105: popup.996738ad8, antal grupperade fel: 5 ( 4.00 betyg )
- `content-type=".*javascript.*"` in: #105: popup.996738ad8, antal fel: 71 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 59 st)
- Expected X and instead saw X. (totalt 7 st)
- Unsafe usage of ThrowStatement. (totalt 3 st)
- Unexpected string concatenation of literals. (totalt 1 st)
- Unnecessary escape character: \%. (totalt 1 st)