Branch Coverage

blib/lib/DBIx/Class/Helper/TableSample.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
26 25 0 if (my $conf = delete $attrs->{'tablesample'})
30 4 21 unless Ref::Util::XS::is_plain_hashref($conf)
32 0 25 unless Ref::Util::XS::is_plain_hashref($conf)
39 13 12 if (my $type = $conf->{'method'} // $conf->{'type'})
44 6 19 if Ref::Util::XS::is_plain_scalarref($arg)
47 4 21 if (defined $conf->{'repeatable'})
49 2 2 if Ref::Util::XS::is_plain_scalarref($seed)
53 25 0 if (Ref::Util::XS::is_plain_arrayref($from)) { }
71 3 11 unless Ref::Util::XS::is_plain_hashref($options)