Makefile.PL

filter: Statementstmt 33.3% 1 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 50.0% 2 / 4 CC 1 SCAR 2.6
CC
1
Cov
33%
BEGIN
1.3
CRAP 1.3
« blib/lib/POE/Loop/EV.pm ↑ Summary
1 1 ▶use inc::Module::Install 0.65;
Subroutine BEGIN: called CC=1 SCAR=2.6
2  
3 name 'POE-Loop-EV';
4 all_from 'lib/POE/Loop/EV.pm';
5  
6 requires 'Test::More' => '0.47';
7 requires 'POE' => '0.9999';
8 requires 'EV' => '3.0';
9  
10 ############# Copied from POE's Makefile.PL
11  
12 # Should we skip the network tests?
13  
14 my $prompt = qq|
15 Some of POE's tests require a functional network.
16 You can skip these tests if you'd like.
17  
18 Would you like to skip the network tests?|;
19  
20 my $ret = "n";
21 if (grep /^--default$/, @ARGV) {
22 print $prompt, " [n] n\n\n";
23 }
24 else {
25 $ret = prompt($prompt, "n");
26 }
27  
28 my $marker = 'run_network_tests';
29  
30 if($ret =~ /^Y$/i) {
31 unlink $marker if $marker;
32 } else {
33 open(TOUCH,"+>$marker") and close TOUCH;
34 }
35  
36 print "\n";
37  
38 ############# End copied stuff
39  
40 tests "t/*.t t/*/*/*.t";
41  
42 # Rebuild README for maintainers
43 if ( -e 'MANIFEST.SKIP' ) {
44 system("pod2text lib/POE/Loop/EV.pm > README");
45 }
46  
47 auto_provides;
48 auto_install;
49 WriteAll;
« blib/lib/POE/Loop/EV.pm ↑ Summary