It would be interesting to compare program complexity (of which LOC is some sort of measure) to the energy and time usage.