Condition Coverage

blib/lib/Test/Mojo/Role/Phantom.pm
Criterion Covered Total %
condition 2 5 40.0


or 2 conditions

line l !l condition
42 0 10 $opts->{'name'} || 'all phantom tests successful'

or 3 conditions

line l !l&&r !l&&!r condition
21 0 0 10 $opts->{'phantom'} || do { my(%bind) = ('ok', 'Test::More::ok', 'is', 'Test::More::is', 'diag', 'Test::More::diag', 'note', 'Test::More::note', 'fail', 'Test::More::fail', %{{} unless $opts->{'bind'};}); 'Mojo::Phantom'->new('base', $base, 'bind', \%bind, 'cookies', $t->ua->cookie_jar->all, 'setup', $opts->{'setup'}, 'package', $opts->{'package'} || caller, 'no_exit', $opts->{'no_exit'}, 'note_console', $opts->{'note_console'} // 1) }