in reply to Re^3: Code struct map building?
in thread Code struct map building?
>>What is the initial requirement anyhow?
I need to chart a map :) For better orienting in that horror code when a new programmer comes or when committing a dumb patch that crashes a system. In this time we cannot afford to cover all the code with units and searching for a magic-tool to handle a bit that ancient horror:) Sadly, it is idea of PMs - but work is work:)
--
For now - the only decision i have - is a bad-percentage analyzer built on regexes, they firstly remove some part of 'garbage' (use, require, vars, qq[] constructs etc) from code and suppose that remaining shit is a pool of sub calls. Of course it is a really bad solution - considering that sub-calls may be built dynamically, etc.
Now i'm examining the Devel::Call* section of CPAN - maybe, i can recieve some kind stack of subcalls with -d param..:)