DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Analyzing run-time behavior

Functions that are never called

None of the lines in the function regerr() are executed. See ``lprof Summary Output for a Test Suite''.

To find out why, invoke cscope and request a list of the functions that call regerr(). See ``Browsing through your code with cscope'' for further information on cscope. cscope reports that no function calls regerr(). Because regerr() will never be exercised, it ought to be -- but, for arcane reasons, cannot be -- deleted from the code. You can, though, discount the 19 lines of regerr() in calculating the percentage of code that is covered by the test suite.


Next topic: Hard to produce error conditions
Previous topic: Fragment of Output from lprof -x

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004