blib/lib/Minima/View/PlainText.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 23 / 23 CC 2 SCAR 2.5
CC
2
Cov
100%
render
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Minima.pm ↑ Summary eg/lib/Controller.pm »
1 5 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 5 ▶use experimental 'class';
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 5 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 ▶class Minima::View::PlainText :isa(Minima::View);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 8 ▶method prepare_response ($response)
Subroutine prepare_response: called CC=1 SCAR=0.0
Pod documented
9 {
10 8 $response->content_type('text/plain; charset=utf-8');
11 }
12  
13 10 ▶method render ($data = '')
Subroutine render: called CC=2 SCAR=6.9
Pod documented
14 {
15 10 utf8::encode($data);
16 10 $data;
17 }
18  
19 __END__
« blib/lib/Minima.pm ↑ Summary eg/lib/Controller.pm »