Condition Coverage

blib/lib/POE/Component/Client/opentick/Constants.pm
Criterion Covered Total %
condition 11 18 61.1


and 3 conditions

line !l l&&!r l&&r condition
72 6 0 0 defined $ENV{'OPENTICK_LIB'} and length $ENV{'OPENTICK_LIB'}
6 0 0 defined $ENV{'OPENTICK_LIB'} and length $ENV{'OPENTICK_LIB'} and -d $ENV{'OPENTICK_LIB'}
756 1 6 0 $cmd_status =~ /^\d+$/ && ($cmd_status == $$OTConstants{'OT_STATUS_ERROR'} || $cmd_status == $$OTConstants{'OT_STATUS_OK'})
768 1 6 0 $msg_type =~ /^\d+$/ && ($msg_type == $$OTConstants{'OT_MES_REQUEST'} || $msg_type == $$OTConstants{'OT_MES_RESPONSE'})
780 2 1 2 defined $data_type && $data_type =~ /^\d+$/ && $data_type == $$OTConstants{'OT_DATATYPE_EOD'}

or 3 conditions

line l !l&&r !l&&!r condition
648 16 2 0 $$OTCommands{$_[0]} || $$OTCommands{'0'}