[Digikam-devel] Coverty Reports traces...

Andi Clemens andi.clemens at gmail.com
Thu Jan 24 19:26:39 GMT 2013


Uninitialized variables etc can also be found with the open source tool  
cppcheck as well the code analysis tools included in eclipse.

Andi

On Thu, 24 Jan 2013 18:06:44 +0100, Gilles Caulier  
<caulier.gilles at gmail.com> wrote:

> Hi all,
>
> Recently, I receive from Laurent Montel a set of traces about source code
> analys done with a tool named Coverty Report.
>
> http://www.coverity.com/
>
> This tool, which is not open-source have been aquired by Red Hat to check
> all implementation include will whole projects from the distro. RH has
> started to analyse KDE source code, and especially digiKam. I sorted huge
> trace to remove unsuitable parts and cut digiKam, kipi-plugins, and
> extralibs reports in separated files. All files are there :
>
> https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/show/project/reports
>
> Coverty check if all class members are initialized in constructors, if  
> data
> or members are used before to be initialized, and if data are used after  
> to
> be free from memory. The error list found in reports are listed in this  
> PDF:
>
> http://www.coverity.com/library/pdf/Coverity_DS_CWMapping_cpp.pdf
>
> Where sometime reports are not really understable, i found some
> bugs discovered during source code analyse...
>
> I recommend highly to read all report and to fix source code relevant.  
> The
> analyse have been done against digiKam 3.0.0-RC tarball source code.
>
> I already started to check digiKam source code and fixed some entries. I
> recommend to all developers to do the same quickly.
>
> Thanks in advance
>
> Gilles Caulier





More information about the Digikam-devel mailing list