URI/fax.pm

filter: Statementstmt 100% 24 / 24 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 1 / 1 totaltotal 100% 34 / 34 CC 2 SCAR 2.2
CC
2
Cov
100%
flags
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« URI/ftp.pm ↑ Summary URI/http.pm »
1 2 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Data::Semantic::URI::fax;
6 2 our $VERSION = '1.100850';
7 # ABSTRACT: Semantic data class for fax URIs
8 2 ▶use parent qw(Data::Semantic::URI);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 __PACKAGE__->mk_boolean_accessors(qw(nofuture));
10 2 ▶use constant REGEXP_KEYS => qw(URI fax);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 ▶use constant KEEP_KEYS => qw(URI scheme phone_number);
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 2 ▶sub flags {
Subroutine flags: called CC=2 SCAR=6.9
Pod documented
14 2 my $self = shift;
15 2 my @flags = $self->SUPER::flags(@_);
16 2 ▶ push @flags => 'nofuture' if $self->nofuture;
Branch: 1 branch
BranchTrueFalseTotal
if $self->nofuture 1 1 2
17 2 @flags;
18 }
19 2 1;
20  
21  
22 __END__
« URI/ftp.pm ↑ Summary URI/http.pm »