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.23 av 5
- JS är ok.
Webbstandard
- `< script>` in: #1: privat, antal grupperade fel: 4 ( 4.20 betyg )
- `< script>` in: #1: privat, antal fel: 44 ( 1.00 betyg )
- X is not defined. (totalt 24 st)
- X is assigned a value but never used. (totalt 9 st)
- Unexpected console statement. (totalt 6 st)
- X is defined but never used. (totalt 5 st)
- `< script src="...">` in: #1: privat, antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: privat, antal fel: 17 ( 1.60 betyg )
- X is not defined. (totalt 12 st)
- X is defined but never used. (totalt 4 st)
- Parsing error: Identifier X has already been declared (totalt 1 st)
- `< script>` in: #29: EG43390710, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #29: EG43390710, antal fel: 11 ( 2.80 betyg )
- X is not defined. (totalt 6 st)
- X is defined but never used. (totalt 5 st)
- `< script>` in: #34: checkSession.ht, antal grupperade fel: 2 ( 4.60 betyg )
- `< script>` in: #34: checkSession.ht, antal fel: 3 ( 4.40 betyg )
- Unexpected console statement. (totalt 2 st)
- X is defined but never used. (totalt 1 st)
- `content-type=".*javascript.*"` in: #28: EG43390710, antal grupperade fel: 1 ( 4.80 betyg )
- `content-type=".*javascript.*"` in: #28: EG43390710, antal fel: 5 ( 4.00 betyg )
- X is defined but never used. (totalt 5 st)
- `content-type=".*javascript.*"` in: #30: allow-cobrowse., antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #30: allow-cobrowse., antal fel: 149 ( 1.00 betyg )
- X is not defined. (totalt 134 st)
- X is defined but never used. (totalt 11 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #31: Offers.egain, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #31: Offers.egain, antal fel: 150 ( 1.00 betyg )
- X is not defined. (totalt 135 st)
- X is defined but never used. (totalt 11 st)
- Unexpected console statement. (totalt 4 st)
- `content-type=".*javascript.*"` in: #32: getCBHostName.j, antal grupperade fel: 3 ( 4.40 betyg )
- `content-type=".*javascript.*"` in: #32: getCBHostName.j, antal fel: 153 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 11 st)
- Unexpected console statement. (totalt 4 st)
Integritet & säkerhet
- `< script>` in: #1: privat, antal grupperade fel: 3 ( 4.40 betyg )
- `< script>` in: #1: privat, antal fel: 40 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 37 st)
- Script URL is a form of eval. (totalt 2 st)
- Expected an assignment or function call and instead saw an expression. (totalt 1 st)
- `< script src="...">` in: #1: privat, antal grupperade fel: 3 ( 4.40 betyg )
- `< script src="...">` in: #1: privat, antal fel: 10 ( 3.00 betyg )
- Expected X and instead saw X. (totalt 7 st)
- Comparing to itself is potentially pointless. (totalt 2 st)
- Parsing error: Identifier X has already been declared (totalt 1 st)
- `< script>` in: #29: EG43390710, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #29: EG43390710, antal fel: 12 ( 2.60 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 12 st)
- `< script>` in: #34: checkSession.ht, antal grupperade fel: 1 ( 4.80 betyg )
- `< script>` in: #34: checkSession.ht, antal fel: 3 ( 4.40 betyg )
- Expected X and instead saw X. (totalt 3 st)
- `content-type=".*javascript.*"` in: #28: EG43390710, antal grupperade fel: 2 ( 4.60 betyg )
- `content-type=".*javascript.*"` in: #28: EG43390710, antal fel: 53 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 39 st)
- Expected X and instead saw X. (totalt 14 st)
- `content-type=".*javascript.*"` in: #30: allow-cobrowse., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #30: allow-cobrowse., antal fel: 97 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 55 st)
- Expected an assignment or function call and instead saw an expression. (totalt 40 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: Offers.egain, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: Offers.egain, antal fel: 98 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 56 st)
- Expected an assignment or function call and instead saw an expression. (totalt 40 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #32: getCBHostName.j, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #32: getCBHostName.j, antal fel: 98 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 56 st)
- Expected an assignment or function call and instead saw an expression. (totalt 40 st)
- Unnecessary escape character: \[. (totalt 1 st)
- Script URL is a form of eval. (totalt 1 st)