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.

LoggerApplication   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 24
ccs 0
cts 7
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __init__() 0 5 1
A get_default_commands() 0 11 1
1
"""
2
Enarksh
3
4
Copyright 2013-2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
from cleo import Application
9
10
from enarksh.command.LoggerCommand import LoggerCommand
11
12
13
class LoggerApplication(Application):
14
    """
15
    The Enarksh logger application.
16
    """
17
18
    # ------------------------------------------------------------------------------------------------------------------
19
    def __init__(self):
20
        """
21
        Object constructor
22
        """
23
        Application.__init__(self, 'Enarksh-Logger', '0.9.0')
24
25
    # ------------------------------------------------------------------------------------------------------------------
26
    def get_default_commands(self):
27
        """
28
        Returns the default commands of this application.
29
30
        :rtype: list[cleo.Command]
31
        """
32
        commands = Application.get_default_commands(self)
33
34
        self.add(LoggerCommand())
35
36
        return commands
37
38
# ----------------------------------------------------------------------------------------------------------------------
39