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


Groups > comp.lang.python > #33651 > unrolled thread

RE: Web Frameworks Excessive Complexity

Started byAndriy Kornatskyy <andriy.kornatskyy@live.com>
First post2012-11-20 22:46 +0300
Last post2012-11-20 22:46 +0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: Web Frameworks Excessive Complexity Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-11-20 22:46 +0300

#33651 — RE: Web Frameworks Excessive Complexity

FromAndriy Kornatskyy <andriy.kornatskyy@live.com>
Date2012-11-20 22:46 +0300
SubjectRE: Web Frameworks Excessive Complexity
Message-ID<mailman.84.1353440854.29569.python-list@python.org>
Robert,

Thank you for the comment. I do not try relate CC with LOC. Instead pointing to excessive complexity, something that is beyond recommended threshold, a subject to refactoring in respective web frameworks. Those areas are likely to be potential source of bugs (e.g. due to low code coverage with unit tests) thus have certain degree of interest to both: end users and framework developers.

Thanks.

Andriy Kornatskyy


----------------------------------------
> To: python-list@python.org
> From: robert.kern@gmail.com
> Subject: Re: Web Frameworks Excessive Complexity
> Date: Tue, 20 Nov 2012 19:32:31 +0000
>
> 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
>
> --
> http://mail.python.org/mailman/listinfo/python-list
 		 	   		  

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web