Branch Coverage

blib/lib/Device/WallyHome/Role/Creator.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
38 0 10 unless (eval { do { (my $file = $class) =~ s[::][/]g; require $file . '.pm'; $class->import; 1 } })
43 2 8 if ($self->does($restApiRole) and $class->does($restApiRole))
55 10 0 if ($self->_testModeIdentifier)
66 0 10 unless defined $obj
96 2 1 $placeData->{$attribute} ? :
126 0 3 $sensorData->{$attribute} ? :