LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-25-2003, 10:49 AM   #1
icwong
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Code Coverage tools


I'm trying to find a Code Coverage tool, to evaluate the coverage of my testing. This tool needs to have the following:
- be easy to use
- work totally from the command line
- work for a multiple-process software system, that also is multi-threaded
- provide a hit count (so I know if there might be redundant tests)

I've tried evaluating BullseyeCoverage and PurifyPlus. Bullseye is pretty nice, but doesn't provide the hit count. PurifyPlus is harder to use, and the result viewer requires a GUI, so that's not likely to work.

Does anyone have other recommendations? I am investigating Insure++ and Cantata++ now.

Thanks!
 
Old 06-25-2003, 04:29 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Moved to the Programming forum
 
Old 08-26-2003, 11:36 PM   #3
tgraupmann
LQ Newbie
 
Registered: Aug 2003
Posts: 21

Rep: Reputation: 15
Why does it have to be command line?

Purify Plus is command line. You just have to read thru a little documentation.

I recently was able to get purify plus working with Apache and resin on Linux.

The quick answer is you need to compile and instrumentalize your httpServlet extension. And then you need to exclude your source files in the project. Then Add an external commend. Specify the external command to launch your resin servlet. Lastly, copy the instrumentalized java class files over your existing class files. Then execute the project.

Code coverage isn't really programming... it's a headache to get working.
 
Old 10-27-2003, 07:43 PM   #4
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Rep: Reputation: 15
umm......not sure if this is what u want......but check out gcov
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Code (C++) Comprehension Tools kewlemer Programming 1 10-07-2005 01:24 AM
Need tools for browsing source code phuna Programming 4 08-04-2005 09:25 PM
Code coverage rajsun Programming 2 06-29-2005 05:28 PM
code tracing tools ? cyu021 Linux - Software 1 04-27-2005 06:54 PM
C code analysis tools Dark_Helmet Programming 8 07-11-2004 11:27 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration