LanguageServer/Req.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 81.8% 18 / 22 CC 1 SCAR 2.2
CC
1
Cov
88%
cancel_req
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« LanguageServer/DevTool.pm ↑ Summary
1 package Perl::LanguageServer::Req ;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Moose ;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶no warnings 'uninitialized' ;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # ---------------------------------------------------------------------------
9  
10 1 has 'id' =>
11 (
12 isa => 'Maybe[Str]',
13 is => 'ro'
14 ) ;
15  
16 1 has 'params' =>
17 (
18 isa => 'HashRef',
19 is => 'ro'
20 ) ;
21  
22 1 has 'cancel' =>
23 (
24 isa => 'Bool',
25 is => 'rw',
26 default => 0,
27 ) ;
28  
29 1 has 'is_dap' =>
30 (
31 isa => 'Bool',
32 is => 'rw',
33 default => 0,
34 ) ;
35  
36 1 has 'type' =>
37 (
38 isa => 'Str',
39 is => 'rw',
40 ) ;
41  
42 # ---------------------------------------------------------------------------
43  
44 sub cancel_req
45 0 ▶ {
Subroutine cancel_req: not called CC=1 SCAR=6.9
Pod undocumented
46 0 my ($self) = @_ ;
47  
48 0 $self -> cancel (1) ;
49  
50 }
51  
52  
53 # ---------------------------------------------------------------------------
54  
55 1 1 ;
56  
« LanguageServer/DevTool.pm ↑ Summary