| lib/WWW/Selenium/Utils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 35 | 74.2 |
| line | l | !l | condition |
|---|---|---|---|
| 191 | 0 | 0 | &$parse_error('No command found') and next |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 61 | 19 | 0 | 1 | $html =~ m[Auto-generated from $testdir/$basename\.wiki] and not -e "$testdir/$basename.wiki" |
| 195 | 45 | 45 | 4 | defined $expected_args and $expected_args != $numargs |
| 202 | 86 | 4 | 0 | $base_href and $cmd eq 'open' || $cmd =~ /(?:assert|verify)Location/ |
| line | l | !l | condition |
|---|---|---|---|
| 271 | 41 | 0 | $opts{'title'} || 'Generic Title' |
| 272 | 39 | 2 | $opts{'text'} || '' |
| 293 | 14 | 19 | shift() || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 24 | 4 | 6 | 5 | $opts{$_} ||= $config{$_} |
| 39 | 0 | 25 | 0 | $opts{'files'} || test_files($testdir, $opts{'perdir'}, \%opts) |
| 175 | 45 | 0 | 122 | /^#/ or /^\s*$/ |
| 179 | 98 | 2 | 22 | defined $title || $include |
| 202 | 1 | 1 | 2 | $cmd eq 'open' || $cmd =~ /(?:assert|verify)Location/ |
| 319 | 5 | 20 | 0 | $ENV{'SELUTILS_ROOT'} || $WWW::Selenium::Utils::Config{'prefix'} |