Branch Coverage

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


line true false branch
29 0 1 if ($^O eq 'MSWin32') { }
140 0 0 unless (defined $$self{'debug'})
144 0 0 unless (defined $$self{'key'} and defined $$self{'secret'} and defined $$self{'sensor_id'})
145 0 0 if $$self{'debug'}
199 0 0 if (defined $location_id) { }
215 0 0 if ($response->is_success) { }
221 0 0 if $$self{'debug'}
222 0 0 if $$self{'debug'}
264 0 0 if (defined $last) { }
340 0 0 unless (defined $start and defined $granularity)
341 0 0 if $$self{'debug'}
347 0 0 if ($granularity eq 'minutes' and defined $frequency)
348 0 0 if (eval $frequency % 5 != 0)
349 0 0 if $$self{'debug'}
356 0 0 unless ($granularity =~ /[seconds|minutes|hours|days]/)
357 0 0 if $$self{'debug'}
366 0 0 if (defined $end)
370 0 0 if (defined $frequency)
374 0 0 if (defined $perPage)
378 0 0 if (defined $page)
448 0 0 unless (defined $start and defined $granularity)
449 0 0 if $$self{'debug'}
455 0 0 unless ($granularity =~ /[seconds|minutes|hours|days]/)
456 0 0 if $$self{'debug'}
465 0 0 if (defined $end)
469 0 0 if (defined $frequency)
473 0 0 if (defined $perPage)
477 0 0 if (defined $page)
513 0 0 unless (defined $start and defined $granularity)
514 0 0 if $$self{'debug'}
520 0 0 if ($granularity eq 'minutes' and defined $frequency)
521 0 0 if (eval $frequency % 5 != 0)
522 0 0 if $$self{'debug'}
529 0 0 unless ($granularity ~~ ['minutes', 'hours', 'days', 'months'])
530 0 0 if $$self{'debug'}
539 0 0 if (defined $end)
543 0 0 if (defined $frequency)
547 0 0 if (defined $perPage)
551 0 0 if (defined $page)
599 0 0 unless (defined $location_id)
600 0 0 if (not defined $$self{'location_id'}) { }
601 0 0 if $$self{'debug'}
644 0 0 unless (defined $appliance_id)
645 0 0 if $$self{'debug'}
730 0 0 unless (defined $location_id)
731 0 0 if $$self{'debug'}
737 0 0 unless (defined $appliance_id)
738 0 0 if $$self{'debug'}
744 0 0 unless (defined $start and defined $granularity and defined $end and defined $frequency)
745 0 0 if $$self{'debug'}
751 0 0 unless ($granularity =~ /[seconds|minutes|hours|days]/)
752 0 0 if $$self{'debug'}
761 0 0 if (defined $perPage)
765 0 0 if (defined $page)
831 0 0 unless (defined $location_id)
832 0 0 if $$self{'debug'}
838 0 0 unless (defined $start)
839 0 0 if $$self{'debug'}
846 0 0 if (defined $end) { }
847 0 0 if (defined eval { do { 'DateTime::Format::ISO8601'->parse_datetime($end) } }) { }
859 0 0 if (defined $perPage)
863 0 0 if (defined $page)
925 0 0 unless (defined $appliance_id)
926 0 0 if $$self{'debug'}
932 0 0 unless (defined $start and defined $end)
933 0 0 if $$self{'debug'}
942 0 0 if (defined $perPage)
946 0 0 if (defined $page)
1037 0 0 if ($response->code eq '200') { }
1043 0 0 if ($response->is_success) { }
1046 0 0 if $$self{'debug'}