Code strength calculations