Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!usc!zaphod.mps.ohio-state.edu!wuarchive!uunet!software.org!cox From: cox@software.org (Guy Cox) Newsgroups: comp.software-eng Subject: Re: C branch coverage tool Message-ID: <1621@software.software.org> Date: 12 Sep 90 15:40:26 GMT References: <39400121@m.cs.uiuc.edu> Sender: news@software.org Reply-To: cox@software.org (Guy Cox) Organization: Software Productivity Consortium, Herndon, Virginia Lines: 28 I have a coverage analyzer for C which runs under VMS. It allows full I/O from the program under test. The instrumentation overhead is extremely low as the program communicates branch "Hits" to another process which does the bean counting. It is written in Ada and would require a re-write to run on anything other than VMS (uses CLD,LIB$TPARSE,QIOWs,HELP, ,etc). If anyone is wondering why we wrote the thing in Ada to do C it's because the instructor, the editor of the OOP Journal and The Journal of Pacal Ada and Modula-2, wanted the instrumenter done for either C or Modula-2 and we had a team with defense contractor who did not want to relearn C or Modula-2 as an implementation language. We also wanted to get away with writing as few lines of Ada as we could so the VMS libraries were heavily used along with the Booch Components. It does a nice job and maintains statistics on the code under test for the individual testcases as they are run. I can make it available via FTP (soon) or a TK50. -- // //Remember; Tuesday is Soylent green day! // Guy O. Cox, Jr. Software Productivity Consortium. 2214 RockHill Rd Herndon, VA 22090 703-742-7219 cox@software.org