Depth of conditional nesting
This is a measure of the depth of nesting of if-statements in a program. Deeply nested if statements are hard to understand and are potentially error-prone. Fog index This is a calculate of the average length of words and sentences in documents. The higher the value for the Fog index, the more complex the document is to understand.