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

BasicNeeds.BasicNeeds.fn_optional_print()   A

Complexity

Conditions 2

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 4
nop 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
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