views:

39

answers:

1

Is there a code analyzing utility that can do things like calculate the average variable length in a script or in a bunch of scripts? I'm obsessed with the linguistic aspect of programming. I'd be curious to see how different frameworks or CMSs compare in that aspect.

+4  A: 

Is there a code analyzing utility that can do things like calculating the average variable length in a script or a bunch of scripts? I'd be curious to see how different frameworks or CMSs compare in that aspect.

Your question isn't clear but probably you are looking for a profiler, have a look at:

alt text

I'm just obsessed with naming conventions and the linguistic aspect of programming.

You need to have a look at PHP Coding Standards actually.

Sarfraz