KissPeter/APIFuzzer

View on GitHub
json_ref_resolve.py

Summary

Maintainability
A
0 mins
Test Coverage

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

assert schema1 == schema2, f's1:{schema1.keys()}\n s2:{schema2.keys()}'
Severity: Info
Found in json_ref_resolve.py by bandit

Remove this commented out code.
Open

# schema = materialize(RefDict("https://json-schema.org/draft-04/schema#/"))
Severity: Major
Found in json_ref_resolve.py by sonar-python

Programmers should not comment out code as it bloats programs and reduces readability.

Unused code should be deleted and can be retrieved from source control history if required.

See

  • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
  • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
  • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
  • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

There are no issues that match your filters.

Category
Status