| blib/lib/HTML/QuickTable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 50 | 80 | 62.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 54 | 35 | 0 | 3 | $key eq 'font' and $lev == 1 |
| 34 | 0 | 1 | $key eq 'lalign' and $lev == 1 | |
| 33 | 0 | 1 | $key eq 'border' and $lev == 1 | |
| 184 | 26 | 1 | 4 | $row and $$self{'_notfirstrow'} |
| 264 | 28 | 8 | 2 | $$self{'vertical'} and ref $$data[0] eq 'ARRAY' |
| 296 | 24 | 30 | 15 | $l =~ /[1T]/i and not $$self{'_notfirstrow'} |
| 42 | 8 | 4 | $l =~ /L/i and not $colnum | |
| 38 | 8 | 4 | $l =~ /R/i and $colnum == @tmprow - 1 | |
| 316 | 94 | 0 | 0 | $$self{'nameopts'} and $td eq 'th' |
| 340 | 0 | 0 | 0 | $ref and UNIVERSAL::can($ref, 'param') |
| 407 | 27 | 11 | 3 | $$self{'header'} and not $$self{'_level'} |
| 38 | 0 | 3 | $$self{'header'} and not $$self{'_level'} and not $$self{'_sentheader'}++ | |
| 410 | 2 | 0 | 1 | $$self{'stylesheet'} && $$self{'stylesheet'} ne 1 |
| line | l | !l | condition |
|---|---|---|---|
| 48 | 9 | 8 | shift() || 0 |
| 88 | 2 | 6 | $opt{'body'} ||= {'bgcolor', 'white'} |
| 89 | 2 | 6 | $opt{'null'} ||= '' |
| 93 | 2 | 0 | $opt{'styleclass'} ||= 'qt' |
| 111 | 0 | 0 | shift() || (return undef) |
| 136 | 149 | 0 | shift() || (return) |
| 179 | 8 | 42 | shift() || 0 |
| 185 | 2 | 2 | $$self{'_tmpclass'} ||= [] |
| 212 | 0 | 0 | $$self{'_lastidt'} || '' |
| 218 | 0 | 0 | $$self{'_indent'} ||= 0 |
| 281 | 3 | 35 | $$self{'_rownum'} ||= 0 |
| 363 | 0 | 0 | $$data{$row}{$col} ||= undef |
| 378 | 0 | 0 | $$self{'keylabel'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 79 | 0 | 8 | 0 | ref $self || $self |
| 296 | 15 | 0 | 54 | $l =~ /[1T]/i and not $$self{'_notfirstrow'} or $l =~ /L/i and not $colnum |
| 4 | 0 | 50 | $l =~ /[1T]/i and not $$self{'_notfirstrow'} or $l =~ /L/i and not $colnum or $l =~ /R/i and $colnum == @tmprow - 1 | |
| 324 | 2 | 0 | 0 | $$tdptr{'class'} ||= $self->_getclass |
| 346 | 0 | 3 | 0 | ref $$data{$key} eq 'ARRAY' or not ref $$data{$key} |