Condition Coverage

blib/lib/Mojolicious/Plugin/ContextAuth/DB/Role.pm
Criterion Covered Total %
condition 21 21 100.0


and 3 conditions

line !l l&&!r l&&r condition
124 2 6 2 exists $to_update{'role_name'} and length $to_update{'role_name'} > 255 || length $to_update{'role_name'} < 3

or 3 conditions

line l !l&&r !l&&!r condition
52 1 1 37 length $params{'role_name'} > 255 or length $params{'role_name'} < 3
124 1 2 5 length $to_update{'role_name'} > 255 || length $to_update{'role_name'} < 3
184 4 9 1 $params{'role_id'} // $self->role_id
247 3 11 1 $params{'role_id'} // $self->role_id
299 3 11 1 $params{'role_id'} // $self->role_id
363 5 6 1 $params{'role_id'} // $self->role_id