[Solved] Tool for counting total files,functions and number of lines in iphone application [closed]


for line of codes :

find . "(" -name ".m" -or -name ".mm" -or -name "*.cpp" ")" -print0 | xargs -0 wc -l

for number of files :

//you need to write this code
NSFileManager *filemgr = [NSFileManager defaultManager];
NSArray *filelist= [filemgr directoryContentsAtPath: yourPath];
int count = [filelist count];
NSLog ("%i",count);

for number of functions :

No tool or code in my knowledge

1

solved Tool for counting total files,functions and number of lines in iphone application [closed]