Branch Coverage

blib/lib/Outthentic/Story.pm
Criterion Covered Total %
branch 0 114 0.0


line true false branch
71 0 0 if (debug_mod12())
85 0 0 if (-f project_root_dir() . '/Gemfile') { }
164 0 0 if (defined $val) { }
185 0 0 unless debug_mod1()
192 0 0 unless open FSTDOUT, '>>', stdout_file()
200 0 0 unless -f stdout_file()
204 0 0 unless open FSTDOUT, stdout_file()
220 0 0 if (debug_mod12())
286 0 0 unless -e $story_module
288 0 0 if (debug_mod12())
298 0 0 unless (do $story_module)
299 0 0 if $@
313 0 0 unless (do $hook_file)
314 0 0 if $@
324 0 0 unless open PERL_GLUE, '>', _perl_glue_file()
379 0 0 unless open RUBY_GLUE, '>', _ruby_glue_file()
427 0 0 unless open PYTHON_GLUE, '>', _python_glue_file()
471 0 0 unless open BASH_GLUE, '>', _bash_glue_file()
514 0 0 if (-f project_root_dir() . '/Gemfile') { }
520 0 0 if (debug_mod12())
529 0 0 if ($st != 0)
535 0 0 unless open RUBY_HOOK_OUT, $out_file
545 0 0 if $l =~ /#/
547 0 0 if $l =~ /ignore_story_err:\s+(\d)/
549 0 0 if ($l =~ s/story_var_json_begin.*// .. $l =~ s/story_var_json_end.*//)
555 0 0 if ($l =~ /story:\s+(\S+)/)
559 0 0 if (debug_mod12())
580 0 0 if (debug_mod12())
589 0 0 if ($st != 0)
595 0 0 unless open PYTHON_HOOK_OUT, $out_file
605 0 0 if $l =~ /#/
607 0 0 if $l =~ /ignore_story_err:\s+(\d)/
609 0 0 if ($l =~ s/story_var_json_begin.*// .. $l =~ s/story_var_json_end.*//)
615 0 0 if ($l =~ /story:\s+(\S+)/)
619 0 0 if (debug_mod12())
645 0 0 if (debug_mod12())
654 0 0 if ($st != 0)
660 0 0 unless open HOOK_OUT, $out_file
670 0 0 if $l =~ /#/
672 0 0 if $l =~ /ignore_story_err:\s+(\d)/
674 0 0 if ($l =~ /story_var_bash:\s+(\S+)\s+(.*)/)
680 0 0 if ($l =~ /story:\s+(\S+)/)
682 0 0 if (debug_mod12())
701 0 0 unless open STORY_VARS, '>', story_cache_dir() . '/variables.json'
708 0 0 unless open STORY_VARS, '>', story_cache_dir() . '/variables.bash'
787 0 0 unless ($OS)
791 0 0 if $data =~ /alpine/i and $OS = 'alpine'
792 0 0 if $data =~ /minoca/i and $OS = 'minoca'
793 0 0 if $data =~ /centos linux(\d+)/i and $OS = "centos$1"
794 0 0 if $data =~ /Red Hat.*release\s+(\d)/i and $OS = "centos$1"
795 0 0 if $data =~ /arch/i and $OS = 'archlinux'
796 0 0 if $data =~ /funtoo/i and $OS = 'funtoo'
797 0 0 if $data =~ /fedora/i and $OS = 'fedora'
798 0 0 if $data =~ /amazon/i and $OS = 'amazon'
799 0 0 if $data =~ /ubuntu/i and $OS = 'ubuntu'
800 0 0 if $data =~ /debian/i and $OS = 'debian'
801 0 0 if $data =~ /darwin/i and $OS = 'darwin'