Plist/Foundation/NSURL.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 2 totaltotal 91.3% 21 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Plist/Foundation/NSMutableData.pm ↑ Summary Plist/Foundation/LibraryToDo.pm »
1 package Data::Plist::Foundation::NSURL;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use base qw/Data::Plist::Foundation::NSObject URI::http/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶sub replacement {
Subroutine replacement: called CC=1 SCAR=0.0
Pod undocumented
9 1 my $self = shift;
10 1 my $uri = URI->new( $self->{"NS.relative"}, "http" );
11 1 bless $uri, ( ref $self );
12 1 return $uri;
13 }
14  
15 1 ▶sub serialize_equiv {
Subroutine serialize_equiv: called CC=1 SCAR=0.0
Pod undocumented
16 1 my $self = shift;
17 1 return { "NS.relative" => $self->as_string, "NS.base" => undef };
18 }
19  
20 1 1;
« Plist/Foundation/NSMutableData.pm ↑ Summary Plist/Foundation/LibraryToDo.pm »