Branch Coverage

lib/App/Info/RDBMS/PostgreSQL.pm
Criterion Covered Total %
branch 39 72 54.1


line true false branch
138 1 2 if (my $cfg = $u->first_cat_exe(\@exes, @paths)) { }
156 2 40 if (exists $$self{$attr}) { }
157 2 0 unless ref $$self{$attr} eq 'ARRAY'
207 1 1 $_[0]{'pg_config'} ? :
286 0 1 unless $$self{'pg_config'}
289 1 0 unless $$self{'--version'}
335 0 1 unless $$self{'pg_config'}
338 0 1 unless $$self{'--version'}
341 0 1 unless ($$self{'version'})
347 0 0 unless $x and defined $y and defined $z
402 0 1 unless $$self{'pg_config'}
404 0 1 unless exists $$self{'--version'}
406 0 1 unless $$self{'major'}
450 0 1 unless $$self{'pg_config'}
452 0 1 unless exists $$self{'--version'}
454 0 1 unless defined $$self{'minor'}
498 0 1 unless $$self{'pg_config'}
500 0 1 unless exists $$self{'--version'}
502 0 1 unless defined $$self{'patch'}
620 0 3 unless $$self{'pg_config'}
621 1 2 unless (exists $$self{'bin_dir'})
622 1 0 if (my $dir = &$get_data($self, '--bindir')) { }
666 0 1 unless $$self{'pg_config'}
667 1 0 unless (exists $$self{'inc_dir'})
668 1 0 if (my $dir = &$get_data($self, '--includedir')) { }
712 0 1 unless $$self{'pg_config'}
713 1 0 unless (exists $$self{'lib_dir'})
714 1 0 if (my $dir = &$get_data($self, '--libdir')) { }
760 0 1 unless $$self{'pg_config'}
761 1 0 unless (exists $$self{'so_lib_dir'})
762 1 0 if (my $dir = &$get_data($self, '--pkglibdir')) { }
808 0 1 unless $$self{'pg_config'}
809 1 0 unless (exists $$self{'configure'})
810 0 1 if (my $conf = &$get_data($self, '--configure')) { }
911 0 3 exists $ENV{'POSTGRES_HOME'} ? :
0 3 exists $ENV{'POSTGRES_LIB'} ? :