On Wed Jul 18 09:58:12 2007, petdance wrote:
> I would not be surprised to find that we have at least a dozen  
> functions in the codebase that aren't actually used any more.  I just  
> now removed string_fill_from_buffer, for example.
> 
> Verify that all functions actually get used.  We could do this by  
> either:
> 
> * Creating a tool that verifies that each function is used at least once
> 
> * Run splint with whatever flags necessary to do global reference  
> matching.
> 
> --
> Andy Lester => [email protected] => www.petdance.com => AIM:petdance
> 
> 
> 
> 

I think this is covered in spirit by 'make cover'; results from that are 
updated regularly here:

http://tapir2.ro.vutbr.cz/cover/

A recent run is:

http://tapir2.ro.vutbr.cz/cover/cover-results/41388/c_cover/

Any functions that show as completely uncovered are good candidates for 
removal; We either 
need to improve coverage to 100% by removing dead code or adding more tests; in 
the 
process of doing that, we'll end up removing unused functions as well.

Thanks; Closing ticket.

-- 
Will "Coke" Coleda
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to