Branch Coverage

blib/lib/Parse/Eyapp/Options.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
120 54 0 if defined $$self{'OPTIONS'}{'input'}
122 0 0 unless open IN, "<$filename"
140 0 270 unless @_ == 2
143 0 270 unless exists $known_options{$key}
146 54 216 if (exists $known_options{$key}{lc $value}) { }
0 216 elsif (not exists $known_options{$key}{''}) { }
147 54 0 if defined $value
154 54 216 if exists $actions{$key}
163 0 1192 unless @_ == 1
166 0 1192 unless exists $known_options{$key}
185 0 54 if ref $class
202 0 108 unless @_ % 2 == 0
217 1192 0 if @_ == 1
220 0 0 if @_ == 2