line |
true |
false |
branch |
17
|
0 |
3 |
unless print @message
|
23
|
0 |
0 |
unless defined $color
|
24
|
0 |
0 |
if '' eq $color
|
31
|
0 |
0 |
chomp $string ? :
|
37
|
0 |
1 |
if $^O =~ /MSWin32/msx
|
38
|
0 |
1 |
unless eval {
do {
require Term::ANSIColor;
require Perl::Critic::Utils::Constants;
'Term::ANSIColor'->VERSION($Perl::Critic::Utils::Constants::_MODULE_VERSION_TERM_ANSICOLOR);
1
}
}
|
64
|
0 |
1 |
if (@violations > 0)
|
69
|
0 |
1 |
if (@violations > 0)
|
81
|
1 |
0 |
unless ($color)
|
105
|
2 |
1 |
unless -d $path
|
119
|
11 |
0 |
unless $plugin->isa('Dist::Zilla::Plugin::Test::Perl::Critic')
|
120
|
0 |
0 |
if $plugin->critic_config
|