Test Setup Failed
Pull Request — master (#559)
by Konstantin
04:44
created

get_AllTextLine   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 6
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A get_AllTextLine() 0 8 2
1
def get_AllTextLine(self):
2
    """
3
    Return all the TextLine in the document
4
    """
5
    ret = []
6
    for reg in self.get_AllRegions(['Text']):
7
        ret += reg.get_TextLine()
8
    return ret
9
10