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.attribuut_groep_koppeling.AttribuutGroepKoppeling   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Test Coverage

Coverage 90.91%

Importance

Changes 0
Metric Value
eloc 12
dl 0
loc 48
ccs 10
cts 11
cp 0.9091
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A AttribuutGroepKoppeling.__init__() 0 16 1
A AttribuutGroepKoppeling.test() 0 10 1
1
"""
2
Kerapu
3
"""
4 1
import abc
5
6 1
from kerapu.boom.attribuut.Attribuut import Attribuut
7 1
from kerapu.lbz.Subtraject import Subtraject
8
9
10 1
class AttribuutGroepKoppeling:
11
    """
12
    Abstract klasse voor attribuutgroepkoppelingen.
13
    """
14
15
    # ------------------------------------------------------------------------------------------------------------------
16 1
    def __init__(self, attribute_groep_id: int, attribuut: Attribuut):
17
        """
18
        Object constructor.
19
20
        :param int attribute_groep_id: Het ID van deze koppeling.
21
        :param Attribuut attribuut: Het attribuut van deze koppeling.
22
        """
23 1
        self._attribute_groep_id = attribute_groep_id
24
        """
25
        Het ID van deze attribuutgroepkoppeling.
26
27
        :type: int
28
        """
29
30 1
        self._attribuut = attribuut
31 1
        """
32
        Het attribuut van deze koppeling.
33
34
        :type: kerapu.boom.attribuut.Attribuut.Attribuut
35
        """
36
37
    # ------------------------------------------------------------------------------------------------------------------
38 1
    @abc.abstractmethod
39 1
    def test(self, subtraject: Subtraject) -> bool:
40
        """
41
        Test of een subtraject voldoet aan een attribuutgroepkoppeling.
42
43
        :param Subtraject subtraject: Het subtraject.
44
45
        :rtype: bool
46
        """""
47
        pass
48
49
# ----------------------------------------------------------------------------------------------------------------------
50