Branch Coverage

blib/lib/OpenERP/OOM/DynamicUtils.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
56 0 0 if 'Class::Inspector'->loaded($class)
59 0 0 unless $file
61 0 0 unless (eval { do { local $_; require $file } })
63 0 0 if $class =~ /$invalid_class/
65 0 0 if ($self->can('throw_exception')) { }
81 0 0 if $type =~ /Str/i and defined $value
82 0 0 if $type =~ /Str/i
83 0 0 if $type =~ qr/DateTime/i and $value and ref $value and $value->can('ymd')