Branch Coverage

blib/lib/Metabrik/Shell/History.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
46 0 0 unless (defined $self->shell)
53 0 0 if ($shell->term->can('ReadHistory')) { }
54 0 0 unless (-f $history_file)
58 0 0 unless $shell->term->ReadHistory($history_file)
73 0 0 unless (defined $self->shell)
80 0 0 if ($shell->term->can('WriteHistory')) { }
81 0 0 unless $shell->term->WriteHistory($history_file)
95 0 0 unless (defined $self->shell)
102 0 0 if ($shell->term->can('GetHistory')) { }
118 0 0 unless (defined $self->shell)
122 0 0 unless $self->brik_help_run_undef_arg('get_one', $number)
123 0 0 unless ($number =~ /^\d+$/)
131 0 0 if ($shell->term->can('GetHistory')) { }
148 0 0 unless (defined $self->shell)
152 0 0 unless $self->brik_help_run_undef_arg('get_range', $range)
153 0 0 unless ($range =~ /^\d+\.\.\d+$/)
160 0 0 if ($shell->term->can('GetHistory')) { }
191 0 0 unless (defined $self->shell)
195 0 0 unless $self->brik_help_run_undef_arg('execute', $numbers)
199 0 0 if ($numbers =~ /^\d+$/) { }
0 0 elsif ($numbers =~ /^\d+\.\.\d+$/) { }