How to get code complexity metrics for a program?
well i wanted to create a program that check and score a code on how complex it is for example how many loop, if statements, if there is any nested loops etc. so for example a code with no loops, or if staement is not complicated.
EDIT: note that this question is about code complexity, not algorithmic complexity