Xref: utzoo comp.unix.wizards:20081 comp.unix.questions:18904 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!apple!amdahl!rembo From: rembo@uts.amdahl.com (Tony Rems) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: C Documentation Utility Needed Message-ID: <31ou02gZ7dQ501@amdahl.uts.amdahl.com> Date: 10 Jan 90 01:24:00 GMT References: <625@h.cs.wvu.wvnet.edu> Reply-To: rembo@amdahl.uts.amdahl.com (Tony Rems) Organization: Amdahl Corporation, Sunnyvale CA Lines: 35 In article <625@h.cs.wvu.wvnet.edu> dymm@b.cs.wvu.wvnet.edu (David Dymm) writes: > >I am looking for a utility to help in the documentation of C code. > >Input: Multiple 'C' files. > >Output: A cross reference report showing the call hierarchy of > all functions. > Thus, the report might be in the form of a tree where > each function is listed showing from where it is called > and perhaps how many times it is called. > > >David Dymm Project Manager > >USMAIL: Bell Atlantic Knowledge Systems, > 145 Fayette Street, Morgantown, WV 26505 >PHONE: 304 291-2651 (8:30-4:30 EST) >USENET: {allegra,bellcore, cadre,idis,psuvax1}!pitt!wvucsb!dymm >INTERNET: dymm@b.cs.wvu.wvnet.edu There is a set of tools from McCabe & Associates called Battlemap, ACT & the Inference Engine. These tools are designed to measure complexity of C code (as well as code in other languages) and it runs under UNIX on Sun and a few other platforms. It can produce the calling structure of a pieced of code as well as the internal structure of the code. It can produce a report or a graph (or both) and using the inference engine it produce cross reference information on the internal structure of the code - including called-bys called-from calls-to and number of calls. Although, I found it rather limited in its capacity as a test tool - which was its purpose, it sounds like it might suit your purposes. If you'd like any more info, send me some e-mail. -Tony