@inproceedings{7ab6c0b9e1c445199215c5e2c7e8981e,
title = "High-MCC functions in the Linux kernel",
abstract = "McCabe's Cyclomatic Complexity (MCC) is a widely used metric for the complexity of control flow. Common usage decrees that functions should not have an MCC above 50, and preferably much less. However, the Linux kernel includes more than 800 functions with MCC values above 50, and over the years 369 functions have had an MCC of 100 or more. Moreover, some of these functions undergo extensive evolution, indicating that developers are successful in coping with the supposed high complexity. We attempt to explain this by analyzing the structure of such functions and showing that in many cases they are in fact well-structured. At the same time, we observe cases where developers indeed refactor the code in order to reduce complexity. These observations indicate that a high MCC is not necessarily an impediment to code comprehension, and support the notion that complexity cannot be fully captured using simple syntactic code metrics.",
keywords = "Linux Kernel, McCabe Cyclomatic Complexity, Software Complexity",
author = "Ahmad Jbara and Adam Matan and Feitelson, {Dror G.}",
year = "2012",
doi = "https://doi.org/10.1109/icpc.2012.6240512",
language = "الإنجليزيّة",
isbn = "9781467312165",
series = "IEEE International Conference on Program Comprehension",
pages = "83--92",
booktitle = "2012 20th IEEE International Conference on Program Comprehension, ICPC 2012 - Proceedings",
note = "2012 20th IEEE International Conference on Program Comprehension, ICPC 2012 ; Conference date: 11-06-2012 Through 13-06-2012",
}