Branch Coverage

blib/lib/App/Info/Lib/OSSPUUID.pm
Criterion Covered Total %
branch 42 74 56.7


line true false branch
100 1 1 if (my $cfg = $u->first_cat_exe(\@exes, @paths)) { }
120 1 1 if (exists $$self{'search_uuid_names'}) { }
121 1 0 unless ref $$self{'search_uuid_names'} eq 'ARRAY'
172 1 1 $_[0]{'uuid_config'} ? :
250 0 1 unless $$self{'uuid_config'}
253 1 0 unless $$self{'--version'}
299 0 1 unless $$self{'uuid_config'}
302 0 1 unless $$self{'--version'}
305 0 1 unless ($$self{'version'})
311 0 0 unless $x and defined $y and defined $z
369 0 1 unless $$self{'uuid_config'}
371 0 1 unless exists $$self{'--version'}
373 0 1 unless $$self{'major'}
419 0 1 unless $$self{'uuid_config'}
421 0 1 unless exists $$self{'--version'}
423 0 1 unless defined $$self{'minor'}
469 0 1 unless $$self{'uuid_config'}
471 0 1 unless exists $$self{'--version'}
473 0 1 unless defined $$self{'patch'}
524 1 1 unless ($$self{$key})
525 0 1 unless my $bin = $self->bin_dir
526 1 0 if (my $exe = $u->first_cat_exe([$self->search_uuid_names], $bin)) { }
586 0 2 unless $$self{'uuid_config'}
587 1 1 unless (exists $$self{'bin_dir'})
588 1 0 if (my $dir = &$get_data($self, '--bindir')) { }
634 0 1 unless $$self{'uuid_config'}
635 1 0 unless (exists $$self{'inc_dir'})
636 1 0 if (my $dir = &$get_data($self, '--includedir')) { }
682 0 2 unless $$self{'uuid_config'}
683 1 1 unless (exists $$self{'lib_dir'})
684 1 0 if (my $dir = &$get_data($self, '--libdir')) { }
762 0 1 unless $$self{'uuid_config'}
763 1 0 unless (exists $$self{'cflags'})
764 1 0 if (my $conf = &$get_data($self, '--cflags')) { }
808 0 1 unless $$self{'uuid_config'}
809 1 0 unless (exists $$self{'ldflags'})
810 1 0 if (my $conf = &$get_data($self, '--ldflags')) { }