Static analysis results for Kdevelop & Kdevplatform
Aleix Pol
aleixpol at kde.org
Thu Oct 4 23:59:42 UTC 2012
On Thu, Oct 4, 2012 at 11:58 PM, Milian Wolff <mail at milianw.de> wrote:
> On Thursday 27 September 2012 22:52:23 André Stein wrote:
>> Hi,
>>
>> At work we have been playing around with Clang static analyzer and
>> cppcheck lately so I thought I'll run those tools on the code of my
>> favorite IDE :) Here are the results if anyone is interested:
>>
>> http://steinsoft.net/misc/kdev/cppcheck-kdevelop/
>> http://steinsoft.net/misc/kdev/cppcheck-kdevplatform/
>> http://steinsoft.net/misc/kdev/kdevelop-scan-build-2012-09-27-2/
>> http://steinsoft.net/misc/kdev/kdevplatform-scan-build-2012-09-27-1/
>>
>> Especially Cppcheck found some issues which might be serious and should
>> be looked after (reference to temporary). The runs have been made using
>> the newest versions which are available in the repositories (Clang 3.1
>> and CppCheck 1.56).
>
> Thanks for that. I've looked at the red warnings and all but one look like
> false-positives :(
>
> Though I think we could use a cleanup and fix most of the other notices. Esp.
> removing dead code always sounds good to me!
>
> Cheers
> --
> Milian Wolff
> mail at milianw.de
> http://milianw.de
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
+1!
And probably we should be able to remove the unused stuff automatically. :)
Aleix
More information about the KDevelop-devel
mailing list