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.24 av 5
- JS är ok.
Webbstandard
- `< script>` in: #1: Webbsida , antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #1: Webbsida , antal fel: 1 ( 4.80 betyg )
- X is not defined. (totalt 1 st)
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 13 ( 2.40 betyg )
- X is defined but never used. (totalt 9 st)
- Unexpected console statement. (totalt 2 st)
- X is not defined. (totalt 2 st)
- `content-type=".*javascript.*"` in: #4: scheduler.BI4Hn, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #4: scheduler.BI4Hn, antal fel: 1 ( 4.80 betyg )
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #5: app.Ggpm-Tmd.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #5: app.Ggpm-Tmd.js, antal fel: 8 ( 3.40 betyg )
- X is defined but never used. (totalt 7 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #6: index.CUUmy6kY., antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #6: index.CUUmy6kY., antal fel: 8 ( 3.40 betyg )
- X is defined but never used. (totalt 7 st)
- Unexpected console statement. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: 0.BmREm5sr.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #7: 0.BmREm5sr.js, antal fel: 29 ( 1.00 betyg )
- X is defined but never used. (totalt 26 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #8: Paragraph.D7vEZ, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #8: Paragraph.D7vEZ, antal fel: 33 ( 1.00 betyg )
- X is defined but never used. (totalt 30 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #9: stores.q2acAWvN, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #9: stores.q2acAWvN, antal fel: 33 ( 1.00 betyg )
- X is defined but never used. (totalt 30 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #10: 2.DHSURTRZ.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #10: 2.DHSURTRZ.js, antal fel: 122 ( 1.00 betyg )
- X is defined but never used. (totalt 119 st)
- Unexpected console statement. (totalt 3 st)
- `content-type=".*javascript.*"` in: #35: 1.DEgoAR6z.js, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #35: 1.DEgoAR6z.js, antal fel: 122 ( 1.00 betyg )
- X is defined but never used. (totalt 119 st)
- Unexpected console statement. (totalt 3 st)
Integritet & säkerhet
- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 143 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 107 st)
- Expected X and instead saw X. (totalt 35 st)
- Unnecessary escape character: \?. (totalt 1 st)
- `content-type=".*javascript.*"` in: #3: entry.CiWN4CcP., antal grupperade fel: 6 ( 3.80 betyg )
- `content-type=".*javascript.*"` in: #3: entry.CiWN4CcP., antal fel: 173 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 81 st)
- Expected X and instead saw X. (totalt 80 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- `content-type=".*javascript.*"` in: #4: scheduler.BI4Hn, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #4: scheduler.BI4Hn, antal fel: 225 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 115 st)
- Expected X and instead saw X. (totalt 95 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #5: app.Ggpm-Tmd.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #5: app.Ggpm-Tmd.js, antal fel: 278 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 166 st)
- Expected X and instead saw X. (totalt 97 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #6: index.CUUmy6kY., antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #6: index.CUUmy6kY., antal fel: 314 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 201 st)
- Expected X and instead saw X. (totalt 98 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #7: 0.BmREm5sr.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #7: 0.BmREm5sr.js, antal fel: 543 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 421 st)
- Expected X and instead saw X. (totalt 107 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: Paragraph.D7vEZ, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #8: Paragraph.D7vEZ, antal fel: 652 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 529 st)
- Expected X and instead saw X. (totalt 108 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #9: stores.q2acAWvN, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #9: stores.q2acAWvN, antal fel: 652 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 529 st)
- Expected X and instead saw X. (totalt 108 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: 2.DHSURTRZ.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #10: 2.DHSURTRZ.js, antal fel: 1412 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1278 st)
- Expected X and instead saw X. (totalt 118 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 3 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)
- `content-type=".*javascript.*"` in: #35: 1.DEgoAR6z.js, antal grupperade fel: 8 ( 3.40 betyg )
- `content-type=".*javascript.*"` in: #35: 1.DEgoAR6z.js, antal fel: 1421 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 1285 st)
- Expected X and instead saw X. (totalt 120 st)
- Redundant use of `await` on a return value. (totalt 5 st)
- X is assigned to itself. (totalt 3 st)
- Async function X has no X expression. (totalt 3 st)
- Async arrow function has no X expression. (totalt 2 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Unnecessary escape character: \/. (totalt 1 st)