Export/GPT/Partition.pm

filter: Statementstmt 100% 16 / 16 Branchbran 83.3% 5 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 3 / 3 totaltotal 96.8% 31 / 32 CC 4 SCAR 4.9
CC
4
Cov
95%
flags
2.1
type
2.0
guid
2.0
CRAP 1.6
« Export/LogAny.pm ↑ Summary Export/VFAT/File.pm »
1 package Sys::Export::GPT::Partition;
2  
3 2 our $VERSION = '0.006'; # VERSION
4 # ABSTRACT: Describes a partition entry for a GPT partition table
5  
6 2 ▶use v5.26;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use experimental qw( signatures );
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use parent 'Sys::Export::Extent';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 18 ▶sub type($self, @v) { @v? ($self->{type}= $v[0]) : $self->{type} }
Subroutine type: called CC=2 SCAR=6.9
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
@v ? : 5 13 18
13 15 ▶sub guid($self, @v) { @v? ($self->{guid}= $v[0]) : $self->{guid} }
Subroutine guid: called CC=2 SCAR=6.9
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
@v ? : 5 10 15
14 5 ▶sub flags($self, @v) { @v? ($self->{flags}= $v[0]) : $self->{flags} }
Subroutine flags: called CC=2 SCAR=7.6
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
@v ? : 0 5 5
15  
16 2 1;
17  
18 __END__
« Export/LogAny.pm ↑ Summary Export/VFAT/File.pm »