neelxie/flask_database

View on GitHub

Showing 2 of 8 total issues

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
      Severity
      Category
      Status
      Source
      Language