Moose/Sweep/DataFile.pm

filter: Statementstmt 80.0% 12 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 75.0% 15 / 20 SCAR 0.1
CC
1
Cov
80%
add_plot
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Moose/Connection/WWW.pm ↑ Summary Moose/Sweep/Step/Temperature.pm »
1 package Lab::Moose::Sweep::DataFile;
2 4 $Lab::Moose::Sweep::DataFile::VERSION = '3.881';
3 # ABSTRACT: Store parameters of datafile and its plots.
4 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use MooseX::Params::Validate 'validated_hash';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 has params => ( is => 'ro', isa => 'HashRef', required => 1 );
8  
9 has plots => (
10 is => 'ro', isa => 'ArrayRef[HashRef]',
11 17 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
12 4 );
13  
14 sub add_plot {
15 0 ▶ my ( $self, %args )
Subroutine add_plot: not called CC=1 SCAR=6.9
Pod undocumented
16 = validated_hash( \@_, MX_PARAMS_VALIDATE_ALLOW_EXTRA => 1 );
17 0 push @{ $self->plots }, \%args;
18 }
19  
20 4 __PACKAGE__->meta->make_immutable();
21 4 1;
22  
23 __END__
24  
25 =pod
26  
27 =encoding UTF-8
28  
29 =head1 NAME
30  
31 Lab::Moose::Sweep::DataFile - Store parameters of datafile and its plots.
32  
33 =head1 VERSION
34  
35 version 3.881
36  
37 =head1 COPYRIGHT AND LICENSE
38  
39 This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
40  
41 Copyright 2017 Simon Reinhardt
42  
43  
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46  
47 =cut
« Moose/Connection/WWW.pm ↑ Summary Moose/Sweep/Step/Temperature.pm »