Dash/Dependencies/DashDependency.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
_stringify
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Dash::Dependencies::DashDependency;
2  
3 use Moo;
4 use strictures 2;
5 use namespace::clean;
6 use overload
7 '""' => "_stringify";
8  
9 has component_id => ( is => 'ro' );
10  
11 has component_property => ( is => 'ro' );
12  
13 sub _stringify {
14 my $self = shift;
15 return $self->component_id . "." . $self->component_property;
16 }
17  
18 1;
19  
20 __END__