{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,2,21]],"date-time":"2025-02-21T03:24:14Z","timestamp":1740108254585,"version":"3.37.3"},"reference-count":48,"publisher":"Springer Science and Business Media LLC","issue":"4","license":[{"start":{"date-parts":[[2021,12,10]],"date-time":"2021-12-10T00:00:00Z","timestamp":1639094400000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,12,10]],"date-time":"2021-12-10T00:00:00Z","timestamp":1639094400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100018811","name":"Universidad de la Rioja","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100018811","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Computing"],"published-print":{"date-parts":[[2022,4]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Data provenance is a form of knowledge graph providing an account of what a system performs, describing the data involved, and the processes carried out over them. It is crucial to ascertaining the origin of data, validating their quality, auditing applications behaviours, and, ultimately, making them accountable. However, instrumenting applications, especially legacy ones, to track the provenance of their operations remains a significant technical hurdle, hindering the adoption of provenance technology. UML2PROV is a software-engineering methodology that facilitates the instrumentation of provenance recording in applications designed with UML diagrams. It automates the generation of (1) templates for the provenance to be recorded and (2) the code to capture values required to instantiate those templates from an application at run time, both from the application\u2019s UML diagrams. By so doing, UML2PROV frees application developers from manual instrumentation of provenance capturing while ensuring the quality of recorded provenance. In this paper, we present in detail UML2PROV\u2019s approach to generating application code for capturing provenance values via the means of Bindings Generation Module (BGM). In particular, we propose a set of requirements for BGM implementations and describe an event-based design of BGM that relies on the Aspect-Oriented Programming (AOP) paradigm to automatically weave the generated code into an application. Finally, we present three different BGM implementations following the above design and analyze their pros and cons in terms of computing\/storage overheads and implications to provenance consumers.<\/jats:p>","DOI":"10.1007\/s00607-021-01012-x","type":"journal-article","created":{"date-parts":[[2021,12,10]],"date-time":"2021-12-10T15:03:45Z","timestamp":1639148625000},"page":"767-788","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Automated and non-intrusive provenance capture with UML2PROV"],"prefix":"10.1007","volume":"104","author":[{"given":"Carlos","family":"S\u00e1enz-Ad\u00e1n","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Francisco J.","family":"Garc\u00eda-Izquierdo","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9235-7311","authenticated-orcid":false,"given":"Beatriz","family":"P\u00e9rez","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Trung Dong","family":"Huynh","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Luc","family":"Moreau","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2021,12,10]]},"reference":[{"key":"1012_CR1","doi-asserted-by":"crossref","unstructured":"Altintas I, Barney O, Jaeger-Frank E (2006) Provenance collection support in the kepler scientific workflow system. In: Proceedings of the international provenance and annotation workshop (IPAW\u201906), pp 118\u2013132","DOI":"10.1007\/11890850_14"},{"key":"1012_CR2","unstructured":"Apache SPARK: 2021 Available at http:\/\/spark.apache.org\/. Last visited on September (2021)"},{"issue":"2","key":"1012_CR3","doi-asserted-by":"publisher","first-page":"131","DOI":"10.1016\/S0167-6423(99)00034-9","volume":"36","author":"ID Baxter","year":"2000","unstructured":"Baxter ID, Mehlich M (2000) Reverse engineering is reverse forward engineering. Sci Comput Programm 36(2):131\u2013147","journal-title":"Sci Comput Programm"},{"issue":"5","key":"1012_CR4","doi-asserted-by":"publisher","first-page":"519","DOI":"10.1002\/cpe.1226","volume":"20","author":"S Bowers","year":"2008","unstructured":"Bowers S, McPhillips TM, Lud\u00e4scher B (2008) Provenance in collection-oriented scientific workflows. Concurr Comput 20(5):519\u2013529","journal-title":"Concurr Comput"},{"key":"1012_CR5","doi-asserted-by":"crossref","unstructured":"Brauer PC, Fittkau F, Hasselbring W (2014) The aspect-oriented architecture of the caps framework for capturing, analyzing and archiving provenance data. In: Proceedings of the international provenance and annotation workshop (IPAW\u201914), pp 223\u2013225","DOI":"10.1007\/978-3-319-16462-5_19"},{"issue":"4","key":"1012_CR6","doi-asserted-by":"publisher","first-page":"571","DOI":"10.1007\/s10270-012-0278-4","volume":"11","author":"MRV Chaudron","year":"2012","unstructured":"Chaudron MRV, Heijstek W, Nugroho A (2012) How effective is UML modeling?\u2014an empirical perspective on costs and benefits. Softw Syst Model 11(4):571\u2013580","journal-title":"Softw Syst Model"},{"key":"1012_CR7","doi-asserted-by":"crossref","unstructured":"Chen Z, Moreau L (2008) Implementation and evaluation of a protocol for recording process documentation in the presence of failures. In: Proceedings of the 2nd International provenance and annotation workshop, pp 92\u2013105","DOI":"10.1007\/978-3-540-89965-5_11"},{"issue":"5","key":"1012_CR8","doi-asserted-by":"publisher","first-page":"565","DOI":"10.1002\/cpe.1256","volume":"20","author":"B Clifford","year":"2008","unstructured":"Clifford B, Foster I, Voeckler JS et al (2008) Tracking provenance in a virtual data grid. Concurr Comput 20(5):565\u2013575","journal-title":"Concurr Comput"},{"issue":"5","key":"1012_CR9","doi-asserted-by":"publisher","first-page":"497","DOI":"10.1002\/cpe.1232","volume":"20","author":"S Cohen-Boulakia","year":"2008","unstructured":"Cohen-Boulakia S, Biton O, Cohen S, Davidson S (2008) Addressing the Provenance Challenge using ZOOM. Concurr Comput 20(5):497\u2013506","journal-title":"Concurr Comput"},{"key":"1012_CR10","doi-asserted-by":"crossref","unstructured":"Campos\u00a0Junior H de\u00a0S, de\u00a0Paiva CA, Braga R, Ara\u00fajo MAP., David JMN, Campos F (2017) Regression tests provenance data in the continuous software engineering context. In: Proceedings of the 2nd Brazilian Symposium on Systematic and Automated Software Testing, pp 1\u20136","DOI":"10.1145\/3128473.3128483"},{"key":"1012_CR11","doi-asserted-by":"crossref","unstructured":"da Cruz SMS, Campos MLM, Mattoso M (2009) Towards a Taxonomy of Provenance in Scientific Workflow Management Systems. In: Proceedings of the IEEE Congress on Services, Part I, SERVICES I, pp 259\u2013266","DOI":"10.1109\/SERVICES-I.2009.18"},{"key":"1012_CR12","unstructured":"Dalpra HL, Costa GCB, Sirqueira TFM, Braga RM, Campos F, Werner CML, David JMN (2015) Using ontology and data provenance to improve software processes. In: ONTOBRAS"},{"key":"1012_CR13","volume-title":"Design patterns: elements of reusable object-oriented software","author":"E Gamma","year":"1995","unstructured":"Gamma E, Helm R, Johnson R, Vlissides J (1995) Design patterns: elements of reusable object-oriented software. Addison Wesley, Boston"},{"key":"1012_CR14","doi-asserted-by":"crossref","unstructured":"Gehani A, Tariq D (2012) SPADE: support for provenance auditing in distributed environments. In: Proceedings of the 13th International Middleware Conference, pp 101\u2013120","DOI":"10.1007\/978-3-642-35170-9_6"},{"key":"1012_CR15","doi-asserted-by":"crossref","unstructured":"Gorp PV, Stenten H, Mens T, Demeyer S (2003) Towards automating source-consistent UML refactorings. In: Proceedings of the 6th international conference on the unified modeling language, pp 144\u2013159","DOI":"10.1007\/978-3-540-45221-8_15"},{"key":"1012_CR16","unstructured":"Groth P (2007) The origin of data: Enabling the determination of provenance in multi-institutional scientific systems through the documentation of processes. Ph.D. thesis, University of Southampton"},{"key":"1012_CR17","unstructured":"Groth P, Moreau (eds) L (2013) PROV-Overview. An Overview of the PROV Family of Documents. W3C Working Group Note NOTE-prov-overview-20130430, World Wide Web Consortium www.w3.org\/TR\/2013\/NOTE-prov-overview-20130430\/"},{"key":"1012_CR18","doi-asserted-by":"crossref","unstructured":"Heras J, Dom\u00ednguez C, Mata E, Pascual V, Lozano C, Torres C, Zarazaga M (2015) GelJ \u2013 a tool for analyzing DNA fingerprint gel images. BMC Bioinformatics 16(1)","DOI":"10.1186\/s12859-015-0703-0"},{"key":"1012_CR19","doi-asserted-by":"crossref","unstructured":"Hutchinson JE, Whittle J, Rouncefield M, Kristoffersen S (2011) Empirical assessment of MDE in industry. In: Proceedings of the 33rd international conference on software engineering, pp 471\u2013480","DOI":"10.1145\/1985793.1985858"},{"issue":"1","key":"1012_CR20","doi-asserted-by":"publisher","first-page":"93","DOI":"10.1016\/j.scico.2012.01.006","volume":"78","author":"A Khalilian","year":"2012","unstructured":"Khalilian A, Azgomi MA, Fazlalizadeh Y (2012) An improved method for test case prioritization by incorporating historical test case data. Sci Comput Programm 78(1):93\u2013116","journal-title":"Sci Comput Programm"},{"key":"1012_CR21","doi-asserted-by":"crossref","unstructured":"Kiczales G, Lamping J, Mendhekar A, Maeda C, Lopes C, Loingtier JM, Irwin J (1997) Aspect-oriented programming. In: Proceedings of the european conference on object-oriented programming (ECOOP\u201997), pp 220\u2013242. Berlin, Heidelberg","DOI":"10.1007\/BFb0053381"},{"key":"1012_CR22","doi-asserted-by":"crossref","unstructured":"Kiczales G, Mezini M (2005) Aspect-oriented programming and modular reasoning. In: Proceedings of the 27th international conference on software engineering (ICSE\u201905), pp 49\u201358. ACM, New York, NY, USA","DOI":"10.1145\/1062455.1062482"},{"key":"1012_CR23","volume-title":"Aspectj in action: enterprise AOP with spring applications","author":"R Laddad","year":"2009","unstructured":"Laddad R (2009) Aspectj in action: enterprise AOP with spring applications. Manning Publications Co, Shelter Island"},{"key":"1012_CR24","doi-asserted-by":"crossref","unstructured":"Lilis Y, Savidis A (2019) A survey of metaprogramming languages. ACM Comput. Surv. 52(6)","DOI":"10.1145\/3354584"},{"key":"1012_CR25","unstructured":"Michaelides D, Huynh TD, Moreau L (2014). PROV-TEMPLATE: A Template System for PROV Documents Available at https:\/\/openprovenance.org\/prov-template\/. Last visited on September, 2021"},{"issue":"3","key":"1012_CR26","doi-asserted-by":"publisher","first-page":"8:1","DOI":"10.1145\/2000791.2000792","volume":"20","author":"S Miles","year":"2011","unstructured":"Miles S, Groth PT, Munroe S, Moreau L (2011) PrIMe: a methodology for developing provenance-aware applications. ACM Trans Softw Eng Methodol 20(3):8:1-8:42","journal-title":"ACM Trans Softw Eng Methodol"},{"key":"1012_CR27","unstructured":"MongoDB Inc. Version 4.0.2: (2018). Available at www.mongodb.org\/. Last visited on September, 2021"},{"issue":"2","key":"1012_CR28","doi-asserted-by":"publisher","first-page":"103","DOI":"10.1109\/TSE.2017.2659745","volume":"44","author":"L Moreau","year":"2018","unstructured":"Moreau L, Batlajery BV, Huynh TD, Michaelides D, Packer H (2018) A templating system to generate provenance. IEEE Trans Softw Eng 44(2):103\u2013121","journal-title":"IEEE Trans Softw Eng"},{"key":"1012_CR29","unstructured":"Muniswamy-Reddy KK, Holland DA, Braun U, Seltzer MI (2006) Provenance-Aware Storage Systems. In: USENIX Annual Technical Conference, General Track, pp. 43\u201356"},{"key":"1012_CR30","doi-asserted-by":"crossref","unstructured":"Murta L, Braganholo V, Chirigati F, Koop D, Freire J (2014) noworkflow: capturing and analyzing provenance of scripts. In: International Provenance and Annotation Workshop, pp. 71\u201383. Springer","DOI":"10.1007\/978-3-319-16462-5_6"},{"key":"1012_CR31","unstructured":"OMG: Unified Modeling Language (UML). Version 2.5 (2015). Document formal\/15-03-01, March, 2015"},{"issue":"3","key":"1012_CR32","doi-asserted-by":"publisher","first-page":"495","DOI":"10.1007\/s10115-018-1164-3","volume":"57","author":"B P\u00e9rez","year":"2018","unstructured":"P\u00e9rez B, S\u00e1enz-Ad\u00e1n C, Rubio J (2018) A systematic review of provenance systems. Knowl Inf Syst 57(3):495\u2013543. https:\/\/doi.org\/10.1007\/s10115-018-1164-3","journal-title":"Knowl Inf Syst"},{"key":"1012_CR33","doi-asserted-by":"crossref","unstructured":"Pimentel JF, Dey SC, McPhillips TM, Belhajjame K, Koop D, Murta L, Braganholo V, Lud\u00e4scher B: Yin & yang: demonstrating complementary provenance from noworkflow & yesworkflow. In: Proceedings of the International Provenance and Annotation Workshop (IPAW\u201916), pp. 161\u2013165","DOI":"10.1007\/978-3-319-40593-3_13"},{"key":"1012_CR34","unstructured":"ProvToolbox.: Available at http:\/\/lucmoreau.github.io\/ProvToolbox\/. Last visited on September, 2021"},{"key":"1012_CR35","unstructured":"Reggio G, Leotta M, Ricca F, Clerissi D (2013) What are the used UML diagrams? A preliminary survey. In: EESSMOD@MoDELS, USA, pp. 3\u201312"},{"key":"1012_CR36","doi-asserted-by":"crossref","unstructured":"S\u00e1enz-Ad\u00e1n C, Moreau L, P\u00e9rez B, Miles S, Garc\u00eda-Izquierdo FJ (2018) Automating provenance capture in software engineering with UML2PROV. In: Proceedings of the International Provenance and Annotation Workshop (IPAW\u201918), pp 58\u201370","DOI":"10.1007\/978-3-319-98379-0_5"},{"key":"1012_CR37","doi-asserted-by":"publisher","unstructured":"S\u00e1enz-Ad\u00e1n C, P\u00e9rez B, Garc\u00eda-Izquierdo FJ (2020) Moreau L Integrating Provenance Capture and UML with UML2PROV: Principles and Experience. IEEE Transactions on Software Engineering https:\/\/doi.org\/10.1109\/TSE.2020.2977016. Early Access","DOI":"10.1109\/TSE.2020.2977016"},{"key":"1012_CR38","unstructured":"S\u00e1enz-Ad\u00e1n C, P\u00e9rez B, Garc\u00eda-Izquierdo FJ, Moreau L (2020) Supplementary material of UML2PROV. Available at http:\/\/uml2prov.unirioja.es"},{"key":"1012_CR39","doi-asserted-by":"crossref","unstructured":"S\u00e1enz-Ad\u00e1n C, P\u00e9rez B, Huynh TD, Moreau L (2018) UML2PROV: automating provenance capture in software engineering. In: Proceedings of the 44th International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM\u201918), pp 667\u2013681","DOI":"10.1007\/978-3-319-73117-9_47"},{"key":"1012_CR40","unstructured":"Scanniello G, Gravino C, Tortora G (2010) Investigating the role of UML in the software modeling and maintenance - A preliminary industrial survey. In: Proceedings of the 12th international conference on enterprise information systems, pp 141\u2013148"},{"key":"1012_CR41","doi-asserted-by":"crossref","unstructured":"Schreiber A, von Kurnatowski L, de\u00a0Boer C (2021) Analyzing software engineering processes with provenance-based knowledge graphs. In: 2021 IEEE Aerospace Conference, pp 1\u201311","DOI":"10.1109\/AERO50100.2021.9438358"},{"key":"1012_CR42","doi-asserted-by":"crossref","unstructured":"Seidl M, Scholz M, Huemer C, Kappel G (2015) UML@Classroom: An Introduction to Object-Oriented Modeling. Springer Publishing Company, Incorporated","DOI":"10.1007\/978-3-319-12742-2"},{"issue":"5","key":"1012_CR43","doi-asserted-by":"publisher","first-page":"19","DOI":"10.1109\/MS.2003.1231146","volume":"20","author":"B Selic","year":"2003","unstructured":"Selic B (2003) The pragmatics of model-driven development. IEEE Softw 20(5):19\u201325","journal-title":"IEEE Softw"},{"key":"1012_CR44","unstructured":"Simmhan YL, Plale B, Gannon D (2005) A Survey of Data Provenance Techniques. Computer Science Department, Indiana University, Bloomington IN (612) Extended version of SIGMOD Record 2005. Available at: www.cs.indiana.edu\/pub\/techreports\/TR618.pdf"},{"key":"1012_CR45","unstructured":"The AspectJ Project: Available at www.eclipse.org\/aspectj\/. Last visited on,September, 2021"},{"key":"1012_CR46","unstructured":"UML2PROV User Guide: Available at https:\/\/github.com\/uml2prov\/uml2prov. Last visited on September, 2021"},{"key":"1012_CR47","unstructured":"XSL Transformations (XSLT) Version 3.0: W3C Candidate Recommendation 7 February 2017. Available at www.w3.org\/TR\/xslt-30\/. Last visited on September, 2021"},{"key":"1012_CR48","unstructured":"XTend: Available at www.eclipse.org\/xtend\/. Last visited on September 2021"}],"container-title":["Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00607-021-01012-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00607-021-01012-x\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00607-021-01012-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,3,31]],"date-time":"2022-03-31T18:13:20Z","timestamp":1648750400000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s00607-021-01012-x"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,12,10]]},"references-count":48,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2022,4]]}},"alternative-id":["1012"],"URL":"https:\/\/doi.org\/10.1007\/s00607-021-01012-x","relation":{},"ISSN":["0010-485X","1436-5057"],"issn-type":[{"type":"print","value":"0010-485X"},{"type":"electronic","value":"1436-5057"}],"subject":[],"published":{"date-parts":[[2021,12,10]]},"assertion":[{"value":"26 February 2021","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"2 September 2021","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"10 December 2021","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}