GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

DiagnoseCode.tel()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 11
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 3
dl 0
loc 11
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
from kerapu.boom.boom_parameter.BoomParameter import BoomParameter
2
from kerapu.lbz.Subtraject import Subtraject
3
4 1
5 1
class DiagnoseCode(BoomParameter):
6
    """
7
    Klasse voor boomparameter diagnosecode.
8 1
9
    Boomparameternummer: 230.
10
    """
11
12
    # ------------------------------------------------------------------------------------------------------------------
13
    def tel(self, diagnose_attribuut_code: str, subtraject: Subtraject) -> int:
14
        """
15
        Geeft het aantal malen (d.w.z. 0 of 1) dat een subtraject voldoet aan een een
16 1
        (specialismecode, diagnosecode) combinatie.
17
18
        :param str diagnose_attribuut_code: De attribuutcode voor (specialismecode, diagnosecode) combinatie.
19
        :param Subtraject subtraject: Het subtraject.
20
21
        :rtype: int
22
        """
23
        return subtraject.telling_diagnose_attribuut(diagnose_attribuut_code)
24
25
# ----------------------------------------------------------------------------------------------------------------------
26