line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
1532
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Code::Statistics::Metric::path; |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
$Code::Statistics::Metric::path::VERSION = '1.112980'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# ABSTRACT: measures the starting column of a target |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
5
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
12
|
|
|
|
|
|
|
extends 'Code::Statistics::Metric'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub incompatible_with { |
16
|
32
|
|
|
32
|
1
|
69
|
my ( $class, $target ) = @_; |
17
|
32
|
|
|
|
|
144
|
return 1; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub is_insignificant { |
22
|
3
|
|
|
3
|
1
|
6
|
my ( $class ) = @_; |
23
|
3
|
|
|
|
|
13
|
return 1; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
=pod |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Code::Statistics::Metric::path - measures the starting column of a target |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 VERSION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
version 1.112980 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 incompatible_with |
40
|
|
|
|
|
|
|
Returns true if the given target is explicitly not supported by this metric. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Returns false for this class, since it is never measured and just serves as a placeholder for the path column. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 is_insignificant |
45
|
|
|
|
|
|
|
Returns true if the metric is considered statistically insignificant. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Returns false for this class, since it only identifies the location of a |
48
|
|
|
|
|
|
|
target. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Christian Walde <mithaldu@yahoo.de> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This software is Copyright (c) 2010 by Christian Walde. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This is free software, licensed under: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004 |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=cut |
63
|
|
|
|
|
|
|
|