neelxie/flask_database

View on GitHub
app/db/ireporter_db.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function add_user has 10 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def add_user(self, first_name, last_name, other_name,phone_number, email, username, password,is_admin, user_id, registered):
Severity: Major
Found in app/db/ireporter_db.py - About 1 hr to fix

    Function add_incident has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def add_incident(self, incident_id, created_on, created_by, record_type, incident_comment, location, image, video, status):
    Severity: Major
    Found in app/db/ireporter_db.py - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status