blib/conf/plugins/test.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 33 CC 1 SCAR 6.9
CC
1
Cov
0%
name
2.0
description
2.0
dump
2.0
CRAP 2.0
1 package Bio::Graphics::Browser2::Plugin::test;
2 # $Id: test.pm,v 1.1 2002-03-25 05:31:45 lstein Exp $
3 # test plugin
4 use strict;
5 use Bio::Graphics::Browser2::Plugin;
6 use CGI qw(param url header p);
7  
8 use vars '$VERSION','@ISA';
9 $VERSION = '0.10';
10  
11 @ISA = qw(Bio::Graphics::Browser2::Plugin);
12  
13 sub name { "Test" }
14 sub description {
15 p("This is the Test plugin, used to test that the dump architecture is working properly.");
16 }
17 sub dump {
18 my $self = shift;
19 my $segment = shift;
20 print header('text/plain');
21 my $dna = $segment->dna;
22 $dna =~ s/(.{1,60})/$1\n/g;
23 print ">$segment\n";
24 print $dna;
25 }
26  
27 1;