blib/lib/Bio/Graphics/Glyph/alignment.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
my_description
2.0
my_options
2.0
BEGIN
2.0
CRAP 2.0
1 package Bio::Graphics::Glyph::alignment;
2  
3 use strict;
4  
5 use base qw(Bio::Graphics::Glyph::graded_segments);
6  
7 sub my_description {
8 return <<END;
9 This glyph is a synonym for the "graded_segments" glyph, and is used for
10 drawing features that consist of discontinuous segments. The
11 color intensity of each segment is proportional to the score.
12 END
13 }
14 sub my_options {
15 return {
16 max_score => [
17 'integer',
18 undef,
19 "Maximum value of the feature's \"score\" attribute."],
20 min_score => [
21 'integer',
22 undef,
23 "Minimum value of the feature's \"score\" attribute."],
24 vary_fg => [
25 'boolean',
26 undef,
27 "Vary the foreground color as well as the background."],
28 merge_parts => [
29 'boolean',
30 undef,
31 "At low magnifications, smooth small gaps to improve the visual display.",
32 "See this glyph's manual page for the gory details."],
33 max_gap => [
34 'integer',
35 undef,
36 'Do not merge across gaps that exceed this threshold.'],
37 }
38 }
39  
40 1;
41  
42 __END__