Smart/Path.pm

filter: Statementstmt 100% 10 / 10 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 93.7% 15 / 16 CC 2 SCAR 4.1
CC
2
Cov
100%
join
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« Smart/Renderer/Text.pm ↑ Summary Smart/Renderer/YAML.pm »
1 package Data::Hash::Diff::Smart::Path;
2  
3 16 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 16 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 =head1 NAME
7  
8 Data::Hash::Diff::Smart::Path
9  
10 =head1 VERSION
11  
12 Version 0.02
13  
14 =cut
15  
16 16 our $VERSION = '0.02';
17  
18 114038 ▶sub join {
Subroutine join: called CC=2 SCAR=6.9
Pod undocumented
19 114038 my ($base, $part) = @_;
20 114038 ▶ return $base eq '' ? "/$part" : "$base/$part";
Branch: 1 branch
BranchTrueFalseTotal
$base eq '' ? : 2560 111478 114038
21 }
22  
23 16 1;
« Smart/Renderer/Text.pm ↑ Summary Smart/Renderer/YAML.pm »