line |
true |
false |
branch |
486
|
0 |
2 |
unless $obj->does('Device::WebIO::Device::TempSensor') |
497
|
0 |
2 |
unless $obj->does('Device::WebIO::Device::TempSensor') |
508
|
0 |
2 |
unless $obj->does('Device::WebIO::Device::TempSensor') |
552
|
10 |
74 |
if ($pin_count <= $pin) |
567
|
19 |
65 |
if ($type eq 'DigitalInput' and $obj->does('Device::WebIO::Device::DigitalInput')) { } |
|
3 |
62 |
elsif ($type eq 'DigitalInputCallback' and $obj->does('Device::WebIO::Device::DigitalInputCallback')) { } |
|
13 |
49 |
elsif ($type eq 'DigitalOutput' and $obj->does('Device::WebIO::Device::DigitalOutput')) { } |
|
10 |
39 |
elsif ($type eq 'ADC' and $obj->does('Device::WebIO::Device::ADC')) { } |
|
5 |
34 |
elsif ($type eq 'PWM' and $obj->does('Device::WebIO::Device::PWM')) { } |
|
16 |
18 |
elsif ($type eq 'VideoOutput' and $obj->does('Device::WebIO::Device::VideoOutput')) { } |
|
11 |
7 |
elsif ($type eq 'StillImageOutput' and $obj->does('Device::WebIO::Device::StillImageOutput')) { } |
|
4 |
3 |
elsif ($type eq 'I2CProvider' and $obj->does('Device::WebIO::Device::I2CProvider')) { } |
|
3 |
0 |
elsif ($type eq 'SPI' and $obj->does('Device::WebIO::Device::SPI')) { } |
614
|
99 |
4 |
if ($obj->does($full_type)) |
619
|
4 |
99 |
unless ($does) |