gwastro/gwin

View on GitHub
test/test_results.py

Summary

Maintainability
A
55 mins
Test Coverage

Showing 2 of 2 total issues

Cyclomatic complexity is too high in function test_create_axes_grid. (11)
Open

@pytest.mark.parametrize('nodiag', [False, True])
def test_create_axes_grid(nodiag):
parameters = ['mass1', 'mass2', 'tc']
if nodiag:
combinations = itertools.combinations
Severity: Minor
Found in test/test_results.py by radon

Function test_create_axes_grid has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
Open

def test_create_axes_grid(nodiag):
parameters = ['mass1', 'mass2', 'tc']
if nodiag:
combinations = itertools.combinations
ndim = len(parameters) - 1
Severity: Minor
Found in test/test_results.py - About 55 mins to fix

There are no issues that match your filters.

Category
Status