Condition Coverage

blib/lib/Devel/NYTProf/Reader.pm
Criterion Covered Total %
condition 41 81 50.6


and 3 conditions

line !l l&&!r l&&r condition
156 3 0 0 !$opts->{'quiet'} && -t STDOUT
322 60 0 0 trace_level() >= 3 and $stats_by_line{$linenum}
368 0 3 0 not $fi->has_savesrc and $self->file_has_been_modified($filestr)
373 3 0 0 $profile->{'attribute'}{'sawampersand_fid'} and $fi->fid == $profile->{'attribute'}{'sawampersand_fid'}
414 0 3 0 $filestr ne "-e" and not $filestr =~ m[^/]
3 0 0 $filestr ne "-e" and not $filestr =~ m[^/] and not our $_generate_report_inc_hint++
484 3 30 9 $prev_line eq '' && $line eq '' && @$src_lines && $src_lines->[0] =~ /^\s*$/ && !$stats_by_line{$LINE}
504 0 0 18 @$src_lines and $src_lines->[0] =~ /^\s*$/
0 9 9 @$src_lines and $src_lines->[0] =~ /^\s*$/ and not $stats_by_line{$LINE + 1}

or 2 conditions

line l !l condition
44 3 0 shift() || {}
46 3 0 $file || 'nytprof.out'
109 0 1 $code_args ||= []
166 11 1 $self->{'current_level'} || 'line'
182 0 9 $ENV{'NYTPROF_FNAME_TRIM'} || 50
226 3 0 &max(keys %$subcalls_at_line) || 0
230 3 0 &max(keys %$subdefs_at_line) || 0
235 0 3 &max(keys %$evals_at_line) || 0
239 3 0 $fi->line_time_data([$LEVEL]) || []
273 0 27 $stats_by_line{$linenum} ||= {}
284 0 0 $stats_by_line{$linenum} ||= {}
301 21 0 $stats_by_line{$linenum} ||= {}
308 21 0 $stmt_count ||= 1
344 3 0 $stats_accum{'calls'} || []
3 0 $stats_accum{'time'} || []
3 0 $stats_accum{'time/call'} || []
3 0 $stats_accum{'subcall_count'} || []
3 0 $stats_accum{'subcall_time'} || []
437 3 0 defined $_ or $_ = ""
497 33 12 $stats_by_line{$LINE} || {}
556 3 8 $level ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
172 4 5 0 $level ||= $self->current_level
255 0 0 3 trace_level() >= 4 or $max_linenum > 32768
422 0 0 3 $msg or $hint
558 7 4 0 $self->{'_cache'}{"url_for_file,$file,$level"} ||= do { my $fi = $self->{'profile'}->fileinfo_of($file); $level = "line" if $fi->is_eval; $self->fname_for_fileinfo($fi, $level) . ".html" }