Writing a bgt script to get misc stats about another script?

I want to write a script that will print to a log file that tells a bunch of things like:

  • Lines in main script, and then lines in total scripts, main script+includes.

  • Same thing, but with number of chars.

  • And then stuff like total vars, total ints, strings, bools, classes, etc.

And a bunch of misc stats like that.
I also want this to work in tandom with the generate_profile function, pasting all the other stats after the info from generate_profile. But, of course, I don't want it to be deleted when generate_profile happens. Any ideas on how to write this? if it's even possible?

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Sam_Tupy via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : audiogame via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector

Reply via email to