Branch Coverage

lib/LEOCHARRE/Test.pm
Criterion Covered Total %
branch 1 26 3.8


line true false branch
30 0 1 if -t STDIN
37 0 0 if ($host eq 'localhost' and mysqld_exists())
67 0 0 if ($err =~ /Unknown MySQL server host|Can\'t connect to local MySQL server/i) { }
0 0 elsif ($err =~ /Access denied for user/i) { }
78 0 0 $result ? :
84 0 0 $_[0] ? :
0 0 unless my $path = $_[0] ? $_[0] : $LEOCHARRE::Test::ABS_MYSQLD
85 0 0 -e $path ? :
89 0 0 $_[0] ? :
0 0 unless my $path = $_[0] ? $_[0] : $LEOCHARRE::Test::ABS_MYSQLD
91 0 0 unless mysqld_exists($path)
93 0 0 if $r =~ /stopped/i
94 0 0 if $r =~ /running/i