Treex/Core/TredView/AnnotationCommand.pm

filter: Statementstmt 53.3% 8 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 52.3% 11 / 21 CC 2 SCAR 12.5
CC
2
Cov
47%
run
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5
« Treex/Core/BundleZone.pm ↑ Summary Treex/Core/Phrase.pm »
1 package Treex::Core::TredView::AnnotationCommand;
2 2 $Treex::Core::TredView::AnnotationCommand::VERSION = '2.20210102';
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use Treex::Core::Log;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 0 ▶sub run {
Subroutine run: not called CC=2 SCAR=17.9
Pod documented
7 0 my ( $command, $node ) = @_;
8  
9 0 my ( $short_command, $argument ) = split / /, $command;
10  
11 0 print "in AnnotationCommand1\n";
12  
13 0 ▶ if ( $short_command eq 'd' ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($short_command eq "d") 0 0 0
14 0 print "in AnnotationCommand2\n";
15 0 $node->set_conll_deprel($argument);
16 }
17 0 return;
18 }
19  
20 2 1;
21  
22 __END__
« Treex/Core/BundleZone.pm ↑ Summary Treex/Core/Phrase.pm »