Branch Coverage

lib/App/Info/Lib/Expat.pm
Criterion Covered Total %
branch 23 42 54.7


line true false branch
94 1 2 if (my $lexpat = $u->first_cat_dir(\@libs, $self->search_lib_dirs)) { }
146 1 1 $_[0]{'libexpat'} ? :
220 0 1 unless $$self{'libexpat'}
223 1 0 unless exists $$self{'version'}
226 0 1 unless ($$self{'version'})
232 0 0 unless $x and defined $y and defined $z
288 0 1 unless $$self{'libexpat'}
291 0 1 unless exists $$self{'version'}
294 0 1 unless $$self{'major'}
341 0 1 unless $$self{'libexpat'}
344 0 1 unless exists $$self{'version'}
347 0 1 unless $$self{'minor'}
394 0 1 unless $$self{'libexpat'}
397 0 1 unless exists $$self{'version'}
400 0 1 unless $$self{'patch'}
476 0 2 unless $$self{'libexpat'}
477 1 1 unless (exists $$self{'inc_dir'})
481 1 0 if (my $dir = $u->first_cat_dir(\@incs, $self->search_inc_dirs)) { }
559 0 1 unless $$self{'libexpat'}
560 1 0 unless (exists $$self{'so_lib_dir'})
565 1 0 if (my $dir = $u->first_cat_dir(\@libs, $self->search_lib_dirs)) { }