Passed
Pull Request — master (#683)
by Konstantin
05:19
created

id   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A id() 0 5 2
1
@property
2
def id(self):
3
    if hasattr(self, 'pcGtsId'):
4
        return self.pcGtsId or ''
5
    return self.imageFilename
6