Stuff.meth()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 1
dl 0
loc 2
rs 10
1
def target():
2
    return
3
4
5
def func(*a):
6
    pass
7
8
9
def raises(*a):
10
    raise ValueError(a)
11
12
a = 1
13
14
15
class Stuff(object):
16
    def __init__(self, *args):
17
        if args == ('error',):
18
            raise ValueError
19
        self.args = args
20
21
    def meth(self):
22
        pass
23
24
    def mix(self, *args):
25
        self.meth()
26
        return getattr(self, 'args', ()) + args
27
28
    def raises(self, *a):
29
        raise ValueError(a)
30
31
    def other(self, *args):
32
        return ThatLONGStuf(*self.args + args)
33
34
35
class ThatLONGStuf(Stuff):
36
    pass
37