Subroutine Coverage

blib/lib/Lingua/YaTeA/Corpus.pm
Criterion Covered Total %
subroutine 52 73 71.2
pod 49 56 87.5


line count pod subroutine
2 3 n/a BEGIN
3 3 n/a BEGIN
4 3 n/a BEGIN
5 3 n/a BEGIN
6 3 n/a BEGIN
7 3 n/a BEGIN
8 3 n/a BEGIN
10 3 n/a BEGIN
11 3 n/a BEGIN
12 3 n/a BEGIN
13 3 n/a BEGIN
14 3 n/a BEGIN
15 3 n/a BEGIN
16 3 n/a BEGIN
17 3 n/a BEGIN
19 3 n/a BEGIN
31 3 Yes new
50 1 Yes preLoadLexicon
84 20 n/a _normalizeInputCorpusLine
190 2 Yes read
210 20 No readSentence
228 598 No correctInputLine
282 20 Yes recordWords
298 612 Yes addWordFromCorpus
330 612 Yes incrementCounters
367 0 Yes print
397 20 Yes selectTestifiedTerms
432 20 Yes MarkTestifiedTerms
453 3 Yes createAnnotation
465 20 Yes MarkForbiddenStructures
492 20 Yes WrapBlock
500 20 Yes UnwrapBlock
511 2 Yes chunk
576 248 Yes cleanChunk
600 122 Yes deleteAnnotationMarks
648 248 Yes pruneFromStart
704 124 Yes pruneFromEnd
788 122 Yes checkCompulsory
812 614 Yes getWord
818 1230 Yes size
825 25 Yes expandStartTriggers
867 4 Yes expandEndTriggers
907 738 Yes getSentenceSet
913 22 Yes getDocumentSet
919 3 Yes getFileHandle
929 6 Yes getPath
935 6 Yes getName
941 16 Yes getOutputFileSet
947 718 Yes getLexicon
954 3 Yes setName
969 3 Yes setOutputFiles
1022 24 Yes setFilesForOption
1041 0 Yes printCorpusForLGPwithTCs
1051 0 Yes printCorpusForLGPwithTTs
1062 0 Yes getBestOccurrences
1098 0 Yes removeOccurrence
1120 0 No printCorpusForBioLG
1133 0 Yes printXMLcorpus
1245 0 Yes printXMLheader
1251 0 Yes printXMLtrailer
1257 0 Yes loadLGPmappingFile
1276 0 Yes printCandidatesAndUnparsedInCorpus
1304 0 Yes printHTMLheader
1311 0 Yes printHTMLtrailer
1318 0 No printXMLRawCorpus
1393 0 Yes printHTMLCorpus
1466 0 Yes setColor
1512 0 Yes orderOccurrencesForXML
1548 0 Yes orderOccurrences
1593 0 Yes getWords
1598 0 No selectOnTermListStyle
1617 2 No makeDDW
1654 0 No processTotalDocOccurrences