errbotio/errbot

View on GitHub
errbot/backends/irc.py

Summary

Maintainability
D
2 days
Test Coverage

File irc.py has 720 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from __future__ import absolute_import

import logging
import re
import struct
Severity: Major
Found in errbot/backends/irc.py - About 1 day to fix

    IRCConnection has 25 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class IRCConnection(SingleServerIRCBot):
        def __init__(
            self,
            bot,
            nickname,
    Severity: Minor
    Found in errbot/backends/irc.py - About 2 hrs to fix

      Function __init__ has 14 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Major
      Found in errbot/backends/irc.py - About 1 hr to fix

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

            def send_stream_request(
        Severity: Minor
        Found in errbot/backends/irc.py - About 35 mins to fix

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

              def send_stream_request(
          Severity: Minor
          Found in errbot/backends/irc.py - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status