Velocity Reviews

Velocity Reviews (
-   Python (
-   -   RE: Web Frameworks Excessive Complexity (

Andriy Kornatskyy 11-20-2012 07:46 PM

RE: Web Frameworks Excessive Complexity


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.


Andriy Kornatskyy

> To:
> From:
> 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 thecomplexity 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 frameworksexamined: bottle, cherrypy, circuits,
> > django, flask, pyramid, pysi, tornado, turbogears,, web2py and
> > wheezy.web.

> Cyclomatic complexity tells you nothing that counting lines of code doesn't already.
> --
> 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 ithad
> an underlying truth."
> -- Umberto Eco
> --

All times are GMT. The time now is 08:49 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.