blib/lib/App/Prove/Elasticsearch/Platformer/Default.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/App/Prove/Elasticsearch/Blamer/Git.pm ↑ Summary blib/lib/App/Prove/Elasticsearch/Versioner/Git.pm »
1 # ABSTRACT: Determine the platform of the system under test via System::Info for upload to elasticsearch
2 # PODNAME: App::Prove::Elasticsearch::Platformer::Default
3  
4 package App::Prove::Elasticsearch::Platformer::Default;
5 3 $App::Prove::Elasticsearch::Platformer::Default::VERSION = '0.001';
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶use System::Info;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 ▶sub get_platforms {
Subroutine get_platforms: called CC=1 SCAR=0.0
Pod documented
13 1 my $details = System::Info::sysinfo_hash();
14 1 return [ $details->{osname}, $details->{distro}, "Perl $]" ];
15 }
16  
17 3 1;
18  
19 __END__
« blib/lib/App/Prove/Elasticsearch/Blamer/Git.pm ↑ Summary blib/lib/App/Prove/Elasticsearch/Versioner/Git.pm »