Branch Coverage

File:blib/lib/Genealogy/Wills.pm
Coverage:100.0%

line%coveragebranch
354100TFif (scalar @_ == 1 and not ref $_[0]) { }
364100TFif (not defined $class) { }
100TFelsif (&blessed($class)) { }
376100TFif (defined $$params{"config_file"} and not -r $$params{"config_file"})
386100TFif (defined $$params{"logger"})
389100TFunless &blessed($l) and $l->can("info") and $l->can("error")
399100TFunless (-d $$params{"directory"} and -r _)
648100TFunless &blessed($self)
649100TFunless @_
662100TFunless (length($$params{"last"} // ""))
671100TFunless defined $$self{"wills"}
673100TFif (wantarray)
680100TFif (defined(my $will = $$self{"wills"}->fetchrow_hashref($params)))