BonHowi/discordPogmareBot

View on GitHub
cogs/databasecog.py

Summary

Maintainability
C
7 hrs
Test Coverage

File databasecog.py has 418 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import os
from datetime import datetime

import discord
import pandas as pd
Severity: Minor
Found in cogs/databasecog.py - About 6 hrs to fix

    Function db_count_spot_table has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def db_count_spot_table(cls, table, _id: int, monster_type: str, monster_name: str,
    Severity: Minor
    Found in cogs/databasecog.py - About 45 mins to fix

      Function db_count_spot_table_event has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def db_count_spot_table_event(cls, table, _id, monster_type: str, counter: int) -> dict:
      Severity: Minor
      Found in cogs/databasecog.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status