Abstract
Both common coupling and pointer variables can exert a deleterious effect on the quality of software. The situation is exacerbated when global variables are assigned to pointer variables, that is, when an alias to a global variable is created. When this occurs, the number of global variables increases, and it becomes considerably harder to compute quality metrics correctly. However, unless aliasing is taken into account, variables may incorrectly appear to be unreferenced (neither defined nor used), or to be used without being defined. These ideas are illustrated by means of a case study of common coupling in the Linux kernel.
Original language | American English |
---|---|
Pages (from-to) | 99-113 |
Number of pages | 15 |
Journal | Software Quality Journal |
Volume | 15 |
Issue number | 1 |
DOIs | |
State | Published - Mar 2007 |
Externally published | Yes |
Keywords
- Aliasing
- Common coupling
- Definition-use analysis
- Global variables
- Linux
- Pointer variables