blib/lib/Git/Deploy/Say.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 12 | 25.0 |
line | true | false | branch |
---|---|---|---|
12 | 1 | 0 | unless (not $ENV{'NO_COLOR'} and -t STDOUT and eval 'use Term::ANSIColor qw(color colored); 1') |
13 | 0 | 1 | unless eval qq[\n sub color { return "" }\n sub colored { return \$_[1] }\n 1\n ] |
57 | 0 | 1 | $ENV{'WHITE_BACKGROUND'} ? : |
111 | 0 | 0 | if $SKIP_LOGING_DUE_TO_DEEP_RECURSION_WITH_GIT_DEPLOY_DEBUG |
119 | 0 | 0 | if (my $fh = _get_log_handle()) |
128 | 0 | 0 | unless eval { do { print STDERR colored($color, $msg); 1 } } |