Condition Coverage

blib/lib/WebDyne/Install/Lighttpd.pm
Criterion Covered Total %
condition 0 26 0.0


and 3 conditions

line !l l&&!r l&&r condition
245 0 0 0 @delim != 2 and @delim != 0
350 0 0 0 $Uninstall_fg and $delim[0] == $delim[1]

or 2 conditions

line l !l condition
124 0 0 $INC{$class_fn} || (return err("unable to find location for $class in %INC"))
163 0 0 'Text::Template'->new('type', 'FILE', 'source', $template_fn) || (return err("unable to open template $template_fn, $!"))
173 0 0 $template_or->fill_in('HASH', $config_hr, 'DELIMITERS', ['']) || (return err("unable to fill in template $template_fn, $Text::Template::ERROR"))
184 0 0 $WebDyne::Install::Lighttpd::DIR_LIGHTTPD_CONF || (return err('unable to determine Lighttpd config directory'))
198 0 0 'IO::File'->new($webdyne_conf_fn, 577) || (return err("unable to open file $webdyne_conf_fn, $!"))
221 0 0 $WebDyne::Install::Lighttpd::FILE_LIGHTTPD_CONF || (return err('unable to determine main server config file'))
223 0 0 'IO::File'->new($lighttpd_conf_fn, 0) || (return err("unable to open file lighttpd_conf_fn, $!"))
321 0 0 'Text::Template'->new('type', 'FILE', 'source', $template_fn) || (return err("unable to open template $template_fn, $!"))
331 0 0 $template_or->fill_in('HASH', $config_hr, 'DELIMITERS', ['']) || (return err("unable to fill in template $template_fn, $Text::Template::ERROR"))
351 0 0 'IO::File'->new($lighttpd_conf_fn, 513) || (return err("unable to open file $lighttpd_conf_fn, $!"))