benedict.core.find   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A find() 0 5 3
1
def find(d, keys, default=None):
2
    for key in keys:
3
        if key in d:
4
            return d.get(key, default)
5
    return default
6