Coverage Report

Statementstmt 19.8% 2748 / 13821 Branchbran 12.0% 495 / 4110 Conditioncond 4.9% 92 / 1852 MC/DCmcdc 1.8% 20 / 1059 Subroutinesub 37.1% 476 / 1281 Podpod 1.7% 14 / 811 totaltotal 16.7% 3845 / 22934 CC 2819 scar 61.0 CC 2819 · cov 17% · CRAP 446.0

Top SCAR

blib/lib/Lingua/Ogmios/NLPWrappers/TermTagger.pm 80.7
CC
142
Cov
14%
_outputParsing
6320.0
_BRAToutput
156.0
run
98.2
CRAP 3192.7
blib/lib/Lingua/Ogmios/NLPWrappers/YaTeA.pm 75.7
CC
120
Cov
10%
_outputParsing
3660.0
run
1212.4
_makeCRFINPUT
240.0
CRAP 1937.0
blib/lib/Lingua/Ogmios/NLPWrappers/AwkWordSegmentizer.pm 69.1
CC
62
Cov
34%
_outputParsing
1361.4
run
11.6
_inputAwkWS
3.0
CRAP 998.7
blib/lib/Lingua/Ogmios/NLPWrappers/PerlWordSegmentizer.pm 68.9
CC
63
Cov
35%
_outputParsing
1371.2
run
11.3
_inputPerlWS
4.0
CRAP 978.4
blib/lib/Lingua/Ogmios/NLPWrappers/Wrapper.pm 65.5
CC
957
Cov
4%
_mergeTerms
5852.0
getWindowLimits
2256.0
_parseTreeTaggerFormatOutput
1332.0
CRAP 700.6
35 35 files < 75%
1 file 75-90%
1 file 100%
23 23 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
blib/lib/Lingua 90.3 103 / 11468.1 15 / 2233.3 2 / 60.0 0 / 485.0 17 / 20100 13 / 1383.8 150 / 17918 12.3
CC
18
Cov
85%
CRAP 3.4
Ogmios.pm 90.3 103 / 11468.1 15 / 2233.3 2 / 60.0 0 / 485.0 17 / 20100 13 / 1383.8 150 / 17918 12.3
CC
18
Cov
85%
load_config
7.0
loadDocuments
5.1
linguisticProcessing
5.1
CRAP 3.4
blib/lib/Lingua/Ogmios 48.0 951 / 197930.6 158 / 51637.3 28 / 7518.1 8 / 4453.2 180 / 3380.0 0 / 26741.1 1325 / 3219350 36.4
CC
350
Cov
44%
CRAP 38.3
DocumentRecord.pm 58.1 150 / 25833.7 27 / 8054.1 13 / 2436.3 4 / 1188.8 16 / 180.0 0 / 1152.2 210 / 40252 47.2
CC
52
Cov
52%
tokenisation2
380.0
computeSectionFromToken
29.8
tokenisation
12.6
CRAP 112.7
Annotations.pm 36.5 253 / 69322.6 38 / 16823.8 5 / 2115.3 2 / 1343.7 49 / 1120.0 0 / 9131.6 347 / 1098129 41.9
CC
129
Cov
34%
load_Level
506.0
makeElementRefFromId
210.0
load_LogLevel
56.0
CRAP 66.0
FileManager.pm 67.6 44 / 6540.0 8 / 2033.3 1 / 30.0 0 / 272.7 8 / 110.0 0 / 657.0 61 / 10712 21.7
CC
12
Cov
60%
getType
17.2
_load_MagicNumber
6.9
setMagicNumberFilename
2.0
CRAP 8.7
Config.pm 37.2 159 / 42724.6 33 / 13416.6 1 / 60.0 0 / 444.5 45 / 1010.0 0 / 7931.6 238 / 75179 20.9
CC
79
Cov
34%
_printLinguisticAnnotationDOT
42.0
print
29.0
printVar
20.0
CRAP 8.1
LearningDataSet.pm 73.7 171 / 23252.9 36 / 6844.4 4 / 916.6 1 / 675.8 22 / 290.0 0 / 2763.0 234 / 37146 20.1
CC
46
Cov
68%
printAttributes
30.0
loadAttributesFromFile
20.0
printDataset
12.0
CRAP 7.5
Timer.pm 48.6 89 / 18335.2 12 / 3433.3 2 / 625.0 1 / 458.1 25 / 430.0 0 / 3642.1 129 / 30621 16.8
CC
21
Cov
46%
_printTimeByCategory
30.0
endsLapByCategory
12.0
suspendWithUserTime
6.2
CRAP 5.3
DocumentCollection.pm 70.2 85 / 12133.3 4 / 1233.3 2 / 60.0 0 / 462.5 15 / 240.0 0 / 1757.6 106 / 18417 12.5
CC
17
Cov
65%
_parseDocumentCollectionFromData
12.0
new
6.5
printDocumentList
6.0
CRAP 3.5
blib/lib/Lingua/Ogmios/Annotations 32.3 621 / 191817.2 117 / 6781.7 3 / 1680.9 1 / 10340.8 134 / 3280.0 0 / 26925.2 876 / 3464462 32.9
CC
462
Cov
27%
CRAP 26.8
SyntacticRelation.pm 14.4 11 / 760.0 0 / 240.0 0 / 60.0 0 / 427.2 3 / 110.0 0 / 810.8 14 / 12917 38.1
CC
17
Cov
10%
new
110.0
refid_head
12.0
refid_modifier
12.0
CRAP 45.0
SemanticUnit.pm 4.2 11 / 2580.0 0 / 1220.0 0 / 330.0 0 / 227.8 3 / 380.0 0 / 352.7 14 / 50881 37.3
CC
81
Cov
3%
new
156.0
getPreceedingTerm
110.0
preceeds
72.0
CRAP 41.8
Level.pm 39.8 170 / 42721.4 30 / 1400.0 0 / 450.0 0 / 2746.7 29 / 620.0 0 / 5830.1 229 / 759111 35.1
CC
111
Cov
33%
delElementToIndexes
156.0
getElementByOffset
110.0
existsElementFromReference
56.0
CRAP 33.6
MorphosyntacticFeatures.pm 13.2 11 / 830.0 0 / 400.0 0 / 30.0 0 / 216.6 3 / 180.0 0 / 158.7 14 / 16124 34.4
CC
24
Cov
9%
new
110.0
reference
12.0
type
6.0
CRAP 31.3
Sentence.pm 52.5 42 / 8038.8 14 / 360.0 0 / 120.0 0 / 661.5 8 / 130.0 0 / 1040.7 64 / 15724 33.8
CC
24
Cov
44%
getTermsFromSentence
72.0
getWordsFromSentence
56.0
new
8.8
CRAP 29.3
Enumeration.pm 12.5 11 / 880.0 0 / 280.0 0 / 150.0 0 / 821.4 3 / 140.0 0 / 118.5 14 / 16423 33.4
CC
23
Cov
8%
new
72.0
end_token
30.0
start_token
30.0
CRAP 28.1
Phrase.pm 8.8 11 / 1240.0 0 / 440.0 0 / 120.0 0 / 818.7 3 / 160.0 0 / 136.4 14 / 21732 33.3
CC
32
Cov
6%
new
72.0
getLemmaString
42.0
getLemmaString_v1
30.0
CRAP 27.9
SemanticFeatures.pm 17.4 11 / 630.0 0 / 120.0 0 / 90.0 0 / 527.2 3 / 110.0 0 / 812.9 14 / 10813 32.2
CC
13
Cov
13%
new
56.0
semantic_category
30.0
refid_semantic_unit
6.0
CRAP 25.1
Word.pm 13.2 11 / 830.0 0 / 260.0 0 / 90.0 0 / 617.6 3 / 170.0 0 / 149.0 14 / 15519 32.0
CC
19
Cov
9%
new
72.0
reference
20.0
end_token
20.0
CRAP 24.5
DomainSpecificRelation.pm 23.4 11 / 470.0 0 / 16n/a n/a 37.5 3 / 80.0 0 / 518.4 14 / 7611 31.5
CC
11
Cov
17%
list_refid_semantic_unit
42.0
new
30.0
domain_specific_relation_type
6.0
CRAP 23.4
Element.pm 52.3 91 / 17446.1 24 / 5233.3 2 / 625.0 1 / 465.3 17 / 260.0 0 / 1948.0 135 / 28139 29.9
CC
39
Cov
50%
XMLout_orig
72.0
_XMLoutField
36.0
contains
20.0
CRAP 19.9
AnaphoraRelation.pm 23.9 11 / 460.0 0 / 16n/a n/a 37.5 3 / 80.0 0 / 518.6 14 / 7510 29.3
CC
10
Cov
18%
new
42.0
list_refid_semantic_unit
12.0
anaphora
6.0
CRAP 18.6
Lemma.pm 31.4 11 / 350.0 0 / 12n/a n/a 37.5 3 / 80.0 0 / 523.3 14 / 607 25.6
CC
7
Cov
23%
new
30.0
refid_word
6.0
canonical_form
6.0
CRAP 12.9
Stem.pm 22.9 11 / 480.0 0 / 180.0 0 / 30.0 0 / 230.0 3 / 100.0 0 / 715.9 14 / 8811 24.8
CC
11
Cov
16%
new
30.0
setstem_form_idx
12.0
refid_word
6.0
CRAP 11.9
Section.pm 56.5 69 / 12243.1 25 / 580.0 0 / 120.0 0 / 760.8 14 / 230.0 0 / 2044.6 108 / 24234 21.6
CC
34
Cov
49%
getRank
20.0
isTitle
20.0
getForm
20.0
CRAP 8.7
LogProcessing.pm 76.7 79 / 10375.0 18 / 2433.3 1 / 30.0 0 / 268.0 17 / 250.0 0 / 1965.3 115 / 17616 12.1
CC
16
Cov
75%
new
8.1
list_modified_level
4.1
print
4.1
CRAP 3.3
Token.pm 80.3 49 / 6160.0 6 / 10n/a n/a 80.0 16 / 200.0 0 / 1765.7 71 / 1086 9.4
CC
6
Cov
77%
new
6.8
isAlpha
2.0
isNum
2.0
CRAP 2.6
blib/lib/Lingua/Ogmios/Config 34.4 53 / 15421.7 10 / 460.0 0 / 30.0 0 / 254.1 13 / 240.0 0 / 1930.6 76 / 24834 23.1
CC
34
Cov
31%
CRAP 10.0
NLPTools.pm 34.4 53 / 15421.7 10 / 460.0 0 / 30.0 0 / 254.1 13 / 240.0 0 / 1930.6 76 / 24834 23.1
CC
34
Cov
31%
getCommandsLanguages
20.0
getResourcesLanguages
20.0
existsLanguage
20.0
CRAP 10.0
blib/lib/Lingua/Ogmios/LearningDataSet 77.8 130 / 16768.4 52 / 7633.3 2 / 60.0 0 / 378.5 22 / 280.0 0 / 2467.7 206 / 30441 17.4
CC
41
Cov
74%
CRAP 5.7
Data.pm 81.2 95 / 11770.9 44 / 6233.3 2 / 60.0 0 / 387.5 14 / 160.0 0 / 1471.1 155 / 21834 19.2
CC
34
Cov
76%
getSVM
16.5
getARFF
8.1
weight
6.0
CRAP 6.9
Attribute.pm 70.0 35 / 5057.1 8 / 14n/a n/a 66.6 8 / 120.0 0 / 1059.3 51 / 868 10.0
CC
8
Cov
67%
prefix
6.0
weight
6.0
comment
2.1
CRAP 2.7
blib/lib/Lingua/Ogmios/NLPWrappers 10.0 871 / 86875.5 143 / 25883.6 57 / 15621.2 11 / 88423.1 108 / 4660.0 0 / 1918.2 1190 / 143781841 66.4
CC
1841
Cov
8%
CRAP 768.2
TermTagger.pm 20.4 105 / 5135.9 9 / 1520.7 1 / 1290.0 0 / 6764.7 11 / 170.0 0 / 314.3 126 / 881142 80.7
CC
142
Cov
14%
_outputParsing
6320.0
_BRAToutput
156.0
run
98.2
CRAP 3192.7
YaTeA.pm 13.5 70 / 5171.2 2 / 1620.0 0 / 720.0 0 / 3678.9 15 / 190.0 0 / 210.7 87 / 808120 75.7
CC
120
Cov
10%
_outputParsing
3660.0
run
1212.4
_makeCRFINPUT
240.0
CRAP 1937.0
AwkWordSegmentizer.pm 42.8 120 / 28021.8 14 / 648.7 6 / 690.0 0 / 41100 10 / 100.0 0 / 232.1 150 / 46662 69.1
CC
62
Cov
34%
_outputParsing
1361.4
run
11.6
_inputAwkWS
3.0
CRAP 998.7
PerlWordSegmentizer.pm 43.4 125 / 28824.2 16 / 668.7 6 / 690.0 0 / 41100 11 / 110.0 0 / 233.1 158 / 47763 68.9
CC
63
Cov
35%
_outputParsing
1371.2
run
11.3
_inputPerlWS
4.0
CRAP 978.4
Wrapper.pm 5.4 167 / 30663.1 39 / 12560.1 1 / 6780.0 0 / 37221.9 34 / 1550.0 0 / 264.3 241 / 5553957 65.5
CC
957
Cov
4%
_mergeTerms
5852.0
getWindowLimits
2256.0
_parseTreeTaggerFormatOutput
1332.0
CRAP 700.6
TreeTagger.pm 38.9 118 / 30322.6 24 / 10611.1 5 / 454.3 1 / 2385.7 12 / 140.0 0 / 232.4 160 / 49373 60.0
CC
73
Cov
32%
_outputParsing1
930.0
run
267.0
_outputParsing
55.4
CRAP 402.8
LexicalSyntacticPatterns.pm untested 0.0 0 / 3800.0 0 / 920.0 0 / 360.0 0 / 220.0 0 / 180.0 0 / 140.0 0 / 56247 49.8
CC
47
Cov
0%
_printTerms2
272.0
_makeTaggedSentences1
272.0
_printTerms1
42.0
CRAP 144.8
UKWordSegmentizer.pm untested 0.0 0 / 2460.0 0 / 340.0 0 / 680.0 0 / 440.0 0 / 100.0 0 / 50.0 0 / 40718 49.1
CC
18
Cov
0%
_outputParsing
240.0
run
12.0
_processUKSW
6.0
CRAP 135.6
SectionIdentification.pm untested 0.0 0 / 1490.0 0 / 320.0 0 / 30.0 0 / 20.0 0 / 90.0 0 / 50.0 0 / 20017 45.9
CC
17
Cov
0%
_outputSectionIdentification
182.0
_inputSectionIdentification
20.0
run
6.0
CRAP 98.8
GeniaTagger.pm untested 0.0 0 / 2040.0 0 / 520.0 0 / 250.0 0 / 150.0 0 / 110.0 0 / 50.0 0 / 31227 45.8
CC
27
Cov
0%
_outputParsing
156.0
run
132.0
_inputGeniaTagger
42.0
CRAP 97.1
StanfordParser.pm untested 0.0 0 / 3380.0 0 / 720.0 0 / 360.0 0 / 230.0 0 / 130.0 0 / 90.0 0 / 49137 44.7
CC
37
Cov
0%
_printStanfordParserFormatInput2
156.0
_outputStanfordParser
110.0
_printStanfordParserFormatInput
110.0
CRAP 87.4
Distribution.pm untested 0.0 0 / 2520.0 0 / 800.0 0 / 600.0 0 / 340.0 0 / 150.0 0 / 120.0 0 / 45341 44.0
CC
41
Cov
0%
new
210.0
getContextBefore
72.0
getContextAfter
72.0
CRAP 81.6
BasicSentenceSegmentizer.pm 63.6 156 / 24543.3 39 / 9045.2 38 / 8422.2 10 / 45100 12 / 120.0 0 / 353.2 255 / 47984 43.2
CC
84
Cov
56%
run
182.4
_dots
136.1
_segmentation
37.4
CRAP 75.1
HeidelTime.pm untested 0.0 0 / 2210.0 0 / 560.0 0 / 350.0 0 / 230.0 0 / 110.0 0 / 80.0 0 / 35429 43.0
CC
29
Cov
0%
_outputHeidelTime
182.0
_processValue
42.0
_searchDataFromTheBeginning
20.0
CRAP 73.6
Faster.pm untested 0.0 0 / 3680.0 0 / 680.0 0 / 620.0 0 / 370.0 0 / 200.0 0 / 140.0 0 / 56935 39.5
CC
35
Cov
0%
_outputParsing
132.0
_inputFaster
110.0
new
12.0
CRAP 51.7
SmileyRecognition.pm untested 0.0 0 / 1470.0 0 / 320.0 0 / 100.0 0 / 60.0 0 / 90.0 0 / 60.0 0 / 21017 34.9
CC
17
Cov
0%
_outputSmileyRecognition
72.0
run
30.0
new
12.0
CRAP 32.7
PorterStemmer.pm untested 0.0 0 / 1350.0 0 / 280.0 0 / 30.0 0 / 20.0 0 / 90.0 0 / 50.0 0 / 18215 32.7
CC
15
Cov
0%
_inputPorterStemmer
42.0
_outputParsing
42.0
run
20.0
CRAP 26.3
MarkerDetection.pm untested 0.0 0 / 850.0 0 / 140.0 0 / 150.0 0 / 100.0 0 / 100.0 0 / 70.0 0 / 1418 32.1
CC
8
Cov
0%
checkMarkerInContext
56.0
run
6.0
new
2.0
CRAP 24.7
TermExpansion.pm untested 0.0 0 / 1820.0 0 / 260.0 0 / 90.0 0 / 60.0 0 / 120.0 0 / 90.0 0 / 24414 31.6
CC
14
Cov
0%
_processTermExpansion
56.0
new
30.0
_recursiveGen
6.0
CRAP 23.7
Flemm.pm untested 0.0 0 / 880.0 0 / 100.0 0 / 30.0 0 / 20.0 0 / 80.0 0 / 50.0 0 / 1166 30.2
CC
6
Cov
0%
run
42.0
new
2.0
_processFlemm
2.0
CRAP 20.5
TermMeasures.pm untested 0.0 0 / 1530.0 0 / 360.0 0 / 30.0 0 / 20.0 0 / 160.0 0 / 120.0 0 / 22219 26.9
CC
19
Cov
0%
_computeFreqAndDocFreqAndTfIdf
42.0
_computeTermCanFreq
20.0
_processTermMeasures
12.0
CRAP 14.8
BasicWordSegmentizer.pm untested 0.0 0 / 940.0 0 / 140.0 0 / 180.0 0 / 120.0 0 / 80.0 0 / 50.0 0 / 1518 25.0
CC
8
Cov
0%
new
20.0
_outputBasicWordSegmentizer
20.0
run
6.0
CRAP 12.1
MorphoSemanticTagging.pm untested 0.0 0 / 1450.0 0 / 240.0 0 / 180.0 0 / 110.0 0 / 130.0 0 / 100.0 0 / 22113 22.4
CC
13
Cov
0%
selectSemanticType
20.0
addSemanticType
12.0
determineSemanticType4Term
12.0
CRAP 9.4
NegEx.pm untested 0.0 0 / 810.0 0 / 120.0 0 / 30.0 0 / 20.0 0 / 80.0 0 / 50.0 0 / 1117 21.3
CC
7
Cov
0%
new
12.0
_processNegEx
12.0
run
12.0
CRAP 8.4
Template.pm untested 0.0 0 / 510.0 0 / 60.0 0 / 30.0 0 / 20.0 0 / 80.0 0 / 50.0 0 / 754 17.0
CC
4
Cov
0%
new
12.0
run
6.0
_processTemplate
2.0
CRAP 5.5
BasicNER.pm untested 0.0 0 / 1020.0 0 / 20.0 0 / 30.0 0 / 20.0 0 / 80.0 0 / 40.0 0 / 1212 10.6
CC
2
Cov
0%
run
6.0
new
2.0
BasicNER
2.0
CRAP 2.9
AssertionDetection.pm untested 0.0 0 / 440.0 0 / 20.0 0 / 30.0 0 / 20.0 0 / 90.0 0 / 60.0 0 / 662 10.3
CC
2
Cov
0%
run
6.0
new
2.0
_processAssertionDetection
2.0
CRAP 2.8
PatternParser.pm 100 10 / 10n/a n/a n/a 100 3 / 3n/a 100 13 / 131 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
blib/script 0.0 0 / 7210.0 0 / 1540.0 0 / 290.0 0 / 170.0 0 / 410.0 0 / 270.0 0 / 98962 36.0
CC
62
Cov
0%
CRAP 36.5
Txt2Ogmios-TabularFiles.pl untested 0.0 0 / 2960.0 0 / 640.0 0 / 120.0 0 / 70.0 0 / 170.0 0 / 130.0 0 / 40929 36.8
CC
29
Cov
0%
identify_listitems
110.0
identify_title
42.0
identify_title_from_known_titles
42.0
CRAP 39.6
Txt2Ogmios.pl untested 0.0 0 / 3270.0 0 / 720.0 0 / 150.0 0 / 90.0 0 / 190.0 0 / 130.0 0 / 45531 36.3
CC
31
Cov
0%
identify_listitems
110.0
identify_title
42.0
identify_title_from_known_titles
42.0
CRAP 37.9
SplitCollection.pl untested 0.0 0 / 980.0 0 / 180.0 0 / 20.0 0 / 10.0 0 / 50.0 0 / 10.0 0 / 1254 24.0
CC
4
Cov
0%
split_to_docRecs
20.0
BEGIN
2.0
BEGIN
2.0
CRAP 11.0
lib/Lingua/Ogmios/NLPWrappers 23.4 19 / 810.0 0 / 300.0 0 / 30.0 0 / 25.5 2 / 36100 1 / 114.3 22 / 15318 44.2
CC
18
Cov
17%
CRAP 83.4
PatternParser.yp 23.4 19 / 810.0 0 / 300.0 0 / 30.0 0 / 25.5 2 / 36100 1 / 114.3 22 / 15318 44.2
CC
18
Cov
17%
_Lexer
272.0
_Error
6.0
new
3.3
CRAP 83.4