| 1 | package Test::Pcuke::Gherkin::Executor::Status; | ||||||||||
| 2 | |||||||||||
| 3 | 5 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 5 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | =head1 NAME | ||||||||||
| 7 | |||||||||||
| 8 | Test::Pcuke::Gherkin::Executor::Status - undefined status for default executor | ||||||||||
| 9 | |||||||||||
| 10 | =head1 SYNOPSIS | ||||||||||
| 11 | |||||||||||
| 12 | Does nothing useful | ||||||||||
| 13 | |||||||||||
| 14 | =head1 METHODS | ||||||||||
| 15 | |||||||||||
| 16 | =head2 new | ||||||||||
| 17 | |||||||||||
| 18 | =cut | ||||||||||
| 19 | |||||||||||
| 20 | 13 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 21 | 13 | my ($self, $status) = @_; | |||||||||
| 22 | |||||||||||
| 23 | 13 | ▶ | $status = 'undef' unless defined $status; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | |||||||||||
| 25 | 13 | return bless { _status => $status }, $self; | |||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 12 | ▶ | sub status { $_[0]->{_status} } | ||||||||
|
Subroutine
status: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 29 | |||||||||||
| 30 | |||||||||||
| 31 | 5 | 1; # End of Test::Pcuke::Gherkin::Executor::Status | |||||||||
| 32 | __END__ | ||||||||||