blib/lib/Timer/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 20 | 55.0 |
line | l | !l | condition |
---|---|---|---|
156 | 2 | 0 | do { local $@; eval { do { require Time::HiRes; 1 } } } || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
39 | 0 | 0 | 0 | $$self{'hms'} ||= delete $$self{'format'} |
41 | 0 | 7 | 0 | $$self{'hms'} ||= default_format_spec($$self{'hires'}) |
76 | 1 | 7 | 0 | $format || $$self{'hms'} |
104 | 8 | 4 | 0 | $format ||= $$self{'string'} |
107 | 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, '&{}') |