Interface/Element.pm

filter: Statementstmt 90.4% 19 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 89.6% 26 / 29 CC 1 SCAR 1.3
CC
1
Cov
90%
natural_language
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Interface/Fragment.pm ↑ Summary Interface/Modifier.pm »
1 # Copyright (c) 2026 Philipp Schafft
2  
3 # licensed under Artistic License 2.0 (see LICENSE file)
4  
5 # ABSTRACT: module to interact with the elements (words or strings of words) of any language
6  
7  
8 package Lingua::Generic::Interface::Element;
9  
10 1 ▶use v5.20;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use Data::Identifier v0.34;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 1 our $VERSION = v0.03;
18  
19 1 ▶use parent 'Lingua::Generic::Interface::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21  
22 0 ▶sub natural_language {
Subroutine natural_language: not called CC=1 SCAR=6.9
Pod documented
23 0 my ($self) = @_;
24 ...
25 0 }
26  
27  
28 # ---- Private helpers ----
29  
30 1 1;
31  
32 __END__
« Interface/Fragment.pm ↑ Summary Interface/Modifier.pm »