blib/lib/YATT/Lite/Inc.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 93.7% 15 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
import
1.0
CRAP 1.0
« t/scripts/render.ytmpl/1/index.yatt ↑ Summary blib/lib/YATT/Lite/LanguageServer/Protocol.pm »
1 # -*- mode: perl; coding: utf-8 -*-
2 package YATT::Lite::Inc;
3 88 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 88 ▶use warnings qw(FATAL all NONFATAL misc);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1437 ▶sub import {
Subroutine import: called CC=1 SCAR=0.0
7 1437 __PACKAGE__->add_inc(caller);
8 }
9  
10 1437 ▶sub add_inc {
Subroutine add_inc: called CC=1 SCAR=0.0
Pod undocumented
11 1437 my ($pack, $callpack) = @_;
12 1437 $callpack =~ s{::}{/}g;
13 1437 $INC{$callpack . '.pm'} = 1;
14 }
15  
16 88 1;
« t/scripts/render.ytmpl/1/index.yatt ↑ Summary blib/lib/YATT/Lite/LanguageServer/Protocol.pm »