OPCS4/Term.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OPCS4/Graph.pm ↑ Summary
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Medical::OPCS4::Term;
5 # ABSTRACT: An OPCS4 term object.
6  
7 1 ▶use base 'Class::Accessor';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 Medical::OPCS4::Term->mk_accessors( qw( term description) );
10  
11 =head1 METHODS
12  
13 =head2 description
14  
15 Returns a scalar containing the term's description.
16  
17 my $desc = $O->description;
18  
19 =cut
20  
21 =head2 term
22  
23 Returns a scalar containing the term's name.
24  
25 my $term = $O->term;
26  
27 =cut
28  
29 1 1;
« OPCS4/Graph.pm ↑ Summary