Tool for measuring the amount of bytecode generated for each line of CFML

This script will take a relative path to a CFC or CFM file in your application, analyze it’s corresponding bytecode and measure approximately how many Bytes of bytecode were generated for each line of your CFML code. There’s not any one-to-one correlation between CFML code and bytecode. Some lines of your source code generate no bytecode such as comments or whitespace. Other lines of CFML code may generate hundreds of bytes of code.

This is more for the fun of it. It has been tested on Lucee It will not work on Adobe and may cease to work on future versions of Lucee if the BCEL library is no longer bundled by default.

For dev use only, YMMV.