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.

crowdtruth.run   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 1
1
"""
2
Module used to run the CrowdTruth metrics.
3
"""
4
5 1
from crowdtruth.models.metrics import Metrics
6
7 1
def run(data, config):
8
    """Run the CrowdTruth metrics with the given processing configuration"""
9
10 1
    processed_results = Metrics.run(data, config)
11
    return processed_results
12