blib/lib/DAIA/Availability.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 46 | 2.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
67 | 0 | 0 | 0 | @_ == 1 and UNIVERSAL::isa($_[0], 'DAIA::Availability') |
222 | 0 | 0 | 0 | exists $d{'years'} and $d{'years'} > 0 |
223 | 0 | 0 | 0 | exists $d{'months'} and $d{'months'} > 0 |
224 | 0 | 0 | 0 | exists $d{'days'} and $d{'days'} > 0 |
226 | 0 | 0 | 0 | exists $d{'hours'} and $d{'hours'} > 0 |
227 | 0 | 0 | 0 | exists $d{'minutes'} and $d{'minutes'} > 0 |
228 | 0 | 0 | 0 | exists $d{'seconds'} and $d{'seconds'} > 0 |
line | l | !l | condition |
---|---|---|---|
188 | 0 | 0 | $year || 0 |
0 | 0 | $mounth || 0 | |
0 | 0 | $day || 0 | |
0 | 0 | $hour || 0 | |
0 | 0 | $min || 0 | |
0 | 0 | $sec || 0 | |
218 | 0 | 0 | $d{'seconds'} || 0 |
250 | 3 | 0 | eval { do { 'DateTime'->new(%p) } } || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
67 | 0 | 0 | 0 | $SERVICES{$_[0]} or is_uri($_[0]) |
120 | 0 | 0 | 0 | $SERVICES{$$self{'service'}} || $$self{'service'} |
217 | 0 | 0 | 0 | exists $d{'seconds'} or exists $d{'nanoseconds'} |