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


Groups > comp.lang.python > #33648

Re: Web Frameworks Excessive Complexity

From Robert Kern <robert.kern@gmail.com>
Subject Re: Web Frameworks Excessive Complexity
Date 2012-11-20 19:32 +0000
References <DUB117-W665C7556168028384DCC6791550@phx.gbl>
Newsgroups comp.lang.python
Message-ID <mailman.81.1353439971.29569.python-list@python.org> (permalink)

Show all headers | 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