Branch Coverage

blib/lib/Template/Preprocessor/TTML/CmdLineProc.pm
Criterion Covered Total %
branch 28 32 87.5


line true false branch
108 4 45 if (exists $self->_get_run_mode_opts_map->{$arg})
118 1 20 if ($arg_orig eq '--')
128 17 1 if (exists $map->{$option})
131 10 7 if (length $arg eq length $option) { }
133 0 10 if ($self->_no_args_left)
178 27 0 if (exists $map->{$first_char})
181 14 13 if (length $arg > 1) { }
189 0 13 if ($self->_no_args_left)
227 0 19 unless ($def =~ /^([^=]+)=(.*)$/)
238 1 24 if (not $self->_no_args_left) { }
251 10 26 if (@{$self->argv;} == 1)
254 6 4 if (exists $self->_get_run_mode_opts_map->{$opt})
270 1 36 if ($self->_no_args_left)
275 30 6 unless ($self->_handle_exclusive_run_mode_opt)
279 50 24 if ($arg =~ /^-/) { }
281 21 29 if ($arg =~ /^--/) { }