Condition Coverage

blib/lib/StateML/Machine.pm
Criterion Covered Total %
condition 3 43 6.9


and 3 conditions

line !l l&&!r l&&r condition
291 3 1 0 $type and not $obj->isa($type)
445 0 0 0 @_ && ref $_[-1] eq 'HASH'
449 0 0 0 $types and @$types
466 0 0 0 !@specs && @not_specs || grep(($_ =~ /$type_re/), @specs) and not grep(($_ =~ /$type_re/), @not_specs)
491 0 0 0 @_ && ref $_[-1] eq 'HASH'
509 0 0 0 exists $arcs{'#ALL'} and not $$options{'raw'}
555 0 0 0 @_ && ref $_[-1] eq 'HASH'
561 0 0 0 uc $arc->event_id eq $uc_event_id and uc $arc->from eq '#ALL'
600 0 0 0 @_ && ref $_[-1] eq 'HASH'

or 2 conditions

line l !l condition
94 0 0 $$self{'AUTOGENERATED_MESSAGE'} || 'AUTOGENERATED, DO NOT EDIT!!'
506 0 0 $arc->guard || ''

or 3 conditions

line l !l&&r !l&&!r condition
363 0 0 10 exists $$self{'OBJECTS'}{$id} or $id eq $$self{'ID'}
466 0 0 0 '#ALL' =~ /$type_re/ or '#ANY' =~ /$type_re/
0 0 0 !@specs && @not_specs || grep(($_ =~ /$type_re/), @specs)
0 0 0 '#ALL' =~ /$type_re/ or '#ANY' =~ /$type_re/ or !@specs && @not_specs || grep(($_ =~ /$type_re/), @specs) and not grep(($_ =~ /$type_re/), @not_specs)