Showing 376 of 566 total issues
Method InitializeComponent
has 726 lines of code (exceeds 25 allowed). Consider refactoring. Open
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DistexForm));
this.modeLabel = new System.Windows.Forms.Label();
File project.ann.py
has 996 lines of code (exceeds 250 allowed). Consider refactoring. Open
f049766b (vladimir_prus 2007-10-10 09:31:06 +0000 1) # Status: being ported by Vladimir Prus
ddc17f01 (vladimir_prus 2007-10-26 14:57:56 +0000 2) # Base revision: 40480
f049766b (vladimir_prus 2007-10-10 09:31:06 +0000 3)
f049766b (vladimir_prus 2007-10-10 09:31:06 +0000 4) # Copyright 2002, 2003 Dave Abrahams
f049766b (vladimir_prus 2007-10-10 09:31:06 +0000 5) # Copyright 2002, 2005, 2006 Rene Rivera
File DistexForm.Designer.cs
has 827 lines of code (exceeds 250 allowed). Consider refactoring. Open
namespace distribution_explorer
{
partial class DistexForm
{
/// <summary>
File targets.py
has 818 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Status: ported.
# Base revision: 64488
# Copyright Vladimir Prus 2002-2007.
# Copyright Rene Rivera 2006.
Function configure_really
has a Cognitive Complexity of 92 (exceeds 5 allowed). Consider refactoring. Open
def configure_really(version=None, options=[]):
v = version
if not v:
# Take the first registered (i.e. auto-detected) version.
version = __versions.first()
- 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 regression.py
has 748 lines of code (exceeds 250 allowed). Consider refactoring. Open
#!/usr/bin/python
# Copyright MetaCommunications, Inc. 2003-2007
# Copyright Redshift Software, Inc. 2007
#
File project.py
has 695 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Status: ported.
# Base revision: 64488
# Copyright 2002, 2003 Dave Abrahams
# Copyright 2002, 2005, 2006 Rene Rivera
File virtual_target.py
has 684 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Status: ported.
# Base revision: 64488.
#
# Copyright (C) Vladimir Prus 2002. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
File msvc.py
has 673 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Copyright (c) 2003 David Abrahams.
# Copyright (c) 2005 Vladimir Prus.
# Copyright (c) 2005 Alexey Pakhunov.
# Copyright (c) 2006 Bojan Resnik.
# Copyright (c) 2006 Ilya Sokolov.
File boost_wide_report.py
has 673 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Copyright (c) MetaCommunications, Inc. 2003-2007
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
File email_maintainers.py
has 666 lines of code (exceeds 250 allowed). Consider refactoring. Open
#
# Copyright (C) 2005, 2007 The Trustees of Indiana University
# Author: Douglas Gregor
#
# Distributed under the Boost Software License, Version 1.0. (See
File generators.py
has 649 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Status: being ported by Vladimir Prus
# Base revision: 48649
# TODO: replace the logging with dout
# Copyright Vladimir Prus 2002.
File feature.py
has 600 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Status: ported, except for unit tests.
# Base revision: 64488
#
# Copyright 2001, 2002, 2003 Dave Abrahams
# Copyright 2002, 2006 Rene Rivera
File cplusplus.py
has 596 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Copyright David Abrahams 2004.
# Copyright Daniel Wallin 2006.
# Distributed under the Boost
# Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
File common.py
has 575 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Status: being ported by Steven Watanabe
# Base revision: 47174
#
# Copyright (C) Vladimir Prus 2002. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
File doxproc.py
has 550 lines of code (exceeds 250 allowed). Consider refactoring. Open
#!/usr/bin/python
# Copyright 2006 Rene Rivera
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
Method getView
has a Cognitive Complexity of 58 (exceeds 5 allowed). Consider refactoring. Open
@Override
public View getView(int position, View convertView, ViewGroup parent) {
ViewHolderItem viewElements;
if (position % 2 == 0) {
- 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 DistexForm.cs
has 542 lines of code (exceeds 250 allowed). Consider refactoring. Open
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
Function get_next_news
has a Cognitive Complexity of 57 (exceeds 5 allowed). Consider refactoring. Open
def get_next_news(client_param,client_stats):
nline = 0;
#printl("opening file %s" %batch_file)
if os.path.exists(batch_file) and len(echo.translated_lines) == 0:
opened = open(batch_file)
- 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
Function main_real
has a Cognitive Complexity of 56 (exceeds 5 allowed). Consider refactoring. Open
def main_real():
global debug_config, legacy_ignore_config, out_xml
debug_config = "--debug-configuration" in sys.argv
- 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"