Spore/Middleware/Format/Text.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 4 / 4 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
encode
1.0
decode
1.0
CRAP 1.0
« Spore/Middleware/Format/JSON.pm ↑ Summary Spore/Role/UserAgent.pm »
1 package Net::HTTP::Spore::Middleware::Format::Text;
2 2 $Net::HTTP::Spore::Middleware::Format::Text::VERSION = '0.09';
3 # ABSTRACT: middleware for Text format
4 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 extends 'Net::HTTP::Spore::Middleware::Format';
6  
7 1 ▶sub encode { $_[1] }
Subroutine encode: called CC=1 SCAR=0.0
Pod documented
8 2 ▶sub decode { $_[1] }
Subroutine decode: called CC=1 SCAR=0.0
Pod documented
9 2 ▶sub accept_type { ( 'Accept' => 'text/plain' ) }
Subroutine accept_type: called CC=1 SCAR=0.0
Pod documented
10 1 ▶sub content_type { ( 'Content-Type' => 'text/plain' ) }
Subroutine content_type: called CC=1 SCAR=0.0
Pod documented
11  
12 2 1;
13  
14 __END__
« Spore/Middleware/Format/JSON.pm ↑ Summary Spore/Role/UserAgent.pm »