Condition Coverage

blib/lib/SignalWire/Agents/SWML/Service.pm
Criterion Covered Total %
condition 20 36 55.5


and 3 conditions

line !l l&&!r l&&r condition
90 0 2 0 $schema and $schema->has_verb($method)
104 0 0 4 defined $read and $read == $len
127 0 0 2 defined $user and defined $pass
128 0 1 1 _timing_safe_compare($user, $self->basic_auth_user) && _timing_safe_compare($pass, $self->basic_auth_password)

or 2 conditions

line l !l condition
66 3 0 shift() // "main"
69 1 0 shift() // 0
73 2 0 shift() // {}
123 2 1 $env->{'HTTP_AUTHORIZATION'} // ""
156 0 0 $body // ""
165 6 0 $env->{'PATH_INFO'} // "/"

or 3 conditions

line l !l&&r !l&&!r condition
52 5 1 0 $_schema //= "SignalWire::Agents::SWML::Schema"->instance
168 1 1 4 $path eq "/health" or $path eq "/ready"
184 3 0 1 $is_swml_route or $is_swaig_route
3 0 1 $is_swml_route or $is_swaig_route or $is_post_prompt