corpus/lib/Alien/Build/Plugin/Download/Foo.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« corpus/basic/alienfile ↑ Summary corpus/lib/Alien/Build/Plugin/NesAdvantage/Controller.pm »
1 package Alien::Build::Plugin::Download::Foo;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use Alien::Build::Plugin;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub init
8 4 ▶{
Subroutine init: called CC=1 SCAR=0.0
Pod documented
9 4 my($self,$meta) = @_;
10  
11 4 $meta->prop->{check_digest} = 1;
12 4 $meta->prop->{digest} = { '*' => [ FAKE => 'deadbeaf' ] };
13  
14 4 $meta->apply_plugin('Download::Negotiate', url => 'corpus/dist/foo-1.00.tar');
15 4 $meta->apply_plugin('Extract::ArchiveTar');
16 4 $meta->apply_plugin('Test::Mock', check_digest => 1);
17 4 ▶ $meta->register_hook(probe => sub { 'share' });
Subroutine __ANON__: called CC=1 SCAR=0.0
18 }
19  
20 3 1;
« corpus/basic/alienfile ↑ Summary corpus/lib/Alien/Build/Plugin/NesAdvantage/Controller.pm »