blib/lib/SelfUnzip.pm

filter: Statementstmt 77.7% 14 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 72.7% 16 / 22 CC 1 SCAR 2.9
CC
1
Cov
78%
extract_file
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
↑ Summary SelfUnzip.c »
1 package SelfUnzip;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 require Exporter;
7 1 require DynaLoader;
8 1 require AutoLoader;
9  
10 1 @ISA = qw(Exporter DynaLoader);
11 # Items to export into callers namespace by default. Note: do not export
12 # names by default without a very good reason. Use EXPORT_OK instead.
13 # Do not simply export all your public functions/methods/constants.
14 1 @EXPORT = qw(
15
16 );
17 1 $VERSION = '0.01';
18  
19 1 bootstrap SelfUnzip $VERSION;
20  
21 # Preloaded methods go here.
22  
23 0 ▶sub extract_file {
Subroutine extract_file: not called CC=1 SCAR=6.9
Pod undocumented
24 0 my $file = shift;
25 0 warn "extraction '$file'...\n";
26 0 open my $file, "-|", "unzip -p $^X $file";
27 0 $file;
28 }
29  
30 # Autoload methods go after =cut, and are processed by the autosplit program.
31  
32 1 1;
33 __END__
↑ Summary SelfUnzip.c »