Abstract
Context. Many organizations are adopting the COSMIC method to size software products for estimating and controlling their development costs and performances. Using a functional size measurement method requires specialized expertise and can be time-consuming. Objectives. Since UML is the de facto industrial modeling language standard for object-oriented systems, it is very useful to understand how to exploit UML models for measuring software systems and for developing tools that can automatically derive the COSMIC size from them. This paper provides an answer to these needs. Method. We present a measurement procedure to derive the COSMIC functional size from UML software artifacts and a tool, named J-UML COSMIC, for the automation of the procedure. Based on the observation that different development processes are characterized by the use of different UML models, the tool has been designed to work with different UML artifacts (such as use case models, package diagrams, component diagrams, class diagrams, activity diagrams, and sequence diagrams) and to adapt to the specific employed process. To assess the measurement procedure and J-UML COSMIC, we have carried out two case studies and compared the measurement results provided by the tool with the ones obtained by experts applying the standard COSMIC method. Results. Using the proposed measurement procedure the tool is able to identify from UML software models all the COSMIC concepts and data movements identified by the experts. Moreover, the tool allows us to obtain incremental accurate measurements when new models are considered or existing ones are detailed. Conclusions. The designed approach is able to automatically measure the functional size starting from UML artifacts and providing higher accurate results when more data is available.
Similar content being viewed by others
Notes
All the details about the data movements calculated for each functional process by J-UML COSMIC can be found on the Web appendix.
References
Sommerville, I.: Software Engineering, 9th edn. Addison-Wesley, Harlow (2010)
Cheung, Y., Willis, R., Milne, B.: Software benchmarks using function point analysis. Benchmarking Int. J. 6(3), 269–276 (1999)
Fetcke, T.: The Warehouse Software Portfolio. A Case Study in Functional Size Measurement, Technical Report No. 199920, Departement d’informatique, Université du Quebec, Montreal, Canada (1999)
Albrecht, A.: Measuring application development productivity. In: Proceedings of the Joint SHARE/GUIDE/IBM Application Development Symposium, pp. 8392 (1979)
Gencel, C., Demirors, O.: Functional size measurement revisited. ACM Trans. Softw. Eng. Methodol. 17(3), 15:1–15:36 (2008)
ISO: ISO/IEC 14143-1:2007: Information Technology Software measurement Functional Size Measurement (2007)
Abran, A., Desharnais, J., Lesterhuis, A., Londeix, B., Meli, M., Morris, P., Oligny, S., ONeil, M., Rollo, T., Rule, G., Santillo, L., Symons, C., Toivonen, H.: The COSMIC Functional Size Measurement Method Measurement Manual, version 4.0.1 (2015)
Bevo, V., Levesque, G., Abran, A.: Application de la methode FFP partir d’une specification selon la notation UML: compte rendues premiers essais dapplication et questions. In: International Workshop on Software Measurement, Lac Superieur, Canada, Sep. (1999)
Jenner, M.S.: COSMIC-FFP and UML: estimation of the size of a system specified in UML problems of granularity. In: The 4th European Conference on Software Measurement and ICT Control, Heildelberg, pp. 173-184 (2001)
Azzouz, S., Abran, A.: A proposed measurement role in the Rational Unified Process (RUP) and its implementation with ISO 19761: COSMIC-FFP. In: Software Measurement European Forum (SMEF 2004), Rome, Italy (2004)
Luckson, V., Lèvesque, G.: Une méthode efficace pour l’extraction des instances de concepts dans une spécification UML aux fins de mesure de la taille fonctionnelle de logiciels. In: The Seventeenth International Conference Software, System Engineering, Their Applications (ICSSEA 2004), Paris
Lind, K., Heldal, R.: A model-based and automated approach to size estimation of embedded software components. In: ACM/IEEE The 14th International Conference on Model Driven Engineering Languages and Systems. Wellington (2011)
Lind, K., Heldal, R.: Estimation of real-time software code size using COSMIC FSM. In: International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC 2009), Tokyo, pp. 244–248
Habela, P., Glowacki, E., Serafinski, T., Subieta, K.: Adapting use case model for COSMIC-FFP based measurement. In: 15th International Workshop on Software Measurement (IWSM 2005), Montréal, pp. 195-207 (2005)
Levesque, G., Bevo, V., Cao, D.T.: Estimating software size with UML models. In: Proc. of the 2008 C3S2E Conference, Montréal, pp. 81–87 (2008)
Sellami, A., Ben-Abdallah, H.: Functional size of use case diagrams: a fine-grain measurement. In: Fourth International Conference on Software Engineering Advances (ICSEA 2009), pp. 282–288 (2009)
Van den Berg, K.G., Dekkers, T., Oudshoorn, R.: Functional size measurement applied to UML-based user requirements. In: Proc. of the 2nd Software Measurement European Forum (SMEF 2005), Rome, Italy, pp. 69–80 (2005)
Lavazza, L., Del Bianco, V.: A Case Study in COSMIC Functional Size Measurement: The Rice Cooker Revisited, IWSM/Mensura, pp. 101–121 (2009)
Costagliola, G., Di Martino, S., Ferrucci, S., Gravino, C., Tortora, G., Vitiello, G.: A COSMIC-FFP approach to predict web application development effort. J. Web Eng. 5(2), 93–120 (2006)
Del Bianco, V., Lavazza, L., Liu, G., Morasca, S., Abualkishik, A.Z.: Model-based early and rapid estimation of COSMIC functional size—an experimental evaluation. Inf. Softw. Technol. 56(10), 1253–1267 (2014)
Kruchten, P.: The Rational Unified Process, An Introduction, p. 298. Addison Wesley, Reading (2000)
OMG: Official Web Site Of The Object Management Group, UML section, OMG. www.uml.org
Diab, H., Koukane, F., Frappier, M., St-Denis, R.: ucROSE: automated measurement of COSMIC-FFP for rational rose real time. Inf. Softw. Technol. 43, 151–166 (2005)
COSMIC Group: The COSMIC Functional Size Measurement Method, Version 3.0.1, Measurement Manual. www.cosmic-sizing.org
Jenner, M.S.: Automation of counting of functional size using COSMIC-FFP in UML. In: International Workshop Software Measurement (IWSM 2002), pp. 43–51 (2002)
IBM: Official Web Site Of Rational Rose, IBM. www-03.ibm.com
Bevo, V.: Analyse et formalisation ontologique des procedures de measures associes aux method de mesure de la taille fonctionnelles des logiciels: de nouvelles perspectives pour la mesure, doctoral thesis, UQAM, Montreal (2005)
Condori-Fernandez, N., Abrahao, S., Pastor, O.: On the estimation of the functional size of software from requirements specifications. J. Comput. Sci. Technol. 22, 358–370 (2007)
COSMIC Group: Rice Cooker. Cosmic Group Case Study. École de technologie Supérieure, Université du Québec á Montréal, UQAM, Mo
Ungan, E., Demirörs, O.: A Functional Software Measurement Approach to Bridge the Gap Between Problem and Solution Domains, Mensura/IWSM 2015: Software Measurement, pp. 176–191
Rollo, T.: Sizing E-commerce. In: Proc. of the ACOSM 2000—Australian Conference on Software Measurement, Sydney (2000)
Mendes, E., Counsell, S., Mosley, N.: Comparison of web size measures for predicting web design and authoring effort. IEE Proc. Softw. 149(3), 86–92 (2002)
Conallen, J.: Building Web Applications with UML, Addison Wesley Object Technology Series (1999)
Barkallah, S., Gherbi, A., Abran, A.: COSMIC functional size measurement using UML models. In: Kim, T. et al. (eds.) Software Engineering, Business Continuity, and Education. ASEA 2011. Communications in Computer and Information Science, vol. 257. Springer, Berlin, Heidelberg
Marín, B., Oscar, P., Giachetti, G.: Automating the measurement of functional size of conceptual models in an MDA environment. In: 9th International Conference on Product-Focused Software Process Improvement (PROFES 2008), pp. 215–229
Abrahao, S., De Marco, L., Ferrucci, F., Gomez, J., Gravino, C., Sarro, F.: Definition and evaluation of a COSMIC measurement procedure for sizing web applications in a model-driven development environment. Inf. Softw. Technol. (2018). https://doi.org/10.1016/j.infsof.2018.07.012
Abrahao, S., De Marco, L., Ferrucci, F., Gravino, C., Sarro, F.: A COSMIC measurement procedure for sizing web applications developed using the OO–H. In: Proc. of International Workshop on Advances in Functional Size Measurement and Effort Estimation, art. 2 (2010)
Soubra, H., Abran, A., Stern, S., Ramdan-Cherif, A.: A refined functional size measurement procedure for real-time embedded software requirements expressed using the simulink model. In: 22nd IWSM-MENSURA (2012)
Soubra, H., Abran, A., Stern, S., Ramdan-Cherif, A.: Design of a functional size measurement procedure for real-time embedded software requirements expressed using the simulink model. In: 21st IWSM-MENSURA (2011)
Mathworks, Official Web Site Of Mathworks, Simulink Section, Mathworks. www.mathworks.com/
COSMIC Group: The COSMIC Functional Size Measurement Method, Version 3.0, Advanced and Related Topics (2007). www.cosmic-sizing.org
De Vito, G., Ferrucci, F.: Approximate COSMIC Size: The Quick/Early Method. In: Proc. of EUROMICRO-SEAA, pp. 69–76 (2014)
Soubra, H., Abran, A., Ramdane-Cherif, A.: Verifying the accuracy of automation tools for the measurement of software with COSMIC—ISO 19761 including an AUTOSAR-based example and a case study. In: Proc. of Joint Conference of the International Workshop on Software Measurement and the International Conference on Software Process and Product Measurement, pp. 23–31 (2014)
Vogelezang, F., Onvlee, J., van der Vliet, E., van Heeringen, H., de Wilde, F., Bellen, P.: Web advice module case study: using COSMIC in a service oriented architecture. In: Proc. of Joint Conference of the 22nd International Workshop on Software Measurement and the 2012 Seventh International Conference on Software Process and Product Measurement, pp. 112–114 (2012)
Khelifi, A., Abran, A., Symons, C., Desharnais, J.-M., Lesterhuis, A.: C-Registration System—Proposed Measurement Etalon. www.cosmic-sizing.org
Symons, C.: Advancing Functional Size Measurement Which Size Should We Measure (2007)
Vazquez, C., Siqueira Simoes, G.: Functional User Requirements: Level of Granularity and FPA, IFPUG, MetricViews 10(2) (2016)
Timp, A.: FPA applied to UML/Use Cases, ISMA-3 (2008)
Timp, A.: uTip—Early Function Point Analysis and Consistent Cost Estimating, IFPUG uTip #03, v. 1.0, 2015/7/1. http://www.ifpug.org/uTips/uTip003EarlyFPAandConsistentCostEstimating.pdf
Cockburn, A.: Writing Effective Use Cases. Addison-Wesley, Boston (2000)
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by Dr. Alan Hartman.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
De Vito, G., Ferrucci, F. & Gravino, C. Design and automation of a COSMIC measurement procedure based on UML models. Softw Syst Model 19, 171–198 (2020). https://doi.org/10.1007/s10270-019-00731-2
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10270-019-00731-2