Test Failed
Push — master ( 3e515d...19e016 )
by Daniel
01:46
created

BasicNeeds   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A BasicNeeds.fn_optional_print() 0 4 2
1
2
3
class BasicNeeds:
4
5
    @staticmethod
6
    def fn_optional_print(self, boolean_variable, string_to_print):
7
        if boolean_variable:
8
            print(string_to_print)
9