Posts

Showing posts from October, 2020

Improving Code Quality

 What is code quality ? Well the definition will to some extent be determined by the context in which the software is used, however typically it will include : fitness for purpose, meeting the requirements - efficiently and reliably, and  code readability and maintainability.  How do we improve code quality ? Beyond personal skill, experience and attention to detail, the use of code reviews and static and dynamic analysis are thought to improve quality. Research by Microsoft(C) and Google (C) has shown that 80% of code reviews trigger a change, inferring that both the reviewer and reviewee agreed upon a change to improve the original code.  Static Analysis Tools IAR C-STAT Visual Studio tool Code Complexity Tool Lizard:  http://www.lizard.ws/ References Greiler, M. (2020) Episode 400: Greiler on Code Review, Software Engineering Radio, [Online]. Available at  https://www.se-radio.net/2020/02/episode-400-michaela-greiler-on-code-reviews/  (Accessed 29 O...