Slashdot Mirror


Open-Source Python Code Shows Lowest Defect Density

cold fjord sends news that a study by Coverity has found open-source Python code to contain a lower defect density than any other language. "The 2012 Scan Report found an average defect density of .69 for open source software projects that leverage the Coverity Scan service, as compared to the accepted industry standard defect density for good quality software of 1.0. Python's defect density of .005 significantly surpasses this standard, and introduces a new level of quality for open source software. To date, the Coverity Scan service has analyzed nearly 400,000 lines of Python code and identified 996 new defects — 860 of which have been fixed by the Python community."

3 of 187 comments (clear)

  1. Python is readable by Anonymous Coward · · Score: -1, Flamebait

    Python is readable and readable code is easier to fix.

    Also smarter guy have tendency to use Python/Haskell/Erlang

  2. Re:Python == LAME by Anonymous Coward · · Score: -1, Flamebait

    You were quickly modded down, but there is definitely an element of truth in your post.

  3. Re:Python == LAME by Anonymous Coward · · Score: -1, Flamebait

    You were quickly modded down, but there is definitely an element of truth in your post.

    No, I had quite a few drinks and I was joking. It happens after I've had anal sex with my mother.

    See, when you have to implement an algorithm - and one that has to change over time - Python is the best when it comes to it. The data analysis libraries are only surpassed by R and when you have to pull data from the Internet, Python is THE language to use.

    Sure, if I had something that required high performance, I'd write it in C - NOT C++ or Java - straight ANSI C. Nor would I write it any other language that requires a 'run-time environment'.

    I want my executable to be loaded by the boot loader and run like it is - no runtime, no OOP overhead, or anything else.