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.

kerapu.boom.boom_parameter.SpecialismeCode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 24
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A SpecialismeCode.tel() 0 11 1
1
from kerapu.boom.boom_parameter.BoomParameter import BoomParameter
2
from kerapu.lbz.Subtraject import Subtraject
3
4 1
5 1
class SpecialismeCode(BoomParameter):
6
    """
7
    Klasse voor boomparameter specialismecode.
8 1
9
    Boomparameternummer: 200.
10
    """
11
12
    # ------------------------------------------------------------------------------------------------------------------
13
    def tel(self, specialisme_code: str, subtraject: Subtraject) -> int:
14
        """
15
        Geeft het aantal malen (d.w.z. 0 of 1) dat het uitvoerend specialisme van een subtraject voldoet aan een
16 1
        specialismecode.
17
18
        :param str specialisme_code: De specialismecode.
19
        :param Subtraject subtraject: Het subtraject.
20
21
        :rtype: int
22
        """
23
        return subtraject.telling_specialisme(specialisme_code)
24
25
# ----------------------------------------------------------------------------------------------------------------------
26