File: | lib/Code/Statistics/Metric/path.pm |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 2 2 2 | 0 0 0 | use strict; | ||||
2 | 2 2 2 | 0 0 0 | use warnings; | ||||
3 | |||||||
4 | package Code::Statistics::Metric::path; | ||||||
5 | |||||||
6 | # ABSTRACT: measures the starting column of a target | ||||||
7 | |||||||
8 | 2 2 2 | 0 0 0 | use Moose; | ||||
9 | extends 'Code::Statistics::Metric'; | ||||||
10 | |||||||
11 | sub incompatible_with { | ||||||
12 | my ( $class, $target ) = @_; | ||||||
13 | return 1; | ||||||
14 | } | ||||||
15 | |||||||
16 | sub supports { | ||||||
17 | my ( $class, $target ) = @_; | ||||||
18 | return 0; | ||||||
19 | } | ||||||
20 | |||||||
21 | sub is_type { | ||||||
22 | my ( $class ) = @_; | ||||||
23 | return 'Str'; | ||||||
24 | } | ||||||
25 | |||||||
26 | sub is_significant { | ||||||
27 | my ( $class ) = @_; | ||||||
28 | return 0; | ||||||
29 | } | ||||||
30 | |||||||
31 | 1; |