Branch Coverage

blib/lib/RPerl/Operation/Statement/VariableDeclaration.pm
Criterion Covered Total %
branch 50 106 47.1


line true false branch
35 598 0 if ($self_class eq 'Statement_169')
40 34 564 if ($self_class eq 'VariableDeclaration_195') { }
559 5 elsif ($self_class eq 'VariableDeclaration_196') { }
4 1 elsif ($self_class eq 'VariableDeclaration_197') { }
1 0 elsif ($self_class eq 'VariableDeclaration_198') { }
47 2 30 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
63 0 30 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol})
83 0 559 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
100 3 556 if ($opnamed_or_subexp_or_input_scolon_type eq 'OpNamedScolonOrSubExpIn_253' or $opnamed_or_subexp_or_input_scolon_type eq 'OpNamedScolonOrSubExpIn_254') { }
556 0 elsif ($opnamed_or_subexp_or_input_scolon_type eq 'OpNamedScolonOrSubExpIn_255') { }
111 24 532 if (exists $opnamed_or_subexp_or_input_scolon->{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]) and $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]->isa('RPerl::Operation::Expression::SubroutineCall::MethodCall::ConstructorCall')) { }
59 490 elsif (exists $opnamed_or_subexp_or_input_scolon->{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]) and $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]->isa('RPerl::Operation::Expression::SubroutineCall')) { }
129 2 22 if ($type ne $constructor_type)
152 0 59 if ($constructor_name =~ /::new$/msx)
157 0 0 if ($type ne $constructor_type)
170 0 554 unless (exists $modes->{'_symbol_table'}{'_namespace'} and defined $modes->{'_symbol_table'}{'_namespace'})
175 0 554 unless (exists $modes->{'_symbol_table'}{'_subroutine'} and defined $modes->{'_symbol_table'}{'_subroutine'})
184 0 554 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol})
221 0 4 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
231 0 4 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol})
255 0 1 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
265 0 1 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol_fhref})
307 47 0 if ($self_class eq 'Statement_169')
312 0 47 if ($self_class eq 'VariableDeclaration_195') { }
47 0 elsif ($self_class eq 'VariableDeclaration_196') { }
0 0 elsif ($self_class eq 'VariableDeclaration_197') { }
0 0 elsif ($self_class eq 'VariableDeclaration_198') { }
317 0 0 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
329 0 0 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol})
353 0 47 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
372 0 47 if ($opnamed_or_subexp_or_input_scolon_type eq 'OpNamedScolonOrSubExpIn_253' or $opnamed_or_subexp_or_input_scolon_type eq 'OpNamedScolonOrSubExpIn_254') { }
47 0 elsif ($opnamed_or_subexp_or_input_scolon_type eq 'OpNamedScolonOrSubExpIn_255') { }
380 2 45 if (exists $opnamed_or_subexp_or_input_scolon->{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]) and $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]->isa('RPerl::Operation::Expression::SubroutineCall::MethodCall::ConstructorCall')) { }
1 45 elsif (exists $opnamed_or_subexp_or_input_scolon->{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]) and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'} and exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0] and &blessed($opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]) and $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]->isa('RPerl::Operation::Expression::SubroutineCall')) { }
399 0 2 if ($type ne $constructor_type)
422 0 1 if ($constructor_name =~ /::new$/msx)
428 0 0 if ($type ne $constructor_type)
441 0 47 unless (exists $modes->{'_symbol_table'}{'_namespace'} and defined $modes->{'_symbol_table'}{'_namespace'})
446 0 47 unless (exists $modes->{'_symbol_table'}{'_subroutine'} and defined $modes->{'_symbol_table'}{'_subroutine'})
455 0 47 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol})
472 2 45 if ($is_constructor_call_normal) { }
0 45 elsif ($is_constructor_call_special) { }
473 2 0 unless (exists $$rperlnamespaces_generated::RPERL{$type . '::'})
482 0 0 if (exists $$rperlnamespaces_generated::RPERL{$type . '::'}) { }
483 0 0 if ($type eq 'integer_arrayref_arrayref' or $type eq 'number_arrayref_arrayref' or $type eq 'string_arrayref_arrayref') { }
487 0 0 if (not exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]{'children'}[2]{'children'}[0]{'children'}[0]{'children'}[0]{'children'}[0]{'children'}[0]{'children'}[0]) { }
0 0 elsif (not exists $opnamed_or_subexp_or_input_scolon->{'children'}[0]{'children'}[0]{'children'}[0]{'children'}[2]{'children'}[0]{'children'}[1]{'children'}[1]{'children'}[0]{'children'}[0]{'children'}[0]{'children'}[0]) { }
522 1 44 if (&blessed($subexpression) and ref $subexpression eq 'SubExpressionOrInput_158' and exists $subexpression->{'children'} and defined $subexpression->{'children'} and defined $subexpression->{'children'}[0] and &blessed($subexpression->{'children'}[0]) and ref $subexpression->{'children'}[0] eq 'SubExpression_153' and exists $subexpression->{'children'}[0]{'children'} and defined $subexpression->{'children'}[0]{'children'} and defined $subexpression->{'children'}[0]{'children'}[0] and &blessed($subexpression->{'children'}[0]{'children'}[0]) and ref $subexpression->{'children'}[0]{'children'}[0] eq 'ArrayReference_211' and exists $subexpression->{'children'}[0]{'children'}[0]{'children'} and defined $subexpression->{'children'}[0]{'children'}[0]{'children'} and defined $subexpression->{'children'}[0]{'children'}[0]{'children'}[0] and $subexpression->{'children'}[0]{'children'}[0]{'children'}[0] eq '[' and defined $subexpression->{'children'}[0]{'children'}[0]{'children'}[1] and &blessed($subexpression->{'children'}[0]{'children'}[0]{'children'}[1]) and ref $subexpression->{'children'}[0]{'children'}[0]{'children'}[1] eq '_OPTIONAL' and exists $subexpression->{'children'}[0]{'children'}[0]{'children'}[1]{'children'} and defined $subexpression->{'children'}[0]{'children'}[0]{'children'}[1]{'children'} and scalar @{$subexpression->{'children'}[0]{'children'}[0]{'children'}[1]{'children'};} == 0 and defined $subexpression->{'children'}[0]{'children'}[0]{'children'}[2] and $subexpression->{'children'}[0]{'children'}[0]{'children'}[2] eq ']') { }
575 0 0 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
589 0 0 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol})
612 0 0 if ($subexpression_address eq "$subexpression")
624 0 0 if (exists $perlapinames_generated::FUNCTIONS_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::FUNCTIONS_UNDOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_DOCUMENTED->{$symbol_no_sigil} or exists $perlapinames_generated::VARIABLES_UNDOCUMENTED->{$symbol_no_sigil})
636 0 0 if (exists $modes->{'_symbol_table'}{$modes->{'_symbol_table'}{'_namespace'}}{$modes->{'_symbol_table'}{'_subroutine'}}{$symbol_fhref})