Branch Coverage

blib/lib/Kelp/Module/ValidateTiny.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
35 3 1 if (%args and exists $args{'subs'})
41 0 4 if @import and $import[0] eq ':all'
48 4 0 if $class eq 'Kelp'
51 1 3 if (%args and exists $args{'into'})
62 0 5 unless Class::Load::is_class_loaded($class)
98 13 1 if $result->success or not %args && exists $args{'on_error'}
107 1 0 if (exists $args{'data'})
135 0 1 unless blessed $obj eq 'Validate::Tiny'
148 0 1 unless blessed $self eq 'Validate::Tiny::PlackResponse'
159 1 0 if exists $_response{$key}
161 1 0 if $self->SUPER::can('DESTROY')