Branch Coverage

blib/lib/SyForm/FieldRole/Process.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
19 13 25 exists $args{$self->name} ? :
26 20 18 $self->has_value_by_args(%args) ? :
0 38 scalar @roles ? :
70 0 13 if (defined $viewfield_args{'roles'})
78 0 13 defined $args{'roles'} ? :
81 0 0 unless $viewfield_class->does($trait)
100 10 3 $view->has_results && $view->results->values->has_value($self->name) ? :
10 3 $view->has_results && $view->results->has_result($self->name) ? :
110 20 18 $values->has_value($self->name) ? :
117 20 18 $self->has_result_by_values($values) ? :
0 38 scalar @roles ? :
144 0 29 scalar @roles ? :