lib/Serge/Engine/Plugin/parse_bypass.pm

filter: Statementstmt 70.0% 7 / 10 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 2 totaltotal 50.0% 9 / 18 SCAR 8.3
CC
2
Cov
58%
parse
6.0
name
2.0
BEGIN
1.0
CRAP 2.3
« lib/Serge/Command/show.pm ↑ Summary lib/Serge/Engine/Plugin/parse_keyvalue.pm »
1 package Serge::Engine::Plugin::parse_bypass;
2 1 ▶use parent Serge::Engine::Plugin::Base::Parser;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 sub name {
7 0 ▶ return 'Bypass parser plugin (returns original text)';
Subroutine name: not called CC=1 SCAR=6.9
Pod undocumented
8 }
9  
10 sub parse {
11 0 ▶ my ($self, $textref, $callbackref, $lang) = @_;
Subroutine parse: not called CC=2 SCAR=17.9
Pod undocumented
12 0 ▶ return $lang ? $$textref : undef;
Branch: 1 branch
BranchTrueFalseTotal
$lang ? : 0 0 0
13 }
14  
15 1 1;
« lib/Serge/Command/show.pm ↑ Summary lib/Serge/Engine/Plugin/parse_keyvalue.pm »