Condition Coverage

blib/lib/Modern/OpenAPI/Generator.pm
Criterion Covered Total %
condition 23 40 57.5


and 3 conditions

line !l l&&!r l&&r condition
58 4 0 0 $self->{'merge'} and -e $copy_spec
82 0 0 1 $self->{'server'} and $self->{'local_test'}
115 4 0 0 !$self->{'server'} && $self->{'ui'}

or 2 conditions

line l !l condition
40 4 0 $arg{'output_dir'} // ""
1 3 $arg{'client'} // 1
1 3 $arg{'server'} // 1
1 3 $arg{'ui'} // 1
0 4 $arg{'sync'} // 1
0 4 $arg{'async'} // 1
0 4 $arg{'skeleton'} // 0
4 0 $arg{'force'} // 0
0 4 $arg{'merge'} // 0
3 1 $arg{'signatures'} // []
2 2 $arg{'local_test'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
40 4 0 0 $arg{'spec_path'} // croak("spec_path required")
4 0 0 $arg{'name'} // croak("name required")
82 3 1 0 $self->{'client'} or $self->{'server'} and $self->{'local_test'}