skip to main content
10.1145/1852786.1852821acmconferencesArticle/Chapter ViewAbstractPublication PagesesemConference Proceedingsconference-collections
research-article

Categorization of real-time software components for code size estimation

Published: 16 September 2010 Publication History

Abstract

Background: To estimate Software Code Size early in the development process is important both for Cost/Effort estimation and electronic hardware design reasons. The COSMIC FSM (Functional Size Measurement) method treats the intended software to be measured as a black box, and measures CFP (COSMIC Function Points) based only on data movement in and out of the software. Therefore, CFP can be measured on requirements defined early, and be used to estimate Code Size if there exists a strong correlation between CFP and Code Size. We have conducted four experiments in the automotive industry showing strong correlation between CFP and implemented Code Size in Bytes. All four experiments, of which two have not been published before, show equally strong correlation but the linear relationship is different between the experiments.
Goal: This paper aims to identify the factors affecting the linear relationship. With these factors, we can categorize new requirements to be measured and select the proper linear relationship to convert CFP into Bytes, i.e. estimate Code Size.
Method: We replicate our earlier experiments with software components of new types, and review the results from all our experiments. Potential factors affecting implemented Code Size are identified by performing open-ended interviews with domain experts.
Results: We have in the automotive industry identified a set of factors that can be used to categorize the software components we want to measure; functionality type, quality constraints, and development methods and tools.
Conclusions: COSMIC can produce accurate Code Size Estimates provided that sub-sets of cohesive and uniform requirements can be identified. Moreover, similar requirements must have been measured before to establish the linear relationship between CFP and Bytes. Finally, the sub-sets of requirements need to be able to categorize based on factors that affect the linear relationship. With this approach, even complex calculations can be measured, provided that they are proportional to the number of data movements.

References

[1]
Afsharian, S, Giacomobono, M, and Inverardi, P, "A Framework for Software Project Estimation Based on COSMIC, DSM and Rework Characterization", Proc. of the Intl. Conf. of Software Engineering (ICSE'08), 15--24, 2008.
[2]
Albrecht, A, "Measuring application development productivity", Proc. of the IBM Applications Development Symposium, Monterey, CA, 83--92, Oct. 1979.
[3]
Albrecht, A, Gaffney, J, "Software function, source lines of code, and development effort prediction: A software science validation." IEEE Trans. Softw. Eng. SE-9, 6, 639--648, 1983.
[4]
Albrecht, A, "AD/M Productivity Measurement and Estimate Validation.", IBM Corporate Information Systems, IBM Corp., Purchase, NY, 1984.
[5]
Andersson, S, and Siljamäki, T, "Performance Benchmarking of real time critical function using BridgePoint xtUML", Proc. of the Nordic Workshop on Model Driven Engineering (NW-MoDE), 5--13, 2008.
[6]
Axelsson, J, "Cost Models with Explicit Uncertainties for Electronic Architecture Trade-off and Risk Analysis", Intl. Council on Systems Engineering (INCOSE), 2006.
[7]
Baillargeon, R, and Flores, R, "From Algorithms to Software - A Practical Approach to Model-Driven Design", SAE paper 2007-01-1622.
[8]
Boehm, B, Abts, C, Winsor Brown, A, Chulani, S, Clark, B, Horowitz, E, Madachy, R, Reifer, D, and Steece, B, "Software Cost Estimation with COCOMO II", Prentice-Hall Inc., 2000, ISBN 0-13-026692-2.
[9]
Chatzigeorgiou, A, and Stephanides, G, "Evaluating Performance and Power of Object-Oriented Vs. Procedural Programming in Embedded Processors", Ada-Europe 2002, LNCS 2361, pp. 65--75, 2002.
[10]
COSMIC, The Common Software Measurement International Consortium Functional Size Measurement Method, Version 3.0, Measurement Manual, 2007.
[11]
The Common Software Measurement International Consortium, COSMIC, http://www.cosmicon.com.
[12]
Fornaciari, W, Micheli, P, Salice, F, and Zampella, L, "A First Step Towards Hw/Sw Partitioning of UML Specifications", Proc. of the Design Automation and Test in Europe Conf. and Exhibition (DATE'03), 668--673, 2003.
[13]
Gencel, C, Demirors, O, and Yuceer, E, "A Case Study on Using Functional Size Measurement Methods for Real Time Systems", Proc. of the 15th Intl Workshop on Software Measurement (IWSM), 159--178, 2005.
[14]
Gencel, C, and Demirors, O, "Functional Size Measurement Revisited", ACM Trans. Softw. Eng. Methodol. 17, 3, Article 15 (June 2008).
[15]
Gencel, C, Heldal, R, and Lind, K, "On the Relationship between Different Size Measures in the Software Life Cycle", Proc. of the IEEE Asia-Pacific Software Engineering Conference (APSEC 2009), 19--26, Dec. 2009.
[16]
IBM Rhapsody, http://www.ibm.com/developerworks/.
[17]
IFPUG, Function Point Counting Practices Manual, Release 4.1, IFPUG, Westerville, OH, 1999.
[18]
ISO/IEC 14143-1:2007, "Information Technology - Software Measurement - Functional Size Measurement - Part 1: Definitions of concepts", 2007.
[19]
ISO/IEC TR 14143-5:2004, "Information Technology - Software Measurement - Functional Size Measurement - Part 5: Determination of functional domains for use with functional size measurement", 2004.
[20]
Jones, C, "Backfiring: converting lines of code to function points", Computer, Vol. 28, Issue: 11, 1995, 87--88.
[21]
Lind, K, and Heldal, R, "Estimation of Real-Time System Software Size using Function Points", Proc. of the Nordic Workshop on Model Driven Engineering (NW-MoDE), 15--28, 2008.
[22]
Lind, K, and Heldal, R, "Estimation of Real-Time Software Code Size using COSMIC FSM", Proc. of the IEEE Intl. Symposium on Object/component/service-oriented Real-time distributed Computing (ISORC 2009), 244--248, March 2009.
[23]
Lind, K, and Heldal, R, "Estimation of Real-Time Software Component Size", Nordic Journal of Computing (NJC), Vol. 14, 282--300, 2008.
[24]
Lind, K, and Heldal, R, "On the Relationship between Functional Size and Software Code Size", Proc. of the Workshop on Emerging Trends in Software Metrics (WETSoM'10) held in conjunction with ICSE'10, 2010.
[25]
MathWorks Simulink, http://www.mathworks.com.
[26]
Naya, H, Narisawa, F, Yokoyama, T, Ohkawa, K, and Amano, M, "Object-Oriented Development Based on Polymorphism Patterns and Optimization to Reduce Executable Code Size", Proc. of the Intl. Conf. on Technology of Object-Oriented Languages and Systems (TOOLS25), 68--78, 1997.
[27]
OMG, Unified Modeling Language (UML), Superstructure, V2.1.2, Object Management Group, http://www.uml.org/.
[28]
Rollo, T, "Functional Size measurement and COCOMO - A synergistic Approach". In Proc. of Software Measurement European Forum 2006, 259--267, 2006.
[29]
Runeson, P, Borgquist, N, Landin, M, and Bolanowski, W, "An Evaluation of Functional Size Methods and a Bespoke Estimation Method for Real-Time Systems", Proc. of the Intl. Conf. on Product Focused Software Development and Process Improvement (PROFES), 339--352, 2000.
[30]
Szyperski, C, "Component Software: Beyond Object-Oriented Programming." 2nd ed. Addison-Wesley Professional, Boston 2002 ISBN 0-201-74572-0.
[31]
Tran-Cao, D, Levesque, G, and Abran, A, "Measuring Software Functional Size: Towards an Effective Measurement of Complexity", Proc. of the Intl. Conf. on Software Maintenance (ICSM'02), 370--376, 2002.
[32]
Wijayasiriwardhane, T, and Lai, R, "A Method for Measuring the Size of a Component-Based System Specification", IEEE The 8th Intl. Conf. on Quality Software, 329--337, 2008.
[33]
Wohlin, C, Runeson, P, Höst, M, Ohlsson, M, C, Regnell, B, and Wesslén, A, "Experimentation in Software Engineering: An Introduction.", Kluwer Academic Publishers, 2000, ISBN 0-7923-8682-5.
[34]
Zayaraz, G, Thambidurai, P, Srinivasan, M, and Rodrigues, P, "Software Quality Assurance through COSMIC FFP", ACM Sigsoft Software Engineering Notes, Vol. 30, No. 5, 1--5, Sept. 2005.
[35]
Zayaraz, G, and Thambidurai, P, "Quantitative Measurement of Software Architectural Qualities through COSMIC FFP", Proc. of the IEEE Annual India Conf. 1--4, 2006.

Cited By

View all
  • (2015)ReferencesSoftware Project Estimation10.1002/9781118959312.refs(253-256)Online publication date: 27-Apr-2015
  • (2013)Formal specifications better than function points for code sizingProceedings of the 2013 International Conference on Software Engineering10.5555/2486788.2486978(1257-1260)Online publication date: 18-May-2013
  • (2013)Formal specifications better than function points for code sizing2013 35th International Conference on Software Engineering (ICSE)10.1109/ICSE.2013.6606692(1257-1260)Online publication date: May-2013
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ESEM '10: Proceedings of the 2010 ACM-IEEE International Symposium on Empirical Software Engineering and Measurement
September 2010
423 pages
ISBN:9781450300391
DOI:10.1145/1852786
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 16 September 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. COSMIC function points
  2. UML components
  3. categorization
  4. functional size measurement
  5. software code size
  6. system architecture

Qualifiers

  • Research-article

Conference

ESEM '10
Sponsor:

Acceptance Rates

ESEM '10 Paper Acceptance Rate 30 of 102 submissions, 29%;
Overall Acceptance Rate 130 of 594 submissions, 22%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)8
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2015)ReferencesSoftware Project Estimation10.1002/9781118959312.refs(253-256)Online publication date: 27-Apr-2015
  • (2013)Formal specifications better than function points for code sizingProceedings of the 2013 International Conference on Software Engineering10.5555/2486788.2486978(1257-1260)Online publication date: 18-May-2013
  • (2013)Formal specifications better than function points for code sizing2013 35th International Conference on Software Engineering (ICSE)10.1109/ICSE.2013.6606692(1257-1260)Online publication date: May-2013
  • (2012)CompSize: A Model-Based and Automated Approach to Size Estimation of Embedded Software ComponentsIEICE Transactions on Information and Systems10.1587/transinf.E95.D.2183E95.D:9(2183-2192)Online publication date: 2012
  • (2012)A Practical Approach to Size Estimation of Embedded Software ComponentsIEEE Transactions on Software Engineering10.1109/TSE.2011.8638:5(993-1007)Online publication date: 1-Sep-2012
  • (2011)A model-based and automated approach to size estimation of embedded software componentsProceedings of the 14th international conference on Model driven engineering languages and systems10.5555/2050655.2050688(334-348)Online publication date: 16-Oct-2011
  • (2011)CompSizeProceedings of the 2011 Joint Conference of the 21st International Workshop on Software Measurement and the 6th International Conference on Software Process and Product Measurement10.1109/IWSM-MENSURA.2011.49(86-95)Online publication date: 3-Nov-2011
  • (2011)A Model-Based and Automated Approach to Size Estimation of Embedded Software ComponentsModel Driven Engineering Languages and Systems10.1007/978-3-642-24485-8_24(334-348)Online publication date: 2011

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media