[Insight-developers] cppcheck and ITK

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Fri Apr 1 12:26:32 EDT 2011


Hans,

here is a simple bash script I have used to generate these files.

Best,
Arnaud

On 04/01/2011 11:37 AM, Johnson, Hans J wrote:
> VERY COOL.
>
> How did you do it?  Do you have some instructions, or a good reference of
> how to implement this?
>
> I have a graduate student that would benefit from attacking these problems.
>
> Thanks,
> Hans
>
> --
> Hans J. Johnson, Ph.D.
> hans-johnson at uiowa.edu
> Assistant Professor of Psychiatry
> University of Iowa Carver College of Medicine
> W278 GH, 200 Hawkins Drive
>
> Iowa City, Iowa 52242
> Phone:  319-353-8587
>
>
>
>
>
>
>
> -----Original Message-----
> From: Arnaud Gelas<Arnaud_Gelas at hms.harvard.edu>
> Date: Fri, 1 Apr 2011 11:26:35 -0400
> To: ITK<insight-developers at itk.org>
> Subject: [Insight-developers] cppcheck and ITK
>
> Hi all,
>
> I have experimentally ran cppcheck on ITK on all modules (except for
> the 3rd part libraries).
> It is now really fast to run such a static code analysis.
>
> Here are the resulting errors:
>
>      http://www.itk.org/Wiki/ITK/Tcons/Agendas/2011_04_01#cppcheck
>
> It could be integrated with CTest by making it one external project.
>
> Is there any interest?
>
> Arnaud
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
> ________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cppchecktest.sh
Type: application/x-sh
Size: 464 bytes
Desc: not available
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110401/17fe642d/attachment.sh>


More information about the Insight-developers mailing list