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.application.KerapuApplication   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 35
ccs 0
cts 10
cp 0
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A KerapuApplication.get_default_commands() 0 13 1
A KerapuApplication.__init__() 0 5 1
1
from typing import List
2
3
from cleo import Application, Command
4
5
from kerapu.command.ShredderCommand import ShredderCommand
6
from kerapu.command.TestsetShredderCommand import TestShredderCommand
7
8
9
class KerapuApplication(Application):
10
    """
11
    The Kerapu application.
12
    """
13
14
    # ------------------------------------------------------------------------------------------------------------------
15
    def __init__(self):
16
        """
17
        Object constructor.
18
        """
19
        Application.__init__(self, 'kerapu', '2.0.3')
20
21
    # ------------------------------------------------------------------------------------------------------------------
22
    def get_default_commands(self) -> List[Command]:
23
        """
24
        Returns the default commands of this application.
25
26
        :rtype: list[Command]
27
        """
28
        commands = Application.get_default_commands(self)
29
30
        # Kerapu:
31
        commands.append(ShredderCommand())
32
        commands.append(TestShredderCommand())
33
34
        return commands
35
36
# ----------------------------------------------------------------------------------------------------------------------
37