Branch Coverage

blib/lib/Python/Function.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
70 0 0 if (not exists $self->{'python_source_code'} && defined $self->{'python_source_code'}) { }
0 0 elsif ($self->{'python_source_code'} eq '') { }
79 0 0 if (not exists $self->{'python_preparsed'} && defined $self->{'python_preparsed'}) { }
0 0 elsif (scalar @{$self->{'python_preparsed'};} == 0) { }
92 0 0 if (exists $self->{'python_preparsed_decorators'} and defined $self->{'python_preparsed_decorators'})
127 0 0 unless (defined $openai)
134 0 0 if (not exists $self->{'python_preparsed'} && defined $self->{'python_preparsed'}) { }
0 0 elsif (scalar @{$self->{'python_preparsed'};} == 0) { }
147 0 0 if (exists $self->{'python_preparsed_decorators'} and defined $self->{'python_preparsed_decorators'})
167 0 0 if (not exists $self->{'symbol'} && defined $self->{'symbol'} or $self->{'symbol'} eq "")
172 0 0 unless (exists $self->{'indentation'} and defined $self->{'indentation'})
179 0 0 if (not exists $self->{'return_type'} && defined $self->{'return_type'} or $self->{'return_type'} eq "")
187 0 0 if (exists $self->{'arguments'} and defined $self->{'arguments'})
188 0 0 if ($self->{'arguments'} eq "")
194 0 0 if ($self->isa('Python::Method')) { }
195 0 0 if (scalar @{$arguments_split;} == 0) { }
0 0 elsif ($arguments_split->[0] ne 'self') { }
199 0 0 if (grep /^self$/, @{$arguments_split;}) { }
211 0 0 if (not exists $self->{'scope'} && defined $self->{'scope'} or $self->{'scope'} eq "")
225 0 0 if (scalar @{$arguments_split;} > 0)
248 0 0 unless ($python_preparsed_component->isa("Python::Comment") or $python_preparsed_component->isa("Python::Whitespace") or $python_preparsed_component->isa("Python::Blank"))
261 0 0 if ($final_active_component_index > -1) { }
275 0 0 if (scalar @{$perl_source_code_split;} > 0)
321 0 0 if ($argument_split =~ /^(.*)\s*(\#.*)$/)
327 0 0 if ($argument_split eq '*') { }
0 0 elsif ($argument_split eq '**kwargs') { }