blib/lib/Marky/Controller/Db.pm

filter: Statementstmt 21.7% 5 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 11.1% 1 / 9 Podpod 100% 8 / 8 totaltotal 35.0% 14 / 40 CC 1 SCAR 6.4
CC
1
Cov
22%
tables
2.0
options
2.0
taglist
2.0
CRAP 1.9
« Build ↑ Summary blib/lib/Marky/Generator.pm »
1 package Marky::Controller::Db;
2 1 $Marky::Controller::Db::VERSION = '0.035';
3 #ABSTRACT: Marky::Controller::Db - Database controller for Marky
4  
5 1 ▶use Mojo::Base 'Mojolicious::Controller';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub tables {
8 0 ▶ my $c = shift;
Subroutine tables: not called CC=1 SCAR=6.9
Pod documented
9 0 $c->render(template=>'tables');
10 }
11  
12 sub options {
13 0 ▶ my $c = shift;
Subroutine options: not called CC=1 SCAR=6.9
Pod documented
14 0 $c->marky_set_options();
15 0 $c->render(template => 'settings');
16 }
17  
18 sub taglist {
19 0 ▶ my $c = shift;
Subroutine taglist: not called CC=1 SCAR=6.9
Pod documented
20 0 $c->render(template=>'taglist');
21 }
22  
23 sub tagcloud {
24 0 ▶ my $c = shift;
Subroutine tagcloud: not called CC=1 SCAR=6.9
Pod documented
25 0 $c->render(template=>'tagcloud');
26 }
27  
28 sub query {
29 0 ▶ my $c = shift;
Subroutine query: not called CC=1 SCAR=6.9
Pod documented
30 0 $c->marky_do_query();
31 }
32  
33 sub tags {
34 0 ▶ my $c = shift;
Subroutine tags: not called CC=1 SCAR=6.9
Pod documented
35 0 $c->marky_do_query();
36 }
37  
38 sub add_bookmark {
39 0 ▶ my $c = shift;
Subroutine add_bookmark: not called CC=1 SCAR=6.9
Pod documented
40 0 $c->render(template=>'add_bookmark');
41 }
42  
43 sub save_bookmark {
44 0 ▶ my $c = shift;
Subroutine save_bookmark: not called CC=1 SCAR=6.9
Pod documented
45 0 $c->marky_save_new_bookmark();
46 0 $c->render(template=>'save_bookmark');
47 }
48  
49  
50 1 1;
51  
52 __END__
« Build ↑ Summary blib/lib/Marky/Generator.pm »