blib/lib/App/LedgerUtils.pm

filter: Statementstmt 66.6% 6 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod n/a totaltotal 63.6% 7 / 11 CC 1 SCAR 4.1
CC
1
Cov
67%
_get_parser
2.0
BEGIN
1.0
CRAP 1.5
↑ Summary
1 package App::LedgerUtils;
2  
3 1 our $DATE = '2019-10-15'; # DATE
4 1 our $VERSION = '0.04'; # VERSION
5  
6 1 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our %common_args = (
9 ledger => {
10 summary => 'Ledger file',
11 schema => 'str*',
12 req => 1,
13 pos => 0,
14 cmdline_src => 'stdin_or_file',
15 tags => ['common'],
16 },
17 # XXX add parser configuration arguments
18 );
19  
20 0 ▶sub _get_parser {
Subroutine _get_parser: not called CC=1 SCAR=6.9
21 0 require Ledger::Parser;
22  
23 0 my $args = shift;
24 0 Ledger::Parser->new(
25 # XXX add parser configuration arguments
26 );
27 }
28  
29 1 1;
30 # ABSTRACT: Command-line utilities related Ledger files
31  
32 __END__
↑ Summary