I am looking to prepare a code-review checklist which reviewers should be using in validating the code they are reviewing. I am mostly working in C/DSP/ARM assembly language code. Towards that I have thought of certain points which would go in that check list such as:
- No magic numbers.
- Pithy comments for every block of code which is related.
- Variable initialization before using, etc.
I am looking for more check points to be added here which would make the entire review process critical and serious, useful(catching bugs, if any, early). Can you add from your experience?