App/Chart/Gtk2/Symlist/Favourites.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 31 CC 1 SCAR 6.9
CC
1
Cov
0%
name
2.0
can_delete_symlist
2.0
instance
2.0
CRAP 2.0
1 # Copyright 2007, 2008, 2009, 2011 Kevin Ryde
2  
3 # This file is part of Chart.
4 #
5 # Chart is free software; you can redistribute it and/or modify it under the
6 # terms of the GNU General Public License as published by the Free Software
7 # Foundation; either version 3, or (at your option) any later version.
8 #
9 # Chart is distributed in the hope that it will be useful, but WITHOUT ANY
10 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12 # details.
13 #
14 # You should have received a copy of the GNU General Public License along
15 # with Chart. If not, see <http://www.gnu.org/licenses/>.
16  
17  
18 package App::Chart::Gtk2::Symlist::Favourites;
19 use strict;
20 use warnings;
21 use Locale::TextDomain ('App-Chart');
22  
23 use App::Chart::Gtk2::Symlist::User;
24 use Glib::Object::Subclass
25 'App::Chart::Gtk2::Symlist::User';
26  
27 sub name { return __('Favourites'); }
28 sub can_delete_symlist { return 0; }
29  
30 sub instance {
31 my ($class) = @_;
32 return $class->new_from_key ('favourites');
33 }
34  
35 1;
36 __END__