Branch Coverage

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


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