File Coverage

lib/App/Sandy/Command/Citation.pm
Criterion Covered Total %
statement 3 6 50.0
branch 0 2 0.0
condition n/a
subroutine 1 3 33.3
pod 2 2 100.0
total 6 13 46.1


line stmt bran cond sub pod time code
1             package App::Sandy::Command::Citation;
2             # ABSTRACT: citation command class. Print citation
3              
4 1     1   1448 use App::Sandy::Base 'class';
  1         3  
  1         7  
5              
6             extends 'App::Sandy::CLI::Command';
7              
8             our $VERSION = '0.22'; # VERSION
9              
10             sub validate_args {
11 0     0 1   my ($self, $args) = @_;
12 0 0         die "Too many arguments: '@$args'\n" if @$args;
13             }
14              
15             sub execute {
16 0     0 1   print <<'EOP';
17             You can cite all versions by using the following DOI:
18              
19             Thiago Miller. (2018, May 6).
20             galantelab/sandy: A straightforward and complete next-generation sequencing read simulator.
21             Zenodo. http://doi.org/10.5281/zenodo.1241587
22              
23             BibTeX:
24              
25             @misc{thiago_miller_sandy,
26             author = {Thiago Miller},
27             title = {galantelab/sandy: A straightforward and complete next-generation sequencing read simulator},
28             month = may,
29             year = 2018,
30             doi = {10.5281/zenodo.1241587},
31             url = {https://doi.org/10.5281/zenodo.1241587}
32             }
33              
34             This DOI represents all versions, and will always resolve to the latest one.
35             If you want to cite a specific version, please point to https://zenodo.org/record/1241587
36              
37             EOP
38             }
39              
40             __END__
41              
42             =pod
43              
44             =encoding UTF-8
45              
46             =head1 NAME
47              
48             App::Sandy::Command::Citation - citation command class. Print citation
49              
50             =head1 VERSION
51              
52             version 0.22
53              
54             =head1 AUTHORS
55              
56             =over 4
57              
58             =item *
59              
60             Thiago L. A. Miller <tmiller@mochsl.org.br>
61              
62             =item *
63              
64             J. Leonel Buzzo <lbuzzo@mochsl.org.br>
65              
66             =item *
67              
68             Felipe R. C. dos Santos <fsantos@mochsl.org.br>
69              
70             =item *
71              
72             Helena B. Conceição <hconceicao@mochsl.org.br>
73              
74             =item *
75              
76             Gabriela Guardia <gguardia@mochsl.org.br>
77              
78             =item *
79              
80             Fernanda Orpinelli <forpinelli@mochsl.org.br>
81              
82             =item *
83              
84             Pedro A. F. Galante <pgalante@mochsl.org.br>
85              
86             =back
87              
88             =head1 COPYRIGHT AND LICENSE
89              
90             This software is Copyright (c) 2018 by Teaching and Research Institute from Sírio-Libanês Hospital.
91              
92             This is free software, licensed under:
93              
94             The GNU General Public License, Version 3, June 2007
95              
96             =cut