line |
true |
false |
branch |
37
|
14 |
2 |
if $_ ne 'default' |
48
|
1 |
153 |
if (keys %Math::Calc::Units::Convert::Time::total_unit_map == 0) |
64
|
54 |
386 |
if (my $prefix = $self->get_prefix($string)) { } |
66
|
30 |
24 |
if ($tail =~ /^sec(ond)?s?$/) |
83
|
24 |
208 |
if $from =~ /^sec(ond)?s?$/i |
84
|
55 |
177 |
if $from =~ /^min(ute)?s?$/i |
86
|
178 |
54 |
if (my $easy = $self->SUPER::simple_convert($from, $to)) |
91
|
3 |
51 |
if ($from =~ /^(.)s$/) |
121
|
3 |
10 |
if ($$options{'abbreviate'}) |
122
|
0 |
3 |
if ($name =~ /(\w+)sec/) |
125
|
0 |
0 |
unless $mabbrev eq $prefix |
129
|
0 |
13 |
if $power != 1 |
135
|
5 |
8 |
if @spread > 1 |