File: | bin/seo-inspect |
Coverage: | 65.0% |
line | % | coverage | branch | |
---|---|---|---|---|
18 | 50 | T | F | unless &GetOptions("url|u=s", \$url, "file|f=s", \$file, "json|j", \$json, "no-colour|n", \$no_colour, "no-color", \$no_colour) |
26 | 50 | T | F | unless $url or $file |
41 | 50 | T | F | if ($file) { } |
43 | 50 | T | F | unless $html |
62 | 100 | T | F | if ($json) { } |
67 | 50 | T | F | unless ref $r eq "HASH" |
69 | 50 | T | F | if ($no_colour) { } |
73 | 50 | T | F | $status eq 'error' ? : |
100 | T | F | $status eq 'ok' ? : | |
89 | 100 | T | F | if ($$r{"resolution"} and length $$r{"resolution"}) |