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.
Completed
Push — master ( be813a...3d8811 )
by P.R.
06:43 queued 46s
created

kerapu.boom.boom_parameter.BoomParameter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 83.33%

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 26
ccs 5
cts 6
cp 0.8333
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A BoomParameter.tel() 0 11 1
1
"""
2
Kerapu
3
"""
4 1
import abc
5
6 1
from kerapu.lbz.Subtraject import Subtraject
7
8
9 1
class BoomParameter:
10
    """
11
    Abstracte klasse voor boomparameters.
12
    """
13
14
    # ------------------------------------------------------------------------------------------------------------------
15 1
    @abc.abstractmethod
16 1
    def tel(self, waarde, subtraject: Subtraject) -> int:
17
        """
18
        Geeft het aantal malen dat de boomparameter voldoet aan een waarde.
19
20
        :param [int|str] waarde: De waarde waartegen getest moet worden.
21
        :param kerapu.lbz.Subtraject.Subtraject subtraject: Het subtraject.
22
23
        :rtype: int
24
        """
25
        raise Exception("Not implemented")
26
27
# ----------------------------------------------------------------------------------------------------------------------
28