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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005