Bitly/Util.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.8% 23 / 24 CC 2 SCAR 2.9
CC
2
Cov
100%
make_entries
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Bitly/Result/ClicksByDay.pm ↑ Summary Bitly/Result/Validate.pm »
1 package WebService::Bitly::Util;
2  
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use WebService::Bitly::Entry;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 10 ▶sub make_entries {
Subroutine make_entries: called CC=2 SCAR=6.9
Pod undocumented
10 10 my ($class, $entries) = @_;
11 10 my $results;
12  
13 10 for my $entry (@$entries) {
14 18 push @$results, WebService::Bitly::Entry->new($entry);
15 }
16  
17 10 return $results;
18 }
19  
20 1 1;
« Bitly/Result/ClicksByDay.pm ↑ Summary Bitly/Result/Validate.pm »