| line |
true |
false |
branch |
|
125
|
1 |
198 |
if ($self->debug($self->debug // $opts->{'debug'})) |
|
127
|
1 |
0 |
if (exists $INC{'Test/More.pm'}) { } |
|
147
|
34 |
44 |
unless -d $repo |
|
154
|
5 |
39 |
unless $file->exists |
|
163
|
39 |
0 |
if (ref $v1 eq 'HASH') { } |
|
165
|
0 |
156 |
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 |
131 |
unless -f $file |
|
307
|
0 |
0 |
unless eval "require $class;" |
|
316
|
40 |
118 |
unless eval "require $class;" |
|
332
|
0 |
0 |
unless -d $repo |
|
336
|
0 |
0 |
unless my $str = $self->config->{'user.alias'}{$alias} |
|
341
|
0 |
0 |
if exists $opts->{'debug'} |
|
342
|
0 |
0 |
if exists $opts->{'no_pager'} |
|
343
|
0 |
0 |
if exists $opts->{'no_color'} |
|
344
|
0 |
0 |
if exists $opts->{'user_repo'} |
|
361
|
3 |
1 |
if $self->opts->{'user_repo'} |
|
366
|
0 |
3 |
if (-d (my $repo = $try->child($name))) { } |
|
|
0 |
3 |
elsif (-f $repo) { } |
|
372
|
1 |
2 |
if $try->is_rootdir |
|
383
|
8 |
74 |
if $self->opts->{'no_color'} |
|
387
|
74 |
0 |
if wantarray |
|
398
|
0 |
0 |
$key ? : |
|
|
0 |
0 |
defined $val2 ? : |
|
429
|
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})$/) { } |
|
477
|
0 |
0 |
if ($new_dt =~ /^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/) |
|
519
|
0 |
39 |
unless @_ >= 2 |
|
523
|
0 |
39 |
if eval {
do {
$msg->isa('Bif::Error')
}
} |
|
533
|
0 |
90 |
unless @_ |
|
542
|
1 |
0 |
if $pager or $self->no_pager |
|
544
|
0 |
0 |
if ($lines) |
|
546
|
0 |
0 |
if ($lines <= $term_height) |
|
553
|
0 |
0 |
unless MSWin32() |
|
565
|
0 |
0 |
unless $pager |
|
586
|
0 |
2 |
if @_ |
|
588
|
2 |
0 |
unless exists $opts->{'uuid'} and $opts->{'uuid'} |
|
591
|
0 |
0 |
unless @list |
|
596
|
0 |
0 |
if @list > 1 |
|
609
|
0 |
0 |
unless @matches |
|
612
|
0 |
0 |
if 1 == @matches |
|
624
|
0 |
0 |
unless $hub |
|
642
|
0 |
1 |
if ($header) |
|
653
|
1 |
0 |
unless $indent |
|
681
|
0 |
0 |
if $key =~ /^_/ |
|
682
|
0 |
0 |
unless defined $args{'opts'}{$key} |
|
687
|
0 |
0 |
if (IO::Prompt::Tiny::_is_interactive()) |
|
696
|
0 |
0 |
if ($args{'abort_on_empty'}) |
|
698
|
0 |
0 |
if $args{'val'} =~ /^[\s\n]*$/s |
|
710
|
0 |
0 |
if ($pager or $self->opts->{'debug'}) |
|
717
|
0 |
0 |
$msg =~ /\n/ ? : |
|
726
|
0 |
0 |
unless $token =~ /^c(\d+)$/ |
|
739
|
0 |
0 |
unless $data |
|
742
|
0 |
0 |
if ($first_change_id) |
|
752
|
0 |
0 |
unless $t |
|
770
|
0 |
0 |
if ($token =~ /^\d+$/) |
|
787
|
0 |
0 |
if $data and $kind and $kind ne $data->{'kind'} |
|
789
|
0 |
0 |
if $data |
|
793
|
0 |
0 |
if $@ and $@->isa('Bif::Error::AmbiguousPath') |
|
794
|
0 |
0 |
if $pinfo |
|
825
|
0 |
41 |
if ($args->{'save'}) |
|
832
|
0 |
0 |
if ($ref) |
|
861
|
0 |
41 |
if $ref and $args->{'save'} |
|
863
|
41 |
42 |
if ($ref) |
|
918
|
0 |
83 |
if ($args->{'restore'} and my $saved = $self->work_buffer) |
|
990
|
1 |
41 |
unless $vals{'author'} |
|
1022
|
41 |
123 |
unless ref $x eq 'HASH' and exists $x->{'_delta'} and $x->{'_delta'} =~ /^new_/ |
|
1037
|
41 |
0 |
if $uuid eq $sha1 |
|
1052
|
0 |
41 |
unless $iid |
|
1071
|
41 |
0 |
if $ok |
|
1088
|
0 |
0 |
unless $keep_invalid |
|
1095
|
0 |
199 |
if $self->{'_bif_log_any_adapter'} |
|
1109
|
1 |
133 |
if @_ |
|
1123
|
5 |
3 |
if $self->{'_bif_ok_msg'} and not ref $self->{'_bif_ok_msg'} |