distributed-system-analysis/run-perf

View on GitHub

Showing 67 of 84 total issues

Take the required action to fix the issue indicated by this "FIXME" comment.
Open

                # FIXME: Return this when https://github.com/distributed
Severity: Major
Found in runperf/tests.py by sonar-python

FIXME tags are commonly used to mark places where a bug is suspected, but which the developer wants to deal with later.

Sometimes the developer will not have the time or will simply forget to get back to that tag.

This rule is meant to track those tags and to ensure that they do not go unnoticed.

Noncompliant Code Example

def divide(numerator, denominator):
  return numerator / denominator              # FIXME denominator value might be 0

See

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

def closest_result(src_path, dst_path_groups, flatten_coefficient=1):
Severity: Critical
Found in runperf/result.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 27 to the 15 allowed.
Open

    def __call__(self):
Severity: Critical
Found in runperf/__init__.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

TODO found
Open

    // TODO: Add no-provisioning-version

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

    def record_result(self, test_name, src, dst, primary=False, grouped=False,
Severity: Critical
Found in runperf/result.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 16 to the 15 allowed.
Open

    def _run(self):
Severity: Critical
Found in runperf/tests.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 315 to the 15 allowed.
Open

def generate_report(path, results, with_charts=False, small_file=False):
Severity: Critical
Found in runperf/html_report.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