EventGhost/EventGhost

View on GitHub
eg/WinApi/pywin32_patches/dde.py

Summary

Maintainability
B
5 hrs
Test Coverage

File dde.py has 336 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# -*- coding: utf-8 -*-
#
# This file is part of EventGhost.
# Copyright © 2005-2020 EventGhost Project <http://www.eventghost.net/>
#
Severity: Minor
Found in eg/WinApi/pywin32_patches/dde.py - About 4 hrs to fix

    Function _callback has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def _callback(
    Severity: Major
    Found in eg/WinApi/pywin32_patches/dde.py - About 1 hr to fix

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

      def get_winfunc(libname, funcname, restype=None, argtypes=(), _libcache={}):
      Severity: Minor
      Found in eg/WinApi/pywin32_patches/dde.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status