avocado-framework/avocado

View on GitHub
avocado/utils/disk.py

Summary

Maintainability
B
4 hrs
Test Coverage
F
33%

Probable insecure usage of temp file/directory.
Open

        "/tmp/creat_partition" + process.run("date '+%d-%m-%y_%T'").stdout_text.strip()
Severity: Minor
Found in avocado/utils/disk.py by bandit

Function call with shell=True parameter identified, possible security issue.
Open

    out = process.system_output(cmd, shell=True, ignore_status=True).decode("utf-8")
Severity: Minor
Found in avocado/utils/disk.py by bandit

File disk.py has 345 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
Severity: Minor
Found in avocado/utils/disk.py - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status