blib/lib/Timer/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 20 | 55.0 |
line | l | !l | condition |
---|---|---|---|
154 | 2 | 0 | do { local $@; eval { do { require Time::HiRes; 1 } } } || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 0 | 0 | 0 | $$self{'hms'} ||= delete $$self{'format'} |
39 | 0 | 7 | 0 | $$self{'hms'} ||= default_format_spec($$self{'hires'}) |
74 | 1 | 7 | 0 | $format || $$self{'hms'} |
102 | 8 | 4 | 0 | $format ||= $$self{'string'} |
105 | 4 | 1 | 7 | $self->can($format) or ref $format eq 'CODE' |
5 | 0 | 7 | $self->can($format) or ref $format eq 'CODE' or overload::Method($format, '&{}') |