Web Frameworks Excessive Complexity

Robert Kern robert.kern at gmail.com
Tue Nov 20 20:32:31 CET 2012


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



More information about the Python-list mailing list