CLI/Element.pm

filter: Statementstmt 71.4% 5 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 80.0% 8 / 10 CC 1 SCAR 0.9
CC
1
Cov
71%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« CLI/L10N/en.pm ↑ Summary CLI.pm »
1 #=============================================================================
2 #
3 # Module: Term::CLI::Element
4 #
5 # Description: Generic parent class for elements in Term::CLI
6 #
7 # Author: Steven Bakker (SBAKKER), <sbakker@cpan.org>
8 # Created: 22/01/18
9 #
10 # Copyright (c) 2018 Steven Bakker
11 #
12 # This module is free software; you can redistribute it and/or modify
13 # it under the same terms as Perl itself. See "perldoc perlartistic."
14 #
15 # This software is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 #
19 #=============================================================================
20  
21 5 ▶use 5.014_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 package Term::CLI::Element 0.051003 {
24  
25 5 ▶use Modern::Perl 1.20140107;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 5 ▶use Term::CLI::ReadLine;
Subroutine BEGIN: called CC=1 SCAR=2.6
27  
28 use Types::Standard 1.000005 qw( Str );
29  
30 use Moo 1.000001;
31 use namespace::clean 0.25;
32  
33 extends 'Term::CLI::Base';
34  
35 sub complete { return () }
36  
37 }
38  
39 1;
40  
41 __END__
« CLI/L10N/en.pm ↑ Summary CLI.pm »