Plan/SkipAll.pm

filter: Statementstmt 80.0% 12 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 100% 2 / 2 totaltotal 77.2% 17 / 22 CC 1 SCAR 3.4
CC
1
Cov
80%
number_of_tests
2.0
as_tap
2.0
BEGIN
1.0
CRAP 1.4
« Plan/Todo.pm ↑ Summary Comment.pm »
1 package TAP::Spec::Plan::SkipAll;
2 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 $TAP::Spec::Plan::SkipAll::AUTHORITY = 'cpan:ARODLAND';
4 }
5 {
6 2 $TAP::Spec::Plan::SkipAll::VERSION = '0.10';
7 }
8 # ABSTRACT: A TAP plan indicating that all tests were skipped
9 2 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 extends 'TAP::Spec::Plan';
12  
13  
14 2 has 'reason' => (
15 is => 'rw',
16 isa => 'Str',
17 required => 1,
18 );
19  
20  
21 0 ▶sub number_of_tests { 0 }
Subroutine number_of_tests: not called CC=1 SCAR=6.9
Pod documented
22  
23  
24 0 ▶sub as_tap {
Subroutine as_tap: not called CC=1 SCAR=6.9
Pod documented
25 0 my ($self) = @_;
26  
27 0 return "1..0 skip " . $self->reason . "\n";
28 }
29  
30 2 __PACKAGE__->meta->make_immutable;
31  
32 __END__
« Plan/Todo.pm ↑ Summary Comment.pm »