Skip to main content

Improving Measurement Certainty by Using Calibration to Find Systematic Measurement Error—A Case of Lines-of-Code Measure

  • Conference paper
  • First Online:
Software Engineering: Challenges and Solutions

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 504))

Abstract

Base measures such as the number of lines-of-code are often used to make predictions about such phenomena as project effort, product quality or maintenance effort. However, quite often we rely on the measurement instruments where the exact algorithm for calculating the value of the measure is not known. The objective of our research is to explore how we can increase the certainty of base measures in software engineering. We conduct a benchmarking study where we use four measurement instruments for lines-of-code measurement with unknown certainty to measure five code bases. Our results show that we can adjust the measurement values by as much as 20 % knowing the systematic error of the tool. We conclude that calibrating the measurement instruments can significantly contribute to increased accuracy in measurement processes in software engineering. This will impact the accuracy of predictions (e.g. of effort in software projects) and therefore increase the cost-efficiency of software engineering processes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Abran, A.: Software Metrics and Software Metrology. Wiley (2010)

    Google Scholar 

  2. Albrecht, A.J., Gaffney, J.E.: Software function, source lines of code, and development effort prediction: a software science validation. IEEE Trans. Softw. Eng. 6, 639–648 (1983)

    Article  Google Scholar 

  3. Boehm, B.: Managing software productivity and reuse. Computer 32(9), 111–113 (1999)

    Article  Google Scholar 

  4. Boehm, B., Clark, B., Horowitz, E., Westland, C., Madachy, R., Selby, R.: Cost models for future software life cycle processes: Cocomo 2.0. Ann. Softw. Eng. 1(1), 57–94 (1995)

    Article  Google Scholar 

  5. Briand, L., El Emam, K., Morasca, S.: On the application of measurement theory in software engineering. Empir. Softw. Eng. 1(1), 61–88 (1996)

    Article  Google Scholar 

  6. Briand, L.C., Morasca, S., Basili, V.R.: Property-based software engineering measurement. IEEE Tran. Softw. Eng. 22(1), 68–86 (1996)

    Article  Google Scholar 

  7. Davis, J.S., LeBlanc, R.J.: A study of the applicability of complexity measures. IEEE Trans. Softw. Eng. 14(9), 1366–1372 (1988)

    Article  MATH  Google Scholar 

  8. Khoshgoftaar, T.M., Munson, J.C.: The lines of code metric as a predictor of program faults: a critical analysis. In: Fourteenth Annual International on Computer Software and Applications Conference, 1990. COMPSAC90. Proceedings, pp. 408–413. IEEE (1990)

    Google Scholar 

  9. Kuzniarz, L., Staron, M.: Inconsistencies in student designs. In: The Proceedings of The 2nd Workshop on Consistency Problems in UML-based Software Development, San Francisco, CA, pp. 9–18. Citeseer (2003)

    Google Scholar 

  10. Lincke, R., Lundberg, J., Löwe, W.: Comparing software metrics tools. In: Proceedings of the 2008 International Symposium on Software Testing and Analysis, pp. 131–142. ACM (2008)

    Google Scholar 

  11. Nagappan, N., Ball, T.: Use of relative code churn measures to predict system defect density. In: 27th International Conference on Software Engineering, 2005. ICSE 2005. Proceedings, pp. 284–292. IEEE (2005)

    Google Scholar 

  12. Organization, I.S., Commission, I.E.: Software and systems engineering, software measurement process. Technical report. ISO/IEC (2007)

    Google Scholar 

  13. Rana, R., Staron, M., Berger, C., Hansson, J., Nilsson, M., Torner, F.: Evaluating long-term predictive power of standard reliability growth models on automotive systems. In: 2013 IEEE 24th International Symposium on Software Reliability Engineering (ISSRE), pp. 228–237. IEEE (2013)

    Google Scholar 

  14. Staron, M.: Critical role of measures in decision processes: managerial and technical measures in the context of large software development organizations. Inf. Softw. Technol. 54(8), 887–899 (2012)

    Article  Google Scholar 

  15. Tian, J., Zelkowitz, M.V.: A formal program complexity model and its application. J. Syst. Softw. 17(3), 253–266 (1992)

    Article  Google Scholar 

  16. International Bureau of Weights and Measures: International Vocabulary of Basic and General Terms in Metrology, 2nd edn. International Organization for Standardization, Genve, Switzerland (1993)

    Google Scholar 

  17. International Bureau of Weights and Measures: General requirements for the Competence of Testing and Calibration Laboratories, 1st edn. International Organization for Standardization, Genve, Switzerland (2005)

    Google Scholar 

  18. International Bureau of Weights and Measures: Systems and software engineering—Systems and software Quality Requirements and Evaluation (SQuaRE)—Guide to SQuaRE, 2nd edn. International Organization for Standardization, Genve, Switzerland (2014)

    Google Scholar 

  19. Weyuker, E.J.: Evaluating software complexity measures. IEEE Trans. Softw. Eng. 14(9), 1357–1365 (1988)

    Article  MathSciNet  Google Scholar 

  20. Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B., Wesslén, A.: Experimentation in Software Engineering. Springer (2012)

    Google Scholar 

  21. Zuse, H.: A Framework of Software Measurement. Walter de Gruyter, Berlin (1998)

    Google Scholar 

Download references

Acknowledgments

The authors would like to thank the doctoral students in the “Measurement in Software Engineering” course at the University of Gothenburg for the discussions on the topic of measurement error and measurement theory.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miroslaw Staron .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing Switzerland

About this paper

Cite this paper

Staron, M., Durisic, D., Rana, R. (2017). Improving Measurement Certainty by Using Calibration to Find Systematic Measurement Error—A Case of Lines-of-Code Measure. In: Madeyski, L., Śmiałek, M., Hnatkowska, B., Huzar, Z. (eds) Software Engineering: Challenges and Solutions. Advances in Intelligent Systems and Computing, vol 504. Springer, Cham. https://doi.org/10.1007/978-3-319-43606-7_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-43606-7_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-43605-0

  • Online ISBN: 978-3-319-43606-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics