Branch Coverage

blib/lib/Python/Include.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
70 0 0 unless (defined $openai)
75 0 0 if (not exists $self->{'python_source_code'} && defined $self->{'python_source_code'} or $self->{'python_source_code'} eq "")
108 0 0 if ($python_source_code_clean =~ /^\s*import\s+([\w\.]+)\s*(\#.*)?$/) { }
0 0 elsif ($python_source_code_clean =~ /^\s*import\s+((?:[\w\.]+\s*\,\s*)+[\w\.]+)\s*(\#.*)?$/) { }
0 0 elsif ($python_source_code_clean =~ /^\s*from\s+([\w\.]+)\s+import\s+([\w\.]+)\s*(\#.*)?$/) { }
0 0 elsif ($python_source_code_clean =~ /^\s*from\s+([\w\.]+)\s+import\s+((?:[\w\.]+\s*\,\s*)+[\w\.]+)\s*(\#.*)?$/) { }
0 0 elsif ($python_source_code_clean =~ /^\s*from\s+([\w\.]+)\s+import\s*\(\s*((?:[\w\.]+\s*\,\s*)+[\w\.]+\s*\,?)\s*\)\s*(\#.*)?$/) { }
0 0 elsif ($python_source_code_clean =~ /^\s*import\s+([\w\.]+)\s+as\s+([\w\.]+)\s*(\#.*)?$/) { }
0 0 elsif ($python_source_code_clean =~ /^\s*from\s+([\w\.]+)\s+import\s+([\w\.]+)\s+as\s+([\w\.]+)\s*(\#.*)?$/) { }
273 0 0 if (scalar @{$self->{'python_modules'};} > 1 and scalar @{$self->{'python_subcomponents'};} > 1)
286 0 0 if ($line_count_difference > 0)