Showing 1,093 of 1,093 total issues
Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed. Open
def get_rule_to_stig_dict(xml: ElementTree.ElementTree, benchmark_creator: str) -> dict:
- Read upRead up
- Exclude checks
Merge this if statement with the enclosing one. Open
if self.is_benchmark():
- Read upRead up
- Exclude checks
Either merge this branch with the identical one on line "36" or change one of the implementations. Open
return current_status
- Read upRead up
- Exclude checks
Either merge this branch with the identical one on line "36" or change one of the implementations. Open
return current_status
- Read upRead up
- Exclude checks
Method "__init__" has 10 parameters, which is greater than the 7 authorized. Open
self, environment, profile, datastream, benchmark_id, rule_id, script_name, dont_clean, no_reports, manual_debug):
- Read upRead up
- Exclude checks
Unexpected trailing spaces found. Open
- Exclude checks
Unexpected trailing spaces found. Open
# Create and change to product_string dir
- Exclude checks
Unexpected trailing spaces found. Open
# Create and change to .build_profiling dir
- Exclude checks
Unexpected additional newlines at the end of the file. Open
- Exclude checks
Unexpected trailing spaces found. Open
converted to GID by reading /etc/group. gid_or_name can also be a
- Exclude checks
Unexpected trailing spaces found. Open
converted to UID by reading /etc/passwd. uid_or_name can also be a
- Exclude checks
Unexpected trailing spaces found. Open
- Exclude checks
Unexpected trailing spaces found. Open
}
- Exclude checks