NabDev/NabBot

View on GitHub
cogs/calculators.py

Summary

Maintainability
A
0 mins
Test Coverage

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
Open

    async def stats(self, ctx: NabCtx, *, params: str):
Severity: Critical
Found in cogs/calculators.py by sonar-python

Cognitive Complexity is a measure of how hard the control flow of a function is to understand. Functions with high Cognitive Complexity will be difficult to maintain.

See

There are no issues that match your filters.

Category
Status