Branch Coverage

blib/lib/Device/Neurio.pm
Criterion Covered Total %
branch 1 142 0.7


line true false branch
31 0 1 if ($^O eq 'MSWin32') { }
144 0 0 unless (defined $$self{'debug'})
148 0 0 unless (defined $$self{'key'} and defined $$self{'secret'} and defined $$self{'sensor_id'})
149 0 0 if $$self{'debug'}
204 0 0 if (defined $location_id) { }
220 0 0 if ($response->is_success) { }
226 0 0 if $$self{'debug'}
227 0 0 if $$self{'debug'}
269 0 0 if (defined $last) { }
345 0 0 unless (defined $start and defined $granularity)
346 0 0 if $$self{'debug'}
352 0 0 if ($granularity eq 'minutes' and defined $frequency)
353 0 0 if (eval $frequency % 5 != 0)
354 0 0 if $$self{'debug'}
361 0 0 unless ($granularity =~ /[seconds|minutes|hours|days]/)
362 0 0 if $$self{'debug'}
371 0 0 if (defined $end)
375 0 0 if (defined $frequency)
379 0 0 if (defined $perPage)
383 0 0 if (defined $page)
453 0 0 unless (defined $start and defined $granularity)
454 0 0 if $$self{'debug'}
460 0 0 unless ($granularity =~ /[seconds|minutes|hours|days]/)
461 0 0 if $$self{'debug'}
470 0 0 if (defined $end)
474 0 0 if (defined $frequency)
478 0 0 if (defined $perPage)
482 0 0 if (defined $page)
518 0 0 unless (defined $start and defined $granularity)
519 0 0 if $$self{'debug'}
525 0 0 if ($granularity eq 'minutes' and defined $frequency)
526 0 0 if (eval $frequency % 5 != 0)
527 0 0 if $$self{'debug'}
534 0 0 unless ($granularity ~~ ['minutes', 'hours', 'days', 'months'])
535 0 0 if $$self{'debug'}
544 0 0 if (defined $end)
548 0 0 if (defined $frequency)
552 0 0 if (defined $perPage)
556 0 0 if (defined $page)
604 0 0 unless (defined $location_id)
605 0 0 if (not defined $$self{'location_id'}) { }
606 0 0 if $$self{'debug'}
649 0 0 unless (defined $appliance_id)
650 0 0 if $$self{'debug'}
735 0 0 unless (defined $location_id)
736 0 0 if $$self{'debug'}
742 0 0 unless (defined $appliance_id)
743 0 0 if $$self{'debug'}
749 0 0 unless (defined $start and defined $granularity and defined $end and defined $frequency)
750 0 0 if $$self{'debug'}
756 0 0 unless ($granularity =~ /[seconds|minutes|hours|days]/)
757 0 0 if $$self{'debug'}
766 0 0 if (defined $perPage)
770 0 0 if (defined $page)
836 0 0 unless (defined $location_id)
837 0 0 if $$self{'debug'}
843 0 0 unless (defined $start)
844 0 0 if $$self{'debug'}
851 0 0 if (defined $end) { }
852 0 0 if (defined eval { do { 'DateTime::Format::ISO8601'->parse_datetime($end) } }) { }
864 0 0 if (defined $perPage)
868 0 0 if (defined $page)
930 0 0 unless (defined $appliance_id)
931 0 0 if $$self{'debug'}
937 0 0 unless (defined $start and defined $end)
938 0 0 if $$self{'debug'}
947 0 0 if (defined $perPage)
951 0 0 if (defined $page)
1064 0 0 if ($response->code eq '200') { }
1070 0 0 if ($response->is_success) { }
1073 0 0 if $$self{'debug'}