line |
true |
false |
branch |
29
|
0 |
92 |
if (@_ > 1) { } |
|
11 |
81 |
elsif (defined $$I[$n] or not defined $$I[$line_idx]) { } |
34
|
81 |
0 |
if defined $$I[$line_idx] |
52
|
0 |
0 |
ref $_[0] ? : |
56
|
798 |
0 |
if $$I[V__line()] =~ /^
([\da-f]+)-([\da-f]+)\s # range
([r\-])([w\-])([x\-])([sp])\s # access mode
([\da-f]+)\s # page offset in file
([\da-f]+):([\da-f]+)\s # device
(\d+)\s* # inode
(.*?) # file name
(\s\(deleted\))? # is deleted?
$
/xi |
80
|
0 |
25 |
if exists $Linux::Smaps::VMA::attributes{$attributes[$n]} |
83
|
7 |
14 |
@_ > 1 ? : |
94
|
0 |
14 |
if ref $class |
101
|
1 |
13 |
if (@_ == 1) { } |
108
|
7 |
58 |
if exists $h{$k} |
112
|
3 |
11 |
if $h{'uninitialized'} |
115
|
1 |
10 |
unless $rc |
125
|
0 |
0 |
unless (open my $f, '>', $name) |
147
|
7 |
8 |
if (defined $$I[M_filename()]) { } |
156
|
2 |
13 |
unless (open my $f, '<', $name) |
169
|
14849 |
1943 |
if ($current_off < @Linux::Smaps::VMA::attributes) { } |
|
55 |
1888 |
elsif ($l =~ /^(\w+):\s*(\d+) kB$/) { } |
|
3 |
1885 |
elsif ($l =~ /^(\w+):.+$/ and $tmp = $Linux::Smaps::VMA::special{$m = lc $1}) { } |
|
1885 |
0 |
elsif ($l =~ /^([\da-f]+-[\da-f]+)\s/i) { } |
170
|
391 |
14458 |
if ($tmp = $Linux::Smaps::VMA::special[$current_off]) { } |
179
|
0 |
55 |
if (exists $Linux::Smaps::VMA::attributes{$m}) |
183
|
0 |
55 |
if (exists $Linux::Smaps::attributes{$m}) |
194
|
0 |
1978 |
@_ > 1 ? : |
206
|
250 |
1250 |
if not defined $$_[V_file_name()] and defined $$_[V__line()] |
|
6 |
3 |
length $n ? : |
221
|
18 |
37 |
if (length $m > $cnt1) |
226
|
0 |
3 |
if (exists $Linux::Smaps::VMA::attributes{$m}) |
238
|
0 |
5 |
@_ > 1 ? : |
249
|
1884 |
1 |
unless $cache{$1}++ |
257
|
0 |
13 |
if ($. == 0) |
276
|
265 |
595 |
if not defined $$el[V_file_name()] and defined $$el[V__line()] |
277
|
11 |
849 |
if $s eq $$el[V_file_name()] |
285
|
0 |
0 |
if (wantarray) { } |
286
|
0 |
0 |
if not defined $$_[V_file_name()] and defined $$_[V__line()] |
295
|
0 |
0 |
if not defined $$el[V_file_name()] and defined $$el[V__line()] |
296
|
0 |
0 |
if length $$el[V_file_name()] |
305
|
0 |
0 |
if (wantarray) { } |
306
|
0 |
0 |
if not defined $$_[V_file_name()] and defined $$_[V__line()] |
315
|
0 |
0 |
if not defined $$el[V_file_name()] and defined $$el[V__line()] |
316
|
0 |
0 |
unless length $$el[V_file_name()] |
325
|
0 |
0 |
if (wantarray) { } |
342
|
0 |
0 |
if not defined $$_[V_file_name()] and defined $$_[V__line()] |
353
|
101 |
152 |
if not defined $$_[V_file_name()] and defined $$_[V__line()] |
355
|
15 |
238 |
if ($$_[V_file_name()] =~ /\[\w+\]/) { } |
363
|
101 |
152 |
if not defined $$_[V_file_name()] and defined $$_[V__line()] |
365
|
15 |
238 |
if ($$_[V_file_name()] =~ /^(\[\w+\])$/) { } |
378
|
15 |
0 |
if (exists $other_special{$$vma[V_file_name()]}) { } |
380
|
0 |
13 |
if $$vma[V_vma_start()] != $$x[V_vma_start()] or $$vma[V_vma_end()] != $$x[V_vma_end()] or $vma->shared_clean != $x->shared_clean or $vma->shared_dirty != $x->shared_dirty or $vma->private_clean != $x->private_clean or $vma->private_dirty != $x->private_dirty or $$vma[V_dev_major()] != $$x[V_dev_major()] or $$vma[V_dev_minor()] != $$x[V_dev_minor()] or $$vma[V_r()] != $$x[V_r()] or $$vma[V_w()] != $$x[V_w()] or $$vma[V_x()] != $$x[V_x()] or $$vma[V_file_off()] != $$x[V_file_off()] or $$vma[V_inode()] != $$x[V_inode()] or $$vma[V_mayshare()] != $$x[V_mayshare()] |
402
|
238 |
0 |
if (exists $other{$$vma[V_vma_start()]}) { } |
404
|
0 |
232 |
if $$vma[V_vma_end()] != $$x[V_vma_end()] or $vma->shared_clean != $x->shared_clean or $vma->shared_dirty != $x->shared_dirty or $vma->private_clean != $x->private_clean or $vma->private_dirty != $x->private_dirty or $$vma[V_dev_major()] != $$x[V_dev_major()] or $$vma[V_dev_minor()] != $$x[V_dev_minor()] or $$vma[V_r()] != $$x[V_r()] or $$vma[V_w()] != $$x[V_w()] or $$vma[V_x()] != $$x[V_x()] or $$vma[V_file_off()] != $$x[V_file_off()] or $$vma[V_inode()] != $$x[V_inode()] or $$vma[V_mayshare()] != $$x[V_mayshare()] or $$vma[V_file_name()] ne $$x[V_file_name()] |
434
|
3 |
0 |
unless ($once) |