kiwitcms/Kiwi

View on GitHub

Showing 265 of 407 total issues

BUG found
Open

- HOT BUG FIXING - #572487
Severity: Minor
Found in CHANGELOG.rst by fixme

TODO found
Open

            // TODO: figure out how to reload above and add the new value to the page
Severity: Minor
Found in tcms/static/js/utils.js by fixme

Merge this if statement with the enclosing one.
Open

        if (not os.path.exists(filename)) or (not read_installation_id(filename)):
Severity: Major
Found in tcms/core/checks.py by sonar-python

Merging collapsible if statements increases the code's readability.

Noncompliant Code Example

if condition1:
    if condition2:
        # ...

Compliant Solution

if condition1 and condition2:
    # ...

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

    def clean(self, value):
Severity: Critical
Found in tcms/core/forms/fields.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

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

def update(
Severity: Critical
Found in tcms/rpc/api/user.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

Severity
Category
Status
Source
Language