comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » code checking tools
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
code checking tools [message #86149] Fri, 11 October 2013 10:39 Go to next message
spluque is currently offline  spluque
Messages: 33
Registered: September 2013
Member
Hi,

I've been looking for code checking tools for IDL. For now, a tool for detecting whether a variable is created but not used would be very helpful. I have inherited code with procedures and functions that desperately need to be purged of many such variables. Any pointers would be appreciated.

Cheers,
Seb
Re: code checking tools [message #86150 is a reply to message #86149] Fri, 11 October 2013 10:46 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
spluque@gmail.com writes:

> I've been looking for code checking tools for IDL. For now, a tool for detecting whether a variable is created but not used would be very helpful. I have inherited code with procedures and functions that desperately need to be purged of many such variables. Any pointers would be appreciated.

Start from scratch. Code like this can't be trusted anyway. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: code checking tools [message #86152 is a reply to message #86149] Fri, 11 October 2013 12:00 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 10/11/13 11:39 AM, spluque@gmail.com wrote:
> Hi,
>
> I've been looking for code checking tools for IDL. For now, a tool
> for detecting whether a variable is created but not used would be
> very helpful. I have inherited code with procedures and functions
> that desperately need to be purged of many such variables. Any
> pointers would be appreciated.
>
> Cheers, Seb
>

I have thought about making a lint-type checker for IDL, or possibly
adding the functionality to IDLdoc. In either case, I haven't done
anything, but would be interested in your code or collaborating.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CMIP5 files - time
Next Topic: IDL-python bridge (slither)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:32:03 PDT 2025

Total time taken to generate the page: 0.00507 seconds