lib/Serge/Engine/Plugin/Base/Parser.pm

filter: Statementstmt 86.6% 13 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 80.9% 17 / 21 SCAR 0.0
CC
1
Cov
87%
parse
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Serge/Sync/Plugin/Base/TranslationService.pm ↑ Summary lib/Serge/Engine/Plugin/serialize_xliff.pm »
1 package Serge::Engine::Plugin::Base::Parser;
2 2 ▶use parent Serge::Plugin::Base::Callback;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # virtual method, implementation must be provided in child classes
7 sub parse {
8 0 ▶ my ($self, $textref, $callbackref, $lang) = @_;
Subroutine parse: not called CC=1 SCAR=6.9
Pod undocumented
9 0 die "Please define your parse method";
10 }
11  
12 2 1;
« lib/Serge/Sync/Plugin/Base/TranslationService.pm ↑ Summary lib/Serge/Engine/Plugin/serialize_xliff.pm »