script/lip2pod

filter: Statementstmt 100% 12 / 12 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 93.7% 15 / 16 CC 1 SCAR 0.0
CC
1
Cov
93%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Lip/Pod.pm ↑ Summary
1 #!/usr/local/bin/perl -w
2  
3 =begin lip
4  
5 =for none
6 ###############################################################################
7 ###############################################################################
8  
9 =head1 DRIVER
10  
11 The main driver for the program allocates a parser from the 'lip' class defined
12 earlier and calls it in a loop for the files named on the command line. If
13 there were no files on the command line, then '-' (STDIN) is used.
14  
15 =cut
16  
17 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use Lip::Pod;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 package main;
21  
22 1 my $parser = new Lip::Pod;
23  
24 1 $parser->parseopts( -want_nonPODs => 1, -process_cut_cmd => 1 );
25  
26 1 ▶push @ARGV, '-' unless @ARGV;
Branch: 1 branch
BranchTrueFalseTotal
unless @ARGV 0 1 1
27  
28 1 for (@ARGV) { $parser->parse_from_file($_); }
29  
30 1 exit 0;
31  
32 =for none
33 ###############################################################################
34 ###############################################################################
35  
36 =end lip
37  
38 =cut
39  
40 __END__
« lib/Lip/Pod.pm ↑ Summary