blib/lib/PMLTQ/Command/configuration.pm

filter: Statementstmt 80.0% 16 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 1 totaltotal 74.0% 20 / 27 CC 1 SCAR 1.7
CC
1
Cov
80%
run
2.0
__ANON__
1.1
BEGIN
1.0
CRAP 1.2
« blib/lib/PMLTQ/Relation/Treex/TEChildIterator.pm ↑ Summary blib/lib/PMLTQ/ParserError.pm »
1 package PMLTQ::Command::configuration;
2 1 our $AUTHORITY = 'cpan:MATY';
3 1 $PMLTQ::Command::configuration::VERSION = '1.5.0';
4 # ABSTRACT: GET current configuration
5  
6 1 ▶use PMLTQ::Base 'PMLTQ::Command';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use JSON;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use YAML::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Hash::Merge 'merge';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 0 ▶has usage => sub { shift->extract_usage };
Subroutine __ANON__: not called CC=1 SCAR=1.2
12  
13 sub run {
14 0 ▶ my $self = shift;
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my $config = $self->config;
16 0 print YAML::Tiny->new( $config)->write_string;
17 }
18  
19  
20 1 1;
21  
22 __END__
« blib/lib/PMLTQ/Relation/Treex/TEChildIterator.pm ↑ Summary blib/lib/PMLTQ/ParserError.pm »