Cellucidate/Model.pm

filter: Statementstmt 33.3% 6 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 5 totaltotal 31.0% 9 / 29 CC 1 SCAR 4.1
CC
1
Cov
33%
model_rules
2.0
initial_conditions
2.0
simulation_runs
2.0
CRAP 1.5
« Cellucidate/Book.pm ↑ Summary Cellucidate/KappaImportJob.pm »
1 package Bio::Cellucidate::Model;
2  
3 7 ▶use base Bio::Cellucidate::Base;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 6 ▶sub route { '/models'; }
Subroutine route: called CC=1 SCAR=0.0
Pod undocumented
6 4 ▶sub element { 'model'; }
Subroutine element: called CC=1 SCAR=0.0
Pod undocumented
7  
8 # Bio::Cellucidate::Book->models_rules($model_id);
9 0 ▶sub model_rules {
Subroutine model_rules: not called CC=1 SCAR=6.9
Pod undocumented
10 0 my $self = shift;
11 0 my $id = shift;
12 0 my $format = shift;
13  
14 0 $self->rest('GET', $self->route . "/$id" . Bio::Cellucidate::ModelRule->route, $format)->processResponseAsArray(Bio::Cellucidate::ModelRule->element);
15 }
16  
17 # Bio::Cellucidate::Book->initial_conditions($model_id);
18 0 ▶sub initial_conditions {
Subroutine initial_conditions: not called CC=1 SCAR=6.9
Pod undocumented
19 0 my $self = shift;
20 0 my $id = shift;
21 0 my $format = shift;
22  
23 0 $self->rest('GET', $self->route . "/$id" . Bio::Cellucidate::InitialCondition->route, $format)->processResponseAsArray(Bio::Cellucidate::InitialCondition->element);
24 }
25  
26 # Bio::Cellucidate::Book->simulation_runs($model_id);
27 0 ▶sub simulation_runs {
Subroutine simulation_runs: not called CC=1 SCAR=6.9
Pod undocumented
28 0 my $self = shift;
29 0 my $id = shift;
30 0 my $format = shift;
31
32 0 $self->rest('GET', $self->route . "/$id" . Bio::Cellucidate::SimulationRun->route, $format)->processResponseAsArray(Bio::Cellucidate::SimulationRun->element);
33 }
34  
35 7 1;
« Cellucidate/Book.pm ↑ Summary Cellucidate/KappaImportJob.pm »