Test Failed
Push — master ( 94b1f7...ff0954 )
by Oleksandr
12:55 queued 02:06
created

handlers.main_handler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 60%

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 8
ccs 3
cts 5
cp 0.6
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A MainHandler.get() 0 3 1
1 1
from tabpy.tabpy_server.handlers import BaseHandler
2
3
4 1
class MainHandler(BaseHandler):
5 1
    def get(self):
6
        self._add_CORS_header()
7
        self.render("/static/index.html")
8