LWN.net Logo

Introducing the "Debian's Automated Code Analysis" (DACA) project

Introducing the "Debian's Automated Code Analysis" (DACA) project

Posted Dec 17, 2010 3:46 UTC (Fri) by geissert (subscriber, #61258)
In reply to: Introducing the "Debian's Automated Code Analysis" (DACA) project by MisterIO
Parent article: Introducing the "Debian's Automated Code Analysis" (DACA) project

I don't want to kill the discussion, but picking a (not-so) random results page[1]:

"This report was generated on Thu, 16 Dec 2010 04:03:51 +0000, based on results by cppcheck 1.46"

[1] http://qa.debian.org/daca/cppcheck/sid/apache2_2.2.16-4.html

Cheers


(Log in to post comments)

Introducing the "Debian's Automated Code Analysis" (DACA) project

Posted Dec 17, 2010 7:42 UTC (Fri) by MisterIO (guest, #36192) [Link]

That's ironic!

Introducing the "Debian's Automated Code Analysis" (DACA) project

Posted Dec 17, 2010 12:44 UTC (Fri) by mgedmin (subscriber, #34497) [Link]

That's a nice page!

Any chances of having the filenames + line numbers be actual hyperlinks to the source code, for a convenient closer look?

Introducing the "Debian's Automated Code Analysis" (DACA) project

Posted Dec 18, 2010 20:30 UTC (Sat) by geissert (subscriber, #61258) [Link]

At the moment Debian doesn't have such service and the web reports are generated directly from the tool's report on a machine other than the one that actually ran the tool, making it impractical.
I'm not even sure if those working on the source.d.o project intended to provide HTML-ised source code (with lxr or the like.)

I do agree that it would be a great feature to have and is even in my long term To-Do list, though.

Introducing the "Debian's Automated Code Analysis" (DACA) project

Posted Dec 20, 2010 23:17 UTC (Mon) by NightMonkey (subscriber, #23051) [Link]

I'm sure your team knows about this, but the included (at least in the source package) htmlreport will generate in-line source code. I use it to make a full report on LibreOffice's git code every 4-6 hours, for their dev's benefit:

http://libreoffice.boldandbusted.com/

DO NOTE: This is a huge report. Your browser may creak under the strain.

Big thanks to cppcheck! :)

Introducing the "Debian's Automated Code Analysis" (DACA) project

Posted Dec 21, 2010 2:01 UTC (Tue) by geissert (subscriber, #61258) [Link]

I'm aware of it (and have even used it locally for some projects.) However, like I replied to people who suggested it via email, DACA doesn't consist of only one tool, and all of them would benefit from a service that provides the html-ised source code with anchors and all.

Introducing the "Debian's Automated Code Analysis" (DACA) project

Posted Dec 17, 2010 17:47 UTC (Fri) by jthill (guest, #56558) [Link]

Ouch. I sure hope they didn't do signoffs back in 2004 (specifically r109623), those are blatant.

I notice it didn't flag the unchecked malloc returns.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds