Coverage Report

Statementstmt 1.9% 260 / 13545 Branchbran 0.1% 6 / 3326 Conditioncond 0.0% 1 / 1864 MC/DCmcdc 0.0% 0 / 78 Subroutinesub 6.7% 75 / 1106 Podpod 0.0% 0 / 820 totaltotal 1.6% 342 / 20739 scar 149.0 CC 1757 · cov 1% · CRAP 2958693.7

Top SCAR

blib/lib/Lingua/Ogmios/NLPWrappers/Wrapper.pm untested 123.6
CC
482
Cov
0%
_mergeTerms
1190.0
_searchPattern
462.0
_parseTreeTaggerFormatOutput
380.0
CRAP 232806.0
blib/lib/Lingua/Ogmios/Annotations/Level.pm 93.4
CC
108
Cov
1%
addElementToIndex
210.0
delElementToIndexes
156.0
addElementToTokenIndex
132.0
CRAP 11367.2
blib/lib/Lingua/Ogmios/Config.pm 86.4
CC
79
Cov
4%
print
132.0
_printLinguisticAnnotationDOT
42.0
printVar
20.0
CRAP 5681.5
blib/lib/Lingua/Ogmios/NLPWrappers/YaTeA.pm untested 85.7
CC
72
Cov
0%
_outputParsing
930.0
run
930.0
_makeCRFINPUT
72.0
CRAP 5256.0
blib/lib/Lingua/Ogmios/NLPWrappers/TermTagger.pm untested 83.0
CC
63
Cov
0%
_outputParsing
812.0
run
110.0
new
30.0
CRAP 4032.0
15 files < 75%
1 file 75-90%
2 files 90-100%
1 file 100%
43 untested files
15 < 75% 1 75-90% 2 90-100% 1 at 100% 43 untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal SCAR
(root) 87.8 36 / 4137.5 6 / 1633.3 1 / 30.0 0 / 2100 7 / 7n/a 72.4 50 / 69 20.9
CC
7
Cov
72%
CRAP 8.1
Build 87.8 36 / 4137.5 6 / 1633.3 1 / 30.0 0 / 2100 7 / 7n/a 72.4 50 / 69 20.9
CC
7
Cov
72%
BEGIN
8.1
magic_number_matches
3.1
BEGIN
1.0
CRAP 8.1
_build/lib/Module/Build 100 5 / 5n/a n/a n/a 100 1 / 1n/a 100 6 / 6 0.0
CC
1
Cov
100%
CRAP 1.0
Custom.pm 100 5 / 5n/a n/a n/a 100 1 / 1n/a 100 6 / 6 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
blib/lib/Lingua 86.6 13 / 15n/a n/a n/a 100 5 / 5n/a 90.0 18 / 20 0.0
CC
1
Cov
87%
CRAP 1.0
Ogmios.pm 86.6 13 / 15n/a n/a n/a 100 5 / 5n/a 90.0 18 / 20 0.0
CC
1
Cov
87%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
blib/lib/Lingua/Ogmios 5.1 70 / 13580.0 0 / 3100.0 0 / 550.0 0 / 410.3 24 / 2330.0 0 / 1804.3 94 / 2140 101.2
CC
167
Cov
4%
CRAP 24793.1
Config.pm 4.6 20 / 4260.0 0 / 1340.0 0 / 60.0 0 / 45.9 6 / 1010.0 0 / 793.4 26 / 750 86.4
CC
79
Cov
4%
print
132.0
_printLinguisticAnnotationDOT
42.0
printVar
20.0
CRAP 5681.5
DocumentRecord.pm untested 0.0 0 / 2900.0 0 / 760.0 0 / 24n/a 0.0 0 / 180.0 0 / 140.0 0 / 422 73.5
CC
39
Cov
0%
tokenisation2
240.0
computeSectionFromToken
90.0
tokenisation
72.0
CRAP 1560.0
LearningDataSet.pm untested 0.0 0 / 2530.0 0 / 560.0 0 / 13n/a 0.0 0 / 290.0 0 / 270.0 0 / 378 67.7
CC
29
Cov
0%
parseData
56.0
classes
30.0
parseARFF
30.0
CRAP 870.0
Timer.pm untested 0.0 0 / 2050.0 0 / 320.0 0 / 6n/a 0.0 0 / 430.0 0 / 400.0 0 / 326 57.2
CC
17
Cov
0%
suspendWithUserTime
30.0
endsLapByCategory
12.0
suspend
12.0
CRAP 306.0
DocumentCollection.pm untested 0.0 0 / 1300.0 0 / 120.0 0 / 6n/a 0.0 0 / 240.0 0 / 200.0 0 / 192 40.3
CC
7
Cov
0%
new
12.0
_parseDocumentCollectionFromFile
12.0
_parseDocumentCollectionFromData
12.0
CRAP 56.0
FileManager.pm 83.3 10 / 12n/a n/a n/a 100 4 / 4n/a 87.5 14 / 16 0.0
CC
1
Cov
83%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Annotations.pm 95.2 40 / 42n/a n/a n/a 100 14 / 14n/a 96.4 54 / 56 0.0
CC
1
Cov
95%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
blib/lib/Lingua/Ogmios/Annotations 6.9 122 / 17450.0 0 / 5760.0 0 / 1380.0 0 / 7011.3 34 / 3010.0 0 / 2395.0 156 / 3069 117.1
CC
377
Cov
5%
CRAP 122383.6
Level.pm 1.6 7 / 4170.0 0 / 1360.0 0 / 450.0 0 / 273.2 2 / 610.0 0 / 571.2 9 / 743 93.4
CC
108
Cov
1%
addElementToIndex
210.0
delElementToIndexes
156.0
addElementToTokenIndex
132.0
CRAP 11367.2
Element.pm 4.0 7 / 1710.0 0 / 500.0 0 / 60.0 0 / 47.6 2 / 260.0 0 / 193.2 9 / 276 72.1
CC
38
Cov
3%
_XMLoutField
210.0
XMLout_orig
72.0
XMLout
30.0
CRAP 1352.5
Section.pm 9.0 11 / 1220.0 0 / 580.0 0 / 120.0 0 / 713.0 3 / 230.0 0 / 205.7 14 / 242 69.1
CC
34
Cov
6%
new
90.0
reference
30.0
getRank
20.0
CRAP 1002.5
Phrase.pm 8.8 11 / 1240.0 0 / 440.0 0 / 120.0 0 / 818.7 3 / 160.0 0 / 136.4 14 / 217 67.8
CC
32
Cov
6%
new
72.0
getLemmaString
42.0
getLemmaString_v1
30.0
CRAP 879.5
MorphosyntacticFeatures.pm 13.2 11 / 830.0 0 / 400.0 0 / 30.0 0 / 216.6 3 / 180.0 0 / 158.7 14 / 161 61.4
CC
24
Cov
9%
new
110.0
reference
12.0
type
6.0
CRAP 461.9
Sentence.pm 13.7 11 / 800.0 0 / 360.0 0 / 120.0 0 / 623.0 3 / 130.0 0 / 108.9 14 / 157 61.4
CC
24
Cov
9%
getTermsFromSentence
72.0
new
56.0
getWordsFromSentence
56.0
CRAP 463.9
Enumeration.pm 12.5 11 / 880.0 0 / 280.0 0 / 150.0 0 / 821.4 3 / 140.0 0 / 118.5 14 / 164 60.6
CC
23
Cov
8%
new
72.0
end_token
30.0
start_token
30.0
CRAP 429.6
Word.pm 13.2 11 / 830.0 0 / 260.0 0 / 90.0 0 / 617.6 3 / 170.0 0 / 149.0 14 / 155 56.6
CC
19
Cov
9%
new
72.0
reference
20.0
end_token
20.0
CRAP 288.2
SemanticUnit.pm 16.9 9 / 530.0 0 / 26n/a n/a 50.0 3 / 6n/a 14.1 12 / 85 52.7
CC
16
Cov
11%
new
156.0
printWeights
20.0
negation
6.0
CRAP 194.1
SyntacticRelation.pm untested 0.0 0 / 810.0 0 / 240.0 0 / 6n/a 0.0 0 / 110.0 0 / 80.0 0 / 130 52.0
CC
13
Cov
0%
new
72.0
syntactic_relation_type
6.0
refid_head
6.0
CRAP 182.0
LogProcessing.pm untested 0.0 0 / 1040.0 0 / 220.0 0 / 3n/a 0.0 0 / 250.0 0 / 220.0 0 / 176 50.5
CC
12
Cov
0%
new
72.0
list_modified_level
6.0
next
6.0
CRAP 156.0
AnaphoraRelation.pm untested 0.0 0 / 490.0 0 / 16n/a n/a 0.0 0 / 80.0 0 / 50.0 0 / 78 45.0
CC
9
Cov
0%
new
42.0
anaphora
6.0
list_refid_semantic_unit
6.0
CRAP 90.0
DomainSpecificRelation.pm untested 0.0 0 / 510.0 0 / 16n/a n/a 0.0 0 / 80.0 0 / 50.0 0 / 80 45.0
CC
9
Cov
0%
new
30.0
list_refid_semantic_unit
20.0
domain_specific_relation_type
6.0
CRAP 90.0
Stem.pm 22.9 11 / 480.0 0 / 180.0 0 / 30.0 0 / 230.0 3 / 100.0 0 / 715.9 14 / 88 44.2
CC
11
Cov
16%
new
30.0
setstem_form_idx
12.0
refid_word
6.0
CRAP 82.9
SemanticFeatures.pm untested 0.0 0 / 680.0 0 / 120.0 0 / 9n/a 0.0 0 / 110.0 0 / 80.0 0 / 108 40.3
CC
7
Cov
0%
new
30.0
semantic_category
6.0
refid_semantic_unit
6.0
CRAP 56.0
Lemma.pm 31.4 11 / 350.0 0 / 12n/a n/a 37.5 3 / 80.0 0 / 523.3 14 / 60 33.7
CC
7
Cov
23%
new
30.0
refid_word
6.0
canonical_form
6.0
CRAP 29.0
Token.pm 18.0 11 / 610.0 0 / 10n/a n/a 15.0 3 / 200.0 0 / 1712.9 14 / 108 33.2
CC
6
Cov
15%
new
42.0
getContent
2.0
setContent
2.0
CRAP 27.7
TextualUnit.pm untested 0.0 0 / 270.0 0 / 20.0 0 / 3n/a 0.0 0 / 60.0 0 / 30.0 0 / 41 17.9
CC
2
Cov
0%
reference
6.0
new
2.0
XMLout
2.0
CRAP 6.0
blib/lib/Lingua/Ogmios/Config 9.0 14 / 1540.0 0 / 460.0 0 / 30.0 0 / 216.6 4 / 240.0 0 / 197.2 18 / 248 68.7
CC
34
Cov
7%
CRAP 966.9
NLPTools.pm 9.0 14 / 1540.0 0 / 460.0 0 / 30.0 0 / 216.6 4 / 240.0 0 / 197.2 18 / 248 68.7
CC
34
Cov
7%
new
20.0
getCommandsLanguages
20.0
getResourcesLanguages
20.0
CRAP 966.9
blib/lib/Lingua/Ogmios/LearningDataSet 0.0 0 / 1760.0 0 / 720.0 0 / 6n/a 0.0 0 / 280.0 0 / 240.0 0 / 306 72.5
CC
37
Cov
0%
CRAP 1406.0
Data.pm untested 0.0 0 / 1260.0 0 / 580.0 0 / 6n/a 0.0 0 / 160.0 0 / 140.0 0 / 220 68.4
CC
30
Cov
0%
getSVM
72.0
getARFF
56.0
new
20.0
CRAP 930.0
Attribute.pm untested 0.0 0 / 500.0 0 / 14n/a n/a 0.0 0 / 120.0 0 / 100.0 0 / 86 42.8
CC
8
Cov
0%
index
6.0
name
6.0
prefix
6.0
CRAP 72.0
blib/lib/Lingua/Ogmios/NLPWrappers 0.0 0 / 93390.0 0 / 21560.0 0 / 1630n/a 0.0 0 / 4680.0 0 / 3310.0 0 / 13924 139.7
CC
1079
Cov
0%
CRAP 1165320.0
Wrapper.pm untested 0.0 0 / 32910.0 0 / 9620.0 0 / 699n/a 0.0 0 / 1510.0 0 / 1370.0 0 / 5240 123.6
CC
482
Cov
0%
_mergeTerms
1190.0
_searchPattern
462.0
_parseTreeTaggerFormatOutput
380.0
CRAP 232806.0
YaTeA.pm untested 0.0 0 / 5470.0 0 / 1420.0 0 / 72n/a 0.0 0 / 190.0 0 / 70.0 0 / 787 85.7
CC
72
Cov
0%
_outputParsing
930.0
run
930.0
_makeCRFINPUT
72.0
CRAP 5256.0
TermTagger.pm untested 0.0 0 / 5730.0 0 / 1240.0 0 / 133n/a 0.0 0 / 170.0 0 / 100.0 0 / 857 83.0
CC
63
Cov
0%
_outputParsing
812.0
run
110.0
new
30.0
CRAP 4032.0
LexicalSyntacticPatterns.pm untested 0.0 0 / 3800.0 0 / 920.0 0 / 36n/a 0.0 0 / 180.0 0 / 140.0 0 / 540 77.2
CC
47
Cov
0%
_printTerms2
272.0
_makeTaggedSentences1
272.0
_printTerms1
42.0
CRAP 2256.0
TreeTagger.pm untested 0.0 0 / 3540.0 0 / 860.0 0 / 49n/a 0.0 0 / 140.0 0 / 70.0 0 / 510 75.9
CC
44
Cov
0%
_outputParsing1
342.0
run
210.0
_outputParsing
72.0
CRAP 1980.0
Distribution.pm untested 0.0 0 / 2520.0 0 / 800.0 0 / 60n/a 0.0 0 / 150.0 0 / 120.0 0 / 419 74.5
CC
41
Cov
0%
new
210.0
getContextBefore
72.0
getContextAfter
72.0
CRAP 1722.0
BasicSentenceSegmentizer.pm untested 0.0 0 / 2800.0 0 / 720.0 0 / 84n/a 0.0 0 / 120.0 0 / 60.0 0 / 454 72.5
CC
37
Cov
0%
run
132.0
_dots
72.0
_segmentation
72.0
CRAP 1406.0
StanfordParser.pm untested 0.0 0 / 3380.0 0 / 720.0 0 / 36n/a 0.0 0 / 130.0 0 / 90.0 0 / 468 72.5
CC
37
Cov
0%
_printStanfordParserFormatInput2
156.0
_outputStanfordParser
110.0
_printStanfordParserFormatInput
110.0
CRAP 1406.0
Faster.pm untested 0.0 0 / 3680.0 0 / 680.0 0 / 62n/a 0.0 0 / 200.0 0 / 140.0 0 / 532 71.4
CC
35
Cov
0%
_outputParsing
132.0
_inputFaster
110.0
new
12.0
CRAP 1260.0
HeidelTime.pm untested 0.0 0 / 2210.0 0 / 560.0 0 / 35n/a 0.0 0 / 110.0 0 / 80.0 0 / 331 67.7
CC
29
Cov
0%
_outputHeidelTime
182.0
_processValue
42.0
_searchDataFromTheBeginning
20.0
CRAP 870.0
GeniaTagger.pm untested 0.0 0 / 2040.0 0 / 520.0 0 / 25n/a 0.0 0 / 110.0 0 / 50.0 0 / 297 66.3
CC
27
Cov
0%
_outputParsing
156.0
run
132.0
_inputGeniaTagger
42.0
CRAP 756.0
PerlWordSegmentizer.pm untested 0.0 0 / 3210.0 0 / 400.0 0 / 71n/a 0.0 0 / 110.0 0 / 50.0 0 / 448 61.4
CC
21
Cov
0%
_outputParsing
272.0
run
20.0
_inputPerlWS
6.0
CRAP 462.0
AwkWordSegmentizer.pm untested 0.0 0 / 3130.0 0 / 380.0 0 / 71n/a 0.0 0 / 100.0 0 / 50.0 0 / 437 60.4
CC
20
Cov
0%
_outputParsing
272.0
run
20.0
_processAwkSW
6.0
CRAP 420.0
TermMeasures.pm untested 0.0 0 / 1530.0 0 / 360.0 0 / 3n/a 0.0 0 / 160.0 0 / 120.0 0 / 220 59.4
CC
19
Cov
0%
_computeFreqAndDocFreqAndTfIdf
42.0
_computeTermCanFreq
20.0
_processTermMeasures
12.0
CRAP 380.0
UKWordSegmentizer.pm untested 0.0 0 / 2460.0 0 / 340.0 0 / 68n/a 0.0 0 / 100.0 0 / 50.0 0 / 363 58.3
CC
18
Cov
0%
_outputParsing
240.0
run
12.0
_processUKSW
6.0
CRAP 342.0
SectionIdentification.pm untested 0.0 0 / 1490.0 0 / 320.0 0 / 3n/a 0.0 0 / 90.0 0 / 50.0 0 / 198 57.2
CC
17
Cov
0%
_outputSectionIdentification
182.0
_inputSectionIdentification
20.0
run
6.0
CRAP 306.0
SmileyRecognition.pm untested 0.0 0 / 1470.0 0 / 320.0 0 / 10n/a 0.0 0 / 90.0 0 / 60.0 0 / 204 57.2
CC
17
Cov
0%
_outputSmileyRecognition
72.0
run
30.0
new
12.0
CRAP 306.0
PorterStemmer.pm untested 0.0 0 / 1350.0 0 / 280.0 0 / 3n/a 0.0 0 / 90.0 0 / 50.0 0 / 180 54.8
CC
15
Cov
0%
_inputPorterStemmer
42.0
_outputParsing
42.0
run
20.0
CRAP 240.0
TermExpansion.pm untested 0.0 0 / 1820.0 0 / 260.0 0 / 9n/a 0.0 0 / 120.0 0 / 90.0 0 / 238 53.5
CC
14
Cov
0%
_processTermExpansion
56.0
new
30.0
_recursiveGen
6.0
CRAP 210.0
MorphoSemanticTagging.pm untested 0.0 0 / 1450.0 0 / 240.0 0 / 18n/a 0.0 0 / 130.0 0 / 100.0 0 / 210 52.0
CC
13
Cov
0%
selectSemanticType
20.0
addSemanticType
12.0
determineSemanticType4Term
12.0
CRAP 182.0
BasicWordSegmentizer.pm untested 0.0 0 / 940.0 0 / 140.0 0 / 18n/a 0.0 0 / 80.0 0 / 50.0 0 / 139 42.8
CC
8
Cov
0%
new
20.0
_outputBasicWordSegmentizer
20.0
run
6.0
CRAP 72.0
MarkerDetection.pm untested 0.0 0 / 850.0 0 / 140.0 0 / 15n/a 0.0 0 / 100.0 0 / 70.0 0 / 131 42.8
CC
8
Cov
0%
checkMarkerInContext
56.0
run
6.0
new
2.0
CRAP 72.0
NegEx.pm untested 0.0 0 / 810.0 0 / 120.0 0 / 3n/a 0.0 0 / 80.0 0 / 50.0 0 / 109 40.3
CC
7
Cov
0%
new
12.0
_processNegEx
12.0
run
12.0
CRAP 56.0
Flemm.pm untested 0.0 0 / 880.0 0 / 100.0 0 / 3n/a 0.0 0 / 80.0 0 / 50.0 0 / 114 37.4
CC
6
Cov
0%
run
42.0
new
2.0
_processFlemm
2.0
CRAP 42.0
Template.pm untested 0.0 0 / 510.0 0 / 60.0 0 / 3n/a 0.0 0 / 80.0 0 / 50.0 0 / 73 30.0
CC
4
Cov
0%
new
12.0
run
6.0
_processTemplate
2.0
CRAP 20.0
AssertionDetection.pm untested 0.0 0 / 440.0 0 / 20.0 0 / 3n/a 0.0 0 / 90.0 0 / 60.0 0 / 64 17.9
CC
2
Cov
0%
run
6.0
new
2.0
_processAssertionDetection
2.0
CRAP 6.0
BasicNER.pm untested 0.0 0 / 1020.0 0 / 20.0 0 / 3n/a 0.0 0 / 80.0 0 / 40.0 0 / 119 17.9
CC
2
Cov
0%
run
6.0
new
2.0
BasicNER
2.0
CRAP 6.0
PatternParser.pm untested 0.0 0 / 195n/a 0.0 0 / 35n/a 0.0 0 / 90.0 0 / 30.0 0 / 242 6.9
CC
1
Cov
0%
new
2.0
_Error
2.0
_Lexer
2.0
CRAP 2.0
blib/script 0.0 0 / 7120.0 0 / 1500.0 0 / 29n/a 0.0 0 / 390.0 0 / 270.0 0 / 957 82.7
CC
62
Cov
0%
CRAP 3906.0
Txt2Ogmios.pl untested 0.0 0 / 3180.0 0 / 680.0 0 / 15n/a 0.0 0 / 170.0 0 / 130.0 0 / 431 69.0
CC
31
Cov
0%
identify_listitems
110.0
identify_title
42.0
identify_title_from_known_titles
42.0
CRAP 992.0
Txt2Ogmios-TabularFiles.pl untested 0.0 0 / 2960.0 0 / 640.0 0 / 12n/a 0.0 0 / 170.0 0 / 130.0 0 / 402 67.7
CC
29
Cov
0%
identify_listitems
110.0
identify_title
42.0
identify_title_from_known_titles
42.0
CRAP 870.0
SplitCollection.pl untested 0.0 0 / 980.0 0 / 180.0 0 / 2n/a 0.0 0 / 50.0 0 / 10.0 0 / 124 30.0
CC
4
Cov
0%
split_to_docRecs
20.0
BEGIN
2.0
BEGIN
2.0
CRAP 20.0