Branch Coverage

blib/lib/POSIX/RT/MQ.pm
Criterion Covered Total %
branch 37 52 71.1


line true false branch
21 0 30 unless @_ >= 2 and @_ <= 4
25 11 19 unless defined $args[2]
28 11 19 unless defined $args[3]
29 19 11 if defined $args[3]
31 2 28 unless defined(my $mqdes = &mq_open(@args))
36 0 28 unless $self->{'_saved_attr_'} = $self->attr
44 3 24 if (ref $self) { }
46 0 3 unless @_ == 0
48 2 1 if defined $rc
53 0 24 unless @_ == 1
61 0 43 unless @_ >= 0 and @_ <= 1
64 43 0 defined $attr_packed ? :
70 0 88 unless @_ >= 1 and @_ <= 2
77 0 67 unless @_ == 0
79 65 2 wantarray ? :
85 0 2 unless @_ <= 1
87 0 2 wantarray ? :
93 0 5 unless @_ <= 1
100 0 6 unless @_ <= 1
102 0 6 unless my $a = $self->attr
103 2 4 $a->{'mq_flags'} & 2048 ? :
104 3 3 if (@_)
106 1 2 if ($_[0]) { }
109 0 3 unless $self->attr($a)
124 28 0 if defined $self->{'mqdes'}
134 53 39 defined $as_hash->{$_} ? :