| line |
true |
false |
branch |
|
42
|
385 |
0 |
if ($class =~ /^IO::K8s::Api::(\w+)::(\w+)::/) |
|
45
|
214 |
171 |
if $group eq "Core" |
|
51
|
0 |
0 |
if ($class =~ /^IO::K8s::ApiextensionsApiserver::Pkg::Apis::Apiextensions::(\w+)::/) |
|
56
|
0 |
0 |
if ($class =~ /^IO::K8s::KubeAggregator::Pkg::Apis::Apiregistration::(\w+)::/) |
|
68
|
524 |
0 |
if ($class =~ /::(\w+)$/) |
|
90
|
0 |
1 |
unless open my $fh, ">", $file |
|
103
|
1 |
6 |
unless ($self->metadata) |
|
133
|
8 |
1 |
$self->metadata ? : |
|
134
|
8 |
1 |
defined $labels ? : |
|
140
|
4 |
1 |
$self->metadata ? : |
|
141
|
2 |
3 |
defined $labels && exists $labels->{$key} ? : |
|
147
|
1 |
0 |
if ($self->metadata and $self->metadata->labels) |
|
156
|
4 |
1 |
$self->metadata ? : |
|
157
|
1 |
4 |
unless defined $labels |
|
159
|
2 |
3 |
unless exists $labels->{$key} and $labels->{$key} eq $expected{$key} |
|
177
|
2 |
1 |
$self->metadata ? : |
|
178
|
2 |
1 |
defined $annotations ? : |
|
184
|
4 |
1 |
$self->metadata ? : |
|
185
|
2 |
3 |
defined $annotations && exists $annotations->{$key} ? : |
|
191
|
1 |
0 |
if ($self->metadata and $self->metadata->annotations) |
|
203
|
4 |
16 |
unless $self->can("status") and defined $self->status |
|
207
|
0 |
16 |
if (builtin::blessed($status) and $status->can("conditions")) |
|
209
|
0 |
0 |
if ref $conds eq "ARRAY" |
|
214
|
13 |
3 |
if (ref $status eq "HASH" and ref $status->{'conditions'} eq "ARRAY") |
|
223
|
0 |
28 |
if (builtin::blessed($cond) and $cond->can($field)) |
|
226
|
28 |
0 |
if (ref $cond eq "HASH") |
|
243
|
7 |
15 |
if defined $ctype and $ctype eq $type |
|
252
|
8 |
4 |
unless defined $cond |
|
254
|
3 |
1 |
defined $status && $status eq 'True' ? : |
|
260
|
1 |
4 |
if $self->is_condition_true("Ready") |
|
261
|
1 |
3 |
if $self->is_condition_true("Available") |
|
269
|
1 |
2 |
unless defined $cond |
|
300
|
0 |
0 |
$owner->metadata ? : |
|
301
|
0 |
0 |
$owner->metadata ? : |
|
306
|
0 |
0 |
if (builtin::blessed($ref) and $ref->can('name')) { } |
|
|
0 |
0 |
elsif (ref $ref eq 'HASH') { } |
|
317
|
0 |
0 |
if (defined $owner_uid and $owner_uid ne '' and defined $ruid and $ruid ne '') { } |
|
|
0 |
0 |
elsif (defined $owner_name and defined $rname and defined $owner_kind and defined $rkind) { } |
|
318
|
0 |
0 |
if $ruid eq $owner_uid |
|
320
|
0 |
0 |
if $rname eq $owner_name and $rkind eq $owner_kind |
|
329
|
0 |
0 |
unless $self->metadata |