Content deleted Content added
expand introduction |
improve formatting of equations; use eta instead of n as in original book |
||
Line 9:
== Calculation ==
First we need to compute the following numbers, given the program:
* <math>
* <math>
* <math>
* <math>
From these numbers, five measures can be calculated:
* Program length: <math>N =
* Program vocabulary: <math>
* Volume: <math>V = N \times \log_2
* Difficulty : <math>D = {
* Effort: <math>E = D
The difficulty measure is related to the difficulty of the program to write or understand, e.g. when doing [[code review]].
|