Provision/Hmmer.pm

filter: Statementstmt 83.3% 15 / 18 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 33.3% 1 / 3 totaltotal 70.9% 22 / 31 CC 3 SCAR 7.2
CC
3
Cov
77%
condition
3.1
deps
2.0
meet
2.0
CRAP 2.1
« Provision/Exonerate.pm ↑ Summary Provision/Mafft.pm »
1 package Bio::MUST::Provision::Hmmer;
2 # ABSTRACT: Internal class for app provisioning system
3 1 $Bio::MUST::Provision::Hmmer::VERSION = '0.210160';
4 # AUTOGENERATED CODE! DO NOT MODIFY THIS FILE!
5  
6 1 ▶use Modern::Perl '2011';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use parent qw(App::Provision::Tiny);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 0 ▶sub deps { return qw(brew) }
Subroutine deps: not called CC=1 SCAR=6.9
Pod undocumented
13  
14 sub condition {
15 1 ▶ my $self = shift;
Subroutine condition: called CC=3 SCAR=11.4
Pod documented
16  
17 1 my $condition = qx{which hmmsearch} =~ m/hmmsearch$/xms;
18 1 ▶ carp '[BMD] Note: HMMER executable not found; I can try brewing it.'
Branch: 1 branch
BranchTrueFalseTotal
unless $condition 1 0 1
19 unless $condition;
20  
21 1 ▶ return $condition ? 1 : 0;
Branch: 1 branch
BranchTrueFalseTotal
$condition ? : 0 1 1
22 }
23  
24 sub meet {
25 0 ▶ my $self = shift;
Subroutine meet: not called CC=1 SCAR=6.9
Pod undocumented
26  
27 0 return $self->recipe(
28 ['brew tap brewsci/bio'],
29 ['brew install hmmer'],
30 );
31 }
32  
33 1 1;
34  
35 __END__
36  
37 =pod
38  
39 =head1 NAME
40  
41 Bio::MUST::Provision::Hmmer - Internal class for app provisioning system
42  
43 =head1 VERSION
44  
45 version 0.210160
46  
47 =head1 AUTHOR
48  
49 Denis BAURAIN <denis.baurain@uliege.be>
50  
51 =head1 COPYRIGHT AND LICENSE
52  
53 This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN.
54  
55 This is free software; you can redistribute it and/or modify it under
56 the same terms as the Perl 5 programming language system itself.
57  
58 =cut
« Provision/Exonerate.pm ↑ Summary Provision/Mafft.pm »