| 1 | package Zuzu::Value::Regexp; | ||||||||||||
| 2 | |||||||||||||
| 3 | 78 | ▶ | use utf8; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | 78 | our $VERSION = '0.007002'; | |||||||||||
| 6 | |||||||||||||
| 7 | 78 | ▶ | use Moo; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | |||||||||||||
| 9 | 0 | ▶ | has 'pattern' => ( is => 'rw', default => sub { '' } ); | ||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||||
| 10 | 0 | ▶ | has 'flags' => ( is => 'rw', default => sub { '' } ); | ||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||||
| 11 | |||||||||||||
| 12 | 0 | ▶ | sub is_truthy { 1 } | ||||||||||
|
Subroutine
is_truthy: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 13 | |||||||||||||
| 14 | 0 | ▶ | sub to_String { | ||||||||||
|
Subroutine
to_String: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||
| 15 | 0 | my ( $self ) = @_; | |||||||||||
| 16 | |||||||||||||
| 17 | 0 | ▶ | return $self->pattern // ''; | ||||||||||
|
Condition0%0/2
$self->pattern // ""
MC/DC0%0/1
$self->pattern // ""
$self->pattern
Truth table0%0/2
A
A= $self->pattern
| |||||||||||||
| 18 | } | ||||||||||||
| 19 | |||||||||||||
| 20 | 78 | 1; | |||||||||||
| 21 | |||||||||||||
| 22 | =pod | ||||||||||||
| 23 | |||||||||||||
| 24 | =head1 COPYRIGHT AND LICENCE | ||||||||||||
| 25 | |||||||||||||
| 26 | B<< Zuzu::Value::Regexp >> is copyright Toby Inkster. | ||||||||||||
| 27 | |||||||||||||
| 28 | It is free software; you may redistribute it and/or modify it under | ||||||||||||
| 29 | the terms of either the Artistic License 1.0 or the GNU General Public | ||||||||||||
| 30 | License version 2. | ||||||||||||
| 31 | |||||||||||||
| 32 | =cut | ||||||||||||