| Conditions | 2 |
| Total Lines | 10 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | from kerapu import clean_code, LEN_ZORG_INSTELLING_CODE |
||
| 22 | def zorg_instelling_aantal(self, zorg_instelling_code: str) -> int: |
||
| 23 | """ |
||
| 24 | Geeft het aantal malen (met inachtneming van weegfactor) dat deze zorginstelling voldoet aan een |
||
| 25 | zorginstellingcode. |
||
| 26 | |||
| 27 | 1 | :param str zorg_instelling_code: De AGB-code van de zorginstelling. |
|
| 28 | |||
| 29 | :rtype: int |
||
| 30 | """ |
||
| 31 | return 1 if self.__zorg_instelling_code == clean_code(zorg_instelling_code, LEN_ZORG_INSTELLING_CODE) else 0 |
||
| 32 | |||
| 34 |