| blib/lib/Astro/FITS/CFITSIO/Utils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 44 | 61.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 87 | 0 | 0 | 0 | @_ && 'HASH' eq ref $_[-1] |
| 114 | 0 | 12 | 3 | @_ && 'HASH' eq ref $_[-1] |
| 183 | 21 | 5 | 0 | @$found and not $opt{'Accumulate'} |
| 190 | 21 | 0 | 1 | $opt{'Value'} && defined $item |
| 198 | 8 | 5 | 9 | not $opt{'Accumulate'} and $nfound == @$keyword |
| 217 | 2 | 0 | 1 | $opt{'OnePerHDU'} and not $opt{'Accumulate'} |
| 284 | 0 | 2 | 0 | $hdutype != ASCII_TBL() and $hdutype != BINARY_TBL() |
| line | l | !l | condition |
|---|---|---|---|
| 276 | 0 | 3 | $opt{'extver'} ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 21 | 0 | 22 | 0 | ref $class || $class |
| 120 | 3 | 9 | 3 | ref $_[0] || !wantarray |
| 3 | 9 | 3 | ref $_[0] || !wantarray | |
| 127 | 0 | 1 | 14 | defined $opt{'CurrentHDU'} or $file =~ /\[/ |
| 198 | 0 | 17 | 5 | $opt{'CurrentHDU'} or not $opt{'Accumulate'} and $nfound == @$keyword |
| 202 | 0 | 5 | 8 | $lstatus == BAD_HDU_NUM() or $lstatus == END_OF_FILE() |
| 293 | 0 | 1 | 0 | $hdutype == ASCII_TBL() or $hdutype == BINARY_TBL() |