line |
true |
false |
branch |
125
|
1 |
239 |
if ($self->debug($self->debug // $opts->{'debug'})) |
127
|
1 |
0 |
if (exists $INC{'Test/More.pm'}) { } |
147
|
39 |
53 |
unless -d $repo |
154
|
5 |
48 |
unless $file->exists |
163
|
48 |
0 |
if (ref $v1 eq 'HASH') { } |
165
|
0 |
192 |
if ($k1 eq '_') { } |
191
|
3 |
0 |
unless $file->exists |
205
|
0 |
0 |
if (ref $v1 eq 'HASH') { } |
207
|
0 |
0 |
if ($k1 eq '_') { } |
233
|
0 |
0 |
unless -f $file |
251
|
0 |
0 |
unless -f $file |
269
|
0 |
0 |
unless -f $file |
287
|
0 |
158 |
unless -f $file |
307
|
49 |
145 |
unless eval "require $class;" |
317
|
0 |
0 |
unless eval "require $class;" |
333
|
0 |
0 |
unless -d $repo |
337
|
0 |
0 |
unless my $str = $self->config->{'user.alias'}{$alias} |
342
|
0 |
0 |
if exists $opts->{'debug'} |
343
|
0 |
0 |
if exists $opts->{'no_pager'} |
344
|
0 |
0 |
if exists $opts->{'no_color'} |
345
|
0 |
0 |
if exists $opts->{'user_repo'} |
362
|
3 |
1 |
if $self->opts->{'user_repo'} |
367
|
0 |
3 |
if (-d (my $repo = $try->child($name))) { } |
|
0 |
3 |
elsif (-f $repo) { } |
373
|
1 |
2 |
if $try->is_rootdir |
384
|
8 |
88 |
if $self->opts->{'no_color'} |
388
|
88 |
0 |
if wantarray |
399
|
0 |
0 |
$key ? : |
|
0 |
0 |
defined $val2 ? : |
430
|
0 |
0 |
if ($dt =~ /^(\d?\d):(\d{2})$/) { } |
|
0 |
0 |
elsif ($dt =~ /^(\d{2}):(\d{2}):(\d{2})$/) { } |
|
0 |
0 |
elsif ($dt =~ /^yesterday (\d?\d):(\d{2})$/) { } |
|
0 |
0 |
elsif ($dt =~ /^yesterday (\d?\d):(\d{2}):(\d{2})$/) { } |
|
0 |
0 |
elsif ($dt =~ /^(\d{4})-(\d{2})-(\d{2})$/) { } |
|
0 |
0 |
elsif ($dt =~ /^(\d{4})-(\d{2})-(\d{2}) (\d?\d):(\d{2})$/) { } |
478
|
0 |
0 |
if ($new_dt =~ /^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/) |
520
|
0 |
44 |
unless @_ >= 2 |
524
|
0 |
44 |
if eval {
do {
$msg->isa('Bif::Error')
}
} |
534
|
0 |
108 |
unless @_ |
543
|
1 |
0 |
if $pager or $self->no_pager |
545
|
0 |
0 |
if ($lines) |
547
|
0 |
0 |
if ($lines <= $term_height) |
554
|
0 |
0 |
unless MSWin32() |
566
|
0 |
0 |
unless $pager |
587
|
0 |
2 |
if @_ |
589
|
2 |
0 |
unless exists $opts->{'uuid'} and $opts->{'uuid'} |
592
|
0 |
0 |
unless @list |
597
|
0 |
0 |
if @list > 1 |
610
|
0 |
0 |
unless @matches |
613
|
0 |
0 |
if 1 == @matches |
625
|
0 |
0 |
unless $hub |
643
|
0 |
1 |
if ($header) |
654
|
1 |
0 |
unless $indent |
682
|
0 |
0 |
if $key =~ /^_/ |
683
|
0 |
0 |
unless defined $args{'opts'}{$key} |
688
|
0 |
0 |
if (IO::Prompt::Tiny::_is_interactive()) |
697
|
0 |
0 |
if ($args{'abort_on_empty'}) |
699
|
0 |
0 |
if $args{'val'} =~ /^[\s\n]*$/s |
711
|
0 |
0 |
if ($pager or $self->opts->{'debug'}) |
718
|
0 |
0 |
$msg =~ /\n/ ? : |
727
|
0 |
0 |
unless $token =~ /^c(\d+)$/ |
740
|
0 |
0 |
unless $data |
743
|
0 |
0 |
if ($first_change_id) |
753
|
0 |
0 |
unless $t |
771
|
0 |
0 |
if ($token =~ /^\d+$/) |
785
|
0 |
0 |
if $data and $kind and $kind ne $data->{'kind'} |
787
|
0 |
0 |
if $data |
791
|
0 |
0 |
if $@ and $@->isa('Bif::Error::AmbiguousPath') |
792
|
0 |
0 |
if $pinfo |
820
|
0 |
50 |
if ($args->{'save'}) |
827
|
0 |
0 |
if ($ref) |
856
|
0 |
50 |
if $ref and $args->{'save'} |
858
|
50 |
51 |
if ($ref) |
913
|
0 |
101 |
if ($args->{'restore'} and my $saved = $self->work_buffer) |
985
|
1 |
50 |
unless $vals{'author'} |
1017
|
50 |
150 |
unless ref $x eq 'HASH' and exists $x->{'_delta'} and $x->{'_delta'} =~ /^new_/ |
1032
|
50 |
0 |
if $uuid eq $sha1 |
1047
|
0 |
50 |
unless $iid |
1066
|
50 |
0 |
if $ok |
1083
|
0 |
0 |
unless $keep_invalid |
1090
|
0 |
240 |
if $self->{'_bif_log_any_adapter'} |
1104
|
1 |
156 |
if @_ |
1118
|
5 |
3 |
if $self->{'_bif_ok_msg'} and not ref $self->{'_bif_ok_msg'} |