examples_for_tests._private_module   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 21
rs 10
c 0
b 0
f 0
wmc 4

2 Methods

Rating   Name   Duplication   Size   Complexity  
A PublicClass._privateMethod() 0 2 1
A _PrivateClass._privateMethod() 0 2 1

2 Functions

Rating   Name   Duplication   Size   Complexity  
A _private_function() 0 2 1
A public_function() 0 2 1
1
ATTR1 = 42
2
_PRIVATE_ATTR = 42
3
4
5
class PublicClass:
6
    def _privateMethod(self):
7
        raise NotImplementedError
8
9
10
class _PrivateClass:
11
    def _privateMethod(self):
12
        raise NotImplementedError
13
14
15
def public_function(x: float, y: int) -> int:
16
    raise NotImplementedError
17
18
19
def _private_function(x: int, y: float) -> str:
20
    raise NotImplementedError
21
22