Formspring/Question.pm

filter: Statementstmt 86.6% 13 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 78.9% 15 / 19 CC 1 SCAR 2.9
CC
1
Cov
87%
ask
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Formspring.pm ↑ Summary Formspring/Response.pm »
1 package WWW::Formspring::Question;
2  
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 ▶use WWW::Formspring;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 has 'id' => ( is => 'rw', isa => 'Int' );
8 2 has 'question' => ( is => 'rw', isa => 'Str' );
9 2 has 'time' => ( is => 'rw', isa => 'Str' );
10 2 has 'asked_by' => ( is => 'rw', isa => 'WWW::Formspring::User', predicate => 'has_asked_by' );
11 2 has 'asked_to' => ( is => 'rw', isa => 'WWW::Formspring::User', predicate => 'has_asked_to' );
12  
13 0 ▶sub ask {
Subroutine ask: not called CC=1 SCAR=6.9
Pod undocumented
14 0 my ($self) = @_;
15  
16 0 WWW::Formspring->profile_ask($self);
17 }
18  
19 2 __PACKAGE__->meta->make_immutable;
20  
21 2 1
« Formspring.pm ↑ Summary Formspring/Response.pm »