Condition Coverage

blib/lib/YAML/Types.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
102 2 2 0 $YAML::LoadBlessed and $loader->load_code
114 0 2 0 $YAML::LoadBlessed and $loader->load_code
173 2 1 0 $class and $YAML::LoadBlessed
178 3 0 0 $class and $YAML::LoadBlessed
236 7 1 1 length $class and $YAML::LoadBlessed

or 2 conditions

line l !l condition
234 9 0 { => sub { qr/$_[0]/; } , i => sub { qr/$_[0]/i; } , ix => sub { qr/$_[0]/xi; } , m => sub { qr/$_[0]/m; } , mi => sub { qr/$_[0]/im; } , mix => sub { qr/$_[0]/mix; } , ms => sub { qr/$_[0]/ms; } , msi => sub { qr/$_[0]/ism; } , msix => sub { qr/$_[0]/imsx; } , msx => sub { qr/$_[0]/msx; } , mx => sub { qr/$_[0]/mx; } , s => sub { qr/$_[0]/s; } , si => sub { qr/$_[0]/is; } , six => sub { qr/$_[0]/six; } , sx => sub { qr/$_[0]/sx; } , x => sub { qr/$_[0]/x; } }->{$flags} || sub { qr/$_[0]/; }

or 3 conditions

line l !l&&r !l&&!r condition
19 1 25 0 ${$class . '::ClassTag';} || "!perl/$kind$class"