Condition Coverage

blib/lib/Linux/Statm/Tiny.pm.mite.pm
Criterion Covered Total %
condition 27 204 13.2


and 3 conditions

line !l l&&!r l&&r condition
16 0 0 0 require Carp and Carp::croak("Type check failed in constructor: pid should be Int")
0 0 0 defined $tmp and not ref $tmp
19 0 0 0 defined $_ and not ref $_
3 0 0 @unknown and require Carp
84 0 0 0 require Carp && Carp::croak("data is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
91 0 0 0 require Carp && Carp::croak("data_bytes is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
95 0 0 0 require Carp && Carp::croak("data_kb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
99 0 0 0 require Carp && Carp::croak("data_mb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
103 0 0 0 require Carp && Carp::croak("dt is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
110 0 0 0 require Carp && Carp::croak("dt_bytes is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
114 0 0 0 require Carp && Carp::croak("dt_kb is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
118 0 0 0 require Carp && Carp::croak("dt_mb is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
122 0 0 0 require Carp && Carp::croak("lib is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
129 0 0 0 require Carp && Carp::croak("lib_bytes is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
133 0 0 0 require Carp && Carp::croak("lib_kb is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
137 0 0 0 require Carp && Carp::croak("lib_mb is a read-only attribute of @{[ref $_[0]];}")
0 0 0 defined $tmp and not ref $tmp
140 0 0 0 require Carp && Carp::croak("pid is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
144 0 0 0 require Carp && Carp::croak("resident is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
153 0 0 0 require Carp && Carp::croak("resident_bytes is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
160 0 0 0 require Carp && Carp::croak("resident_kb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
167 0 0 0 require Carp && Carp::croak("resident_mb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
174 0 0 0 require Carp && Carp::croak("share is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
181 0 0 0 require Carp && Carp::croak("share_bytes is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
185 0 0 0 require Carp && Carp::croak("share_kb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
189 0 0 0 require Carp && Carp::croak("share_mb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
193 0 0 0 require Carp && Carp::croak("size is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
202 0 0 0 require Carp && Carp::croak("size_bytes is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
209 0 0 0 require Carp && Carp::croak("size_kb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
216 0 0 0 require Carp && Carp::croak("size_mb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
222 0 0 0 require Carp && Carp::croak("statm is a read-only attribute of @{[ref $_[0]];}")
0 0 7 defined $tmp and not ref $tmp
227 0 0 0 require Carp && Carp::croak("text is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
234 0 0 0 require Carp && Carp::croak("text_bytes is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
238 0 0 0 require Carp && Carp::croak("text_kb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp
242 0 0 0 require Carp && Carp::croak("text_mb is a read-only attribute of @{[ref $_[0]];}")
0 0 2 defined $tmp and not ref $tmp

or 3 conditions

line l !l&&r !l&&!r condition
10 0 3 0 $Mite::META{$class} ||= $class->__META__
33 3 0 0 ref $self || $self
34 3 0 0 $Mite::META{$class} ||= $class->__META__
53 0 3 0 ref $class || $class