Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33648

Re: Web Frameworks Excessive Complexity

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'frameworks': 0.05; 'already.': 0.09; 'cherrypy,': 0.09; 'counting': 0.09; 'django,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'turbogears,': 0.09; 'underlying': 0.09; 'kern': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'refactoring': 0.16; 'wrote:': 0.17; '(or': 0.18; 'code.': 0.20; 'interpret': 0.22; 'tells': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; "doesn't": 0.28; 'header:X-Complaints-To:1': 0.28; 'lines': 0.28; 'points': 0.29; 'source': 0.29; 'code': 0.31; 'to:addr:python-list': 0.33; 'recommended': 0.33; 'list': 0.35; 'robert': 0.35; 'something': 0.35; 'received:org': 0.36; 'url:org': 0.36; 'too': 0.36; 'beyond': 0.37; 'level': 0.37; 'subject:: ': 0.38; 'fact': 0.38; 'nothing': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'url:aspx': 0.60; 'world': 0.63; 'here': 0.65; 'our': 0.65; 'believe': 0.69; 'complexity': 0.84; 'eco': 0.84; 'excessive': 0.84; 'terrible': 0.84; 'url:journal': 0.84; 'received:86': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Robert Kern <robert.kern@gmail.com>
Subject Re: Web Frameworks Excessive Complexity
Date Tue, 20 Nov 2012 19:32:31 +0000
References <DUB117-W665C7556168028384DCC6791550@phx.gbl>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host cpc24-cmbg15-2-0-cust204.5-4.cable.virginmedia.com
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
In-Reply-To <DUB117-W665C7556168028384DCC6791550@phx.gbl>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.81.1353439971.29569.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1353439971 news.xs4all.nl 6892 [2001:888:2000:d::a6]:51346
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33648

Show key headers only | View raw


On 20/11/2012 17:41, Andriy Kornatskyy wrote:
>
> Cyclomatic (or conditional) complexity is a metric used to indicate the complexity of a source code. Excessive complexity is something that is beyond recommended
> level of 10 (threshold that points to the fact the source code is too
> complex and refactoring is suggested). Here is a list of web frameworks examined: bottle, cherrypy, circuits,
> django, flask, pyramid, pysi, tornado, turbogears, web.py, web2py and
> wheezy.web.

Cyclomatic complexity tells you nothing that counting lines of code doesn't already.

   http://www.scirp.org/Journal/PaperInformation.aspx?paperID=779

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Web Frameworks Excessive Complexity Robert Kern <robert.kern@gmail.com> - 2012-11-20 19:32 +0000

csiph-web