Showing 9,525 of 13,510 total issues
File FdfParserLite.py
has 2209 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
## @file
# parse FDF file
#
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
#
File c.py
has 2201 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
## @file
# This file is used to be the c coding style checking of ECC tool
#
# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
File AutoGen.py
has 2180 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
## @file
# Generate AutoGen.h, AutoGen.c and *.depex files
#
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
File CLexer.py
has 2125 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# $ANTLR 3.0.1 C.g 2010-02-23 09:58:53
from antlr3 import *
from antlr3.compat import set, frozenset
File CLexer.py
has 2125 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# $ANTLR 3.0.1 C.g 2010-02-23 09:58:53
from antlr3 import *
from antlr3.compat import set, frozenset
Function CreatePcdDatabasePhaseSpecificAutoGen
has a Cognitive Complexity of 285 (exceeds 5 allowed). Consider refactoring. Open
Open
def CreatePcdDatabasePhaseSpecificAutoGen (Platform, Phase):
AutoGenC = TemplateString()
AutoGenH = TemplateString()
Dict = {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File WorkspaceDatabase.py
has 2064 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
## @file
# This file is used to create a database used by build tool
#
# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
File tarfile.py
has 2008 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
File tarfile.py
has 2008 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
File pydoc.py
has 1979 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# -*- coding: latin-1 -*-
"""Generate Python documentation in HTML or text for interactive use.
In the Python interpreter, do "from pydoc import help" to provide online
File pydoc.py
has 1979 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# -*- coding: latin-1 -*-
"""Generate Python documentation in HTML or text for interactive use.
In the Python interpreter, do "from pydoc import help" to provide online
File pydoc.py
has 1975 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# -*- coding: latin-1 -*-
"""Generate Python documentation in HTML or text for interactive use.
In the Python interpreter, do "from pydoc import help" to provide online
File doctest.py
has 1934 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# Module doctest.
# Released to the public domain 16-Jan-2001, by Tim Peters (tim@python.org).
# Major enhancements and refactoring by:
# Jim Fulton
# Edward Loper
File doctest.py
has 1934 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# Module doctest.
# Released to the public domain 16-Jan-2001, by Tim Peters (tim@python.org).
# Major enhancements and refactoring by:
# Jim Fulton
# Edward Loper
TexinfoParser
has 260 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class TexinfoParser:
COPYRIGHT_SYMBOL = "©"
FN_ID_PATTERN = "(%(id)s)"
FN_SOURCE_PATTERN = '<A NAME=footnoteref%(id)s' \
File mailbox.py
has 1842 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#! /usr/bin/env python
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
# Notes for authors of new mailbox subclasses:
File mailbox.py
has 1842 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#! /usr/bin/env python
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
# Notes for authors of new mailbox subclasses:
File pickletools.py
has 1760 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'''"Executable documentation" for the pickle module.
Extensive comments about the pickle protocols and pickle-machine opcodes
can be found here. Some functions meant for external use:
File pickletools.py
has 1760 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'''"Executable documentation" for the pickle module.
Extensive comments about the pickle protocols and pickle-machine opcodes
can be found here. Some functions meant for external use:
Function direct_abstract_declarator
has a Cognitive Complexity of 216 (exceeds 5 allowed). Consider refactoring. Open
Open
def direct_abstract_declarator(self, ):
direct_abstract_declarator_StartIndex = self.input.index()
try:
try:
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"