File Coverage

blib/lib/WWW/Formspring/User.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package WWW::Formspring::User;
2              
3 1     1   26099 use Moose;
  0            
  0            
4              
5             use WWW::Formspring;
6              
7             has 'username' => ( is => 'rw', isa => 'Str', predicate => 'has_username' );
8             has 'name' => ( is => 'rw', isa => 'Str', predicate => 'has_name' );
9             has 'website' => ( is => 'rw', isa => 'Str', predicate => 'has_website' );
10             has 'location' => ( is => 'rw', isa => 'Str', predicate => 'has_location' );
11             has 'bio' => ( is => 'rw', isa => 'Str', predicate => 'has_bio' );
12             has 'photo_url' => ( is => 'rw', isa => 'Str', predicate => 'has_photo_url' );
13             has 'answered_count' => ( is => 'rw', isa => 'Int', predicate => 'has_answered_count' );
14             has 'is_following' => ( is => 'rw', isa => 'Bool', predicate => 'has_is_following' );
15             has 'protected' => ( is => 'rw', isa => 'Bool' );
16             has 'taking_questions' => (is => 'rw', isa => 'Bool' );
17              
18             __PACKAGE__->meta->make_immutable;
19              
20             1;