Abstract
Software maintenance accounts for a large portion of the software life cycle cost. In the software maintenance phase, comprehending the legacy source code is inevitable, which takes most of the time. Source code readability is a metric of the extent of source code comprehension. The better the code is readable, the easier it is for code readers to comprehend the system based on the source code. This paper proposes an enhanced source code readability metric to quantitative measure the extent of code readability, which is more enhanced measurement method than previous research that dichotomously judges whether the source code was readable or not. As an evaluation, we carried out a survey and analyzed them with two-way linear regression analysis to measure the extent of source code readability.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Boehm, B., Basili, V.R.: Software defect reduction top 10 list. IEEE Comput. 34(1), 135–137 (2001). https://doi.org/10.1109/2.962984
Buse, R.P.L., Weimer, W.R.: A metric for software readability. IEEE Trans. Softw. Eng. 36(4), 546–558 (2010). https://doi.org/10.1145/1390630.1390647
Halstead, M.: Elements of Software Science. Elsevier Science Inc., New York (1997)
Posnett, D., Hindle, A., Devanbu, P.: A simpler model of software readability. In: The 8th Working Conference on Mining Software Repositories (MSR), vol. 11, pp. 73–82 (2011). https://doi.org/10.1145/1985441.1985454
Ramcharan, R.: Regressions: why are economists obsessed with them? Financ. Dev. 43, 36–37 (2006)
Freedman, D.A.: Statistical Models: Theory and Practice. University of California, Berkeley (2009)
Choi, S.-H., Sun, H.-S.: A nonlinear regression analysis method for frame erasure concealment in VoIP network. Inst. Internet Broadcast. Commun. 9(5), 129–132 (2009)
Acknowledgement
This research was supported by Next-Generation Information Computing Development Program through the National Research Foundation of Korea(NRF) funded by the Ministry of Science and ICT (NRF-2014M3C4A7030503).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this paper
Cite this paper
Choi, S., Kim, S., Lee, JH., Kim, J., Choi, JY. (2018). Measuring the Extent of Source Code Readability Using Regression Analysis. In: Gervasi, O., et al. Computational Science and Its Applications – ICCSA 2018. ICCSA 2018. Lecture Notes in Computer Science(), vol 10963. Springer, Cham. https://doi.org/10.1007/978-3-319-95171-3_32
Download citation
DOI: https://doi.org/10.1007/978-3-319-95171-3_32
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-95170-6
Online ISBN: 978-3-319-95171-3
eBook Packages: Computer ScienceComputer Science (R0)