Code Coverage might be indeed a usable metric. Check this “17.1 hits per line” value. The actual efficiency of the code is literally the density of its usage.

49 lines with 17.1 hits per line are a dense implementation of what 838 LoCs could do in a worse code.