Perlanet/Entry.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Perlanet/Types.pm ↑ Summary
1 package Perlanet::Entry;
2  
3 12 ▶use 5.10.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 12 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Perlanet::Entry - represents an entry in a feed
12  
13 =head1 DESCRIPTION
14  
15 This is a wrapper around L<XML::Feed::Entry> with support for linking back to
16 the feed from the entry
17  
18 =cut
19  
20 12 has '_entry' => (
21 isa => 'XML::Feed::Entry',
22 is => 'ro',
23 required => 1,
24 handles => [qw( title link issued body summary content modified author )]
25 );
26  
27 12 has 'feed' => (
28 isa => 'Perlanet::Feed',
29 is => 'ro',
30 required => 1
31 );
32  
33 12 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
34 12 __PACKAGE__->meta->make_immutable;
35 12 1;
« Perlanet/Types.pm ↑ Summary