LiberTEM/LiberTEM

View on GitHub
src/libertem/analysis/clust.py

Summary

Maintainability
A
0 mins
Test Coverage

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

        # FIXME: we don't have all parameters available here to actually construct
Severity: Major
Found in src/libertem/analysis/clust.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

Either remove or fill this block of code.
Open

            pass
Severity: Major
Found in src/libertem/analysis/clust.py by sonar-python

Most of the time a block of code is empty when a piece of code is really missing. So such empty block must be either filled or removed.

Noncompliant Code Example

for i in range(3):
    pass

Exceptions

When a block contains a comment, this block is not considered to be empty.

Either remove or fill this block of code.
Open

            pass
Severity: Major
Found in src/libertem/analysis/clust.py by sonar-python

Most of the time a block of code is empty when a piece of code is really missing. So such empty block must be either filled or removed.

Noncompliant Code Example

for i in range(3):
    pass

Exceptions

When a block contains a comment, this block is not considered to be empty.

There are no issues that match your filters.

Category
Status