Branch Coverage

bin/od
Criterion Covered Total %
branch 44 130 33.8


line true false branch
90 0 6 unless &getopts("A:aBbcDdeFfHhij:lN:Oost:vXx")
91 0 6 if (defined $main::opt_A) { }
92 0 0 unless ($main::opt_A =~ /\A[doxn]\z/)
96 0 0 if ($main::opt_A ne "n")
104 1 5 if (defined $main::opt_j)
105 0 1 if ($main::opt_j =~ /\D/)
110 1 5 if (defined $main::opt_N)
111 0 1 if ($main::opt_N =~ /\D/)
119 0 6 if ($main::opt_a) { }
0 6 elsif ($main::opt_b) { }
0 6 elsif ($main::opt_c) { }
0 6 elsif ($main::opt_D) { }
0 6 elsif ($main::opt_d) { }
0 6 elsif ($main::opt_e or $main::opt_F) { }
0 6 elsif ($main::opt_f) { }
0 6 elsif ($main::opt_H or $main::opt_X) { }
3 3 elsif ($main::opt_h or $main::opt_x) { }
0 3 elsif ($main::opt_i or $main::opt_s) { }
0 3 elsif ($main::opt_l) { }
0 3 elsif ($main::opt_O) { }
0 3 elsif ($main::opt_B or $main::opt_o) { }
162 0 6 if (defined $main::opt_t)
163 0 0 if ($main::opt_t eq 'x1') { }
0 0 elsif ($main::opt_t eq 'x2') { }
0 0 elsif ($main::opt_t eq 'x4') { }
0 0 elsif ($main::opt_t eq 'x8') { }
0 0 elsif ($main::opt_t eq 'o1') { }
0 0 elsif ($main::opt_t eq 'o2') { }
0 0 elsif ($main::opt_t eq 'o4') { }
0 0 elsif ($main::opt_t eq 'o8') { }
0 0 elsif ($main::opt_t eq 'd1') { }
0 0 elsif ($main::opt_t eq 'd2') { }
0 0 elsif ($main::opt_t eq 'd4') { }
0 0 elsif ($main::opt_t eq 'd8') { }
0 0 elsif ($main::opt_t eq 'u1') { }
0 0 elsif ($main::opt_t eq 'u2') { }
0 0 elsif ($main::opt_t eq 'u4') { }
0 0 elsif ($main::opt_t eq 'u8') { }
0 0 elsif ($main::opt_t eq 'f4') { }
0 0 elsif ($main::opt_t eq 'f8') { }
0 0 elsif ($main::opt_t eq 'a') { }
0 0 elsif ($main::opt_t eq 'c') { }
207 0 0 if ($main::opt_t =~ /\A[doux]8\Z/)
212 0 0 unless ($has_quad)
222 0 5 if (-d $file)
228 0 5 unless (open $fh, "<", $file)
235 1 4 if $main::opt_j
239 1 5 unless (@ARGV)
240 0 1 if $main::opt_j
243 0 6 if defined $data
258 0 70 unless $radix
259 6 64 $nl ? :
263 64 0 unless ($main::opt_v)
264 64 0 if (diffdata()) { }
268 0 0 unless $ml
272 64 0 unless ($ml)
287 0 1024 unless (defined $len)
295 64 960 if length $data == 16
305 0 16 if ($len == 0)
309 0 16 unless (defined $len)
342 0 0 if (exists $charescs{$val}) { }
0 0 elsif ($val > 126 or not chr($val) =~ /[[:print:]]/) { }
360 0 0 if (exists $charname{$n}) { }
448 64 0 unless $remain
454 0 64 $currdata eq $lastline ? :