Microarray/Analysis.pm untested

filter: Statementstmt 0.0% 0 / 40 Branchbran 0.0% 0 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 14 Podpod 0.0% 0 / 11 totaltotal 0.0% 0 / 71 CC 4 SCAR 12.3
CC
4
Cov
0%
new
6.0
data_object
6.0
reporters
6.0
CRAP 3.4
1 package Microarray::Analysis;
2  
3 use 5.006;
4 use strict;
5 use warnings;
6  
7 our $VERSION = '1.4';
8  
9 { package analysis;
10  
11 sub new {
12 my $class = shift;
13 if (@_) {
14 my $data_source = shift;
15 my $self = { _data_source => $data_source };
16 bless $self, $class;
17 return $self;
18 } else {
19 die "Microarray::Analysis ERROR: Data Source Required to Create a New Analysis Object";
20 }
21 }
22 sub DESTROY {
23 my $self = shift;
24 }
25 sub data_source {
26 my $self = shift;
27 $self->{_data_source};
28 }
29  
30 sub analysis_results {
31 my $self = shift;
32 $self->{_analysis_results};
33 }
34  
35 sub parsed_results {
36 my $self = shift;
37 $self->{_parsed_results};
38 }
39 sub x_values {
40 my $self = shift;
41 $self->{ _x_values };
42 }
43 sub y_values {
44 my $self = shift;
45 $self->{ _y_values };
46 }
47 sub data_object {
48 my $self = shift;
49 @_ ? $self->{ _data_object } = shift
50 : $self->{ _data_object };
51 }
52 sub data {
53 my $self = shift;
54 $self->{ _data };
55 }
56 sub reporters {
57 my $self = shift;
58 unless (defined $self->{ _reporters }){
59 $self->{ _reporters } = {};
60 }
61 $self->{ _reporters };
62 }
63 sub reporter_names {
64 my $self = shift;
65 $self->{ _reporter_names };
66 }
67 }
68  
69 1;
70  
71 __END__