File Coverage

blib/lib/Pithub/GitData.pm
Criterion Covered Total %
statement 26 26 100.0
branch n/a
condition n/a
subroutine 12 12 100.0
pod 5 5 100.0
total 43 43 100.0


line stmt bran cond sub pod time code
1             package Pithub::GitData;
2             our $AUTHORITY = 'cpan:PLU';
3             our $VERSION = '0.01040';
4             # ABSTRACT: Github v3 Git Data API
5              
6 15     15   97 use Moo;
  15         36  
  15         80  
7 15     15   3977 use Carp ();
  15         34  
  15         301  
8 15     15   5931 use Pithub::GitData::Blobs;
  15         56  
  15         378  
9 15     15   5898 use Pithub::GitData::Commits;
  15         41  
  15         380  
10 15     15   5786 use Pithub::GitData::References;
  15         72  
  15         441  
11 15     15   5930 use Pithub::GitData::Tags;
  15         41  
  15         367  
12 15     15   5814 use Pithub::GitData::Trees;
  15         38  
  15         1938  
13             extends 'Pithub::Base';
14              
15              
16             sub blobs {
17 1     1 1 438 return shift->_create_instance('Pithub::GitData::Blobs', @_);
18             }
19              
20              
21             sub commits {
22 1     1 1 1172 return shift->_create_instance('Pithub::GitData::Commits', @_);
23             }
24              
25              
26             sub references {
27 1     1 1 1159 return shift->_create_instance('Pithub::GitData::References', @_);
28             }
29              
30              
31             sub tags {
32 1     1 1 1166 return shift->_create_instance('Pithub::GitData::Tags', @_);
33             }
34              
35              
36             sub trees {
37 1     1 1 1489 return shift->_create_instance('Pithub::GitData::Trees', @_);
38             }
39              
40             1;
41              
42             __END__