This only encourages rewriting perfectly fine libraries badly. There's no simple metric to actually optimize here.