Operating System - HP-UX
1748198 Members
2614 Online
108759 Solutions
New Discussion юеВ

Re: Availabilty of code coverage and quality tool for shell script?

 
Plaban Kumar Rout
Occasional Contributor

Availabilty of code coverage and quality tool for shell script?

Is there any tools available in market for code coverage and code qyuality for the shell script?
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Availabilty of code coverage and quality tool for shell script?

Shalom,

Shell scripting is so wide open, I know of no tools that will check a shell script other than the shell itself. The sell has diagnostics, set -x and such to let you check a script as it runs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mark Menkhus
Occasional Visitor

Re: Availabilty of code coverage and quality tool for shell script?

Hi,

Thinking more broadly, and not just suggesting an HP supplied tool:

I just noticed the open source shcov is availble on freshmeat. It portends to demonstrate coverage, or portions of the shell script code which is executed with a given set of input aruments. Homepage:
http://shcov.googlecode.com

Build security in, then use tools to check how this is going.

Cheers,
Mark Menkhus
HP Software Security Response Team
To report a security defect in HP products, use this web site:
http://www8.hp.com/us/en/contact-hp/email_3.html
Dennis Handly
Acclaimed Contributor

Re: Availabilty of code coverage and quality tool for shell script?

>Mark: Thinking more broadly,

Or write them in perl and see if perl has such a tool.