Software Archaeology in Practice Software Archaeology in Practice Recovering Lost Behaviour from Legacy Code

Total Page:16

File Type:pdf, Size:1020Kb

Software Archaeology in Practice Software Archaeology in Practice Recovering Lost Behaviour from Legacy Code RECOVERING LOST BEHAVIOUR FROM LEGACY CODE Software Archaeology in Practice Software Archaeology in Practice Recovering lost behaviour from legacy code Verum Software Tools BV Abstract—Reengineering legacy software is an undesirable but recovered from the legacy codebase. Future rot can be nevertheless occasionally unavoidable necessity. The core minimised by converting the legacy code into verifiably challenge is to efficiently and effectively uncover the behaviour of complete and correct models. legacy code, the origins of which have been lost in the mists of time, establishing a complete and correct foundation for further re- In an ideal world, it would be possible to automatically engineering. In this paper, we present a technique by which such reverse engineer an existing codebase using tooling. But then in lost or poorly understood behaviour can be recovered and turned an ideal world water could flow uphill and time could be nd into formally verifiable models. These models then offer a solid reversed. The simple fact is that the 2 law of thermodynamics foundation for the further development of a software system. means that creating a more highly ordered system (reengineered software) – from a lower ordered system (legacy code) – Keywords—software reengineering; legacy code; model driven requires work. The trick is to perform that work as efficiently software engineering; formal methods; software engineering tools; and effectively as possible. software components; I. INTRODUCTION II. MODEL DRIVEN SOFTWARE ENGINEERING An unpleasant but nevertheless unavoidable truth of software development is that conventionally developed software A generalised definition of Model Driven Software “rots” in time. Rot occurs slowly and insidiously, driven by the Engineering (MDSE) can be found on Wikipedia [1]. A more very nature of source code itself and the human factors that pragmatic description is provided by Küster [2]: impinge on developing and maintaining it. It often starts when • Model-Driven Software Engineering (MDSE) is a changes to source code are not reflected in documentation, software engineering paradigm. leading to a loss of readily accessible information. It accelerates when development teams change and knowledge of – in the • Models are considered as primary artefacts from which meantime, poorly documented – code is lost. It proliferates when parts of a software system can be automatically new features are added by fresh software engineers, based on generated. incomplete documentation and knowledge. It reaches its zenith as the law of diminishing returns bites and development progress • Models are usually more abstract representations of the grinds to a halt. It is at this point that reengineering the software system to be built. becomes unavoidable. • MDSE can improve productivity and communication. From a business perspective, reengineering software is a • MDSE requires technologies and tools in order to be nightmare. It involves spending a lot of time and money just to successfully applied. stand still. It is also highly risky, simply because the existing legacy software is so poorly understood. And in the worst-case As stated by Küster, MDSE can be used to improve history can repeat itself with the newly reengineered codebase productivity and communication. Further, models designed being no more resistant to rot than its predecessor. This risk, and using formal verification techniques have the additional benefit the work involved in reengineering, can be greatly diminished if of increased longevity. Specifically, by objectively establishing the essential functionality and behaviour of the software can be that a model is complete and correct for a range of properties, www.verum.com amongst other benefits one ensures that the model will not be subject to quite the same level of rot as conventionally developed source code. Therefore, when reengineering a software (sub) system one can not only improve productivity, quality and understanding by restating the design of the (sub) system in verifiably complete and correct models, but one also greatly reduces the risk of the design deteriorating into chaos again. In this paper, we will consider the application of Dezyne [3] to the problem of recovering lost or poorly understood behaviour from legacy software and turning it into verifiably complete and correct models. Dezyne is an MDSE tool that enables software engineers to create, explore and formally verify component based software designs for embedded, technical and industrial software systems. Figure 1: Dezyne Interface Model Example III. COMPONENTS AND COMPOSITIONALITY B. Component Models The Dezyne modelling paradigm is analogous to that of the hardware world. Namely, Dezyne is based on the concept of a In the hardware world, components are implemented in component and the inherent compositionality of components. silicon and it is in the silicon that the actual work of a component Dezyne recognises three types of models, interface models, is done. It is essential to the basic utility of an IC that its component models and system models. implementation fully refines the interface that it specifies in its technical documentation. A. Interface Models In the hardware world, the externally visible behaviour of an IC is generally described by two things, a pin-out and a timing diagram, both usually found in a data sheet or technical manual for the component. This abstraction provides enough information for the IC to be used without revealing details of how it is implemented. Dezyne component models are analogous: the component does the actual work of a design. Every Dezyne component provides an interface model and thus it is essential to the basic utility of a component that it fully refines the specification that the interface provides. Dezyne interface models are analogous. They describe the API provided by a software component and the protocol - the Dezyne goes one step further than the hardware paradigm. sequence of allowed events and responses - that the API Namely, any component that in turn requires the use of another implements. An interface model is an abstraction that provides component must also adhere to the protocol of the interface enough information for a software component to be used without provided by that component. Dezyne verification technology revealing details of how the component is implemented. Thus, formally ensures that every component model adheres to the an interface model amounts to a specification of the externally interface models that it provides and requires. visible behaviour of a software component. Interface models are a key Dezyne concept upon which the compositionality of Dezyne components rests. When an interface model is used in conjunction with a Dezyne component model, Dezyne’s verification engine will assert that the component completely and correctly adheres to the protocol of any interface that it provides or requires (the Liskov Substitution Principle [3]). In this way, the structural integrity of entire systems composed from Dezyne components is established. Figure 2 Dezyne Component Header www.verum.com C. System Models IV. SOFTWARE ARCHAEOLOGY In the hardware world, systems are designed by composing Dezyne offers a means to reduce the cost and risk of the work components together. involved in reengineering the behaviour of complex software systems. In a process that we have come to call “Software Archaeology”, Dezyne can be used to rediscover the ‘lost’ behaviour of a system. The key to this process is the use of Dezyne’s interface models to capture externally visible behaviour across interfaces to legacy software and to separate it into expected behaviour on the one hand and unexpected or erroneous behaviour on the other. A. Interfacing to Legacy Software Dezyne interface models are used to connect Dezyne components to legacy software and vice-versa. In this case the The same is true in Dezyne. A Dezyne System Model is used interface model represents merely an assumption of how the to declare instances of Dezyne components and to link them legacy component behaves, against which the Dezyne together through their port definitions, based on interface component is verified. Dezyne’s verification engine cannot be models. A Dezyne System Model can itself provide and require used to show that the legacy software complies to the interface interfaces, making it possible to abstract and hide the entire model, meaning that the interface model offers no guarantee that implementation of a (sub) system. The result is that Dezyne sub- the legacy component will stick to the protocol that the interface systems can be nested and appear as components at a higher model defines. higher level in a system. With a small, simple or highly ordered legacy component it is possible to be confident that an interface model captures the exact protocol that the component implements. But when re- engineering legacy software, the behaviour of a component is poorly understood and therefore it is highly likely that a Dezyne interface model will represent an approximation of the legacy component’s visible behaviour. This can present an issue at runtime because Dezyne generated components assume that all other components they use or are used by, including legacy components, are correctly behaved. Dezyne’s verification engine guarantees that other Dezyne components meet this requirement. However, errant behaviour by a legacy component may cause a protocol violation on an interface, with the consequence that
Recommended publications
  • What Every Engineer Should Know About Software Engineering
    7228_C000.fm Page v Tuesday, March 20, 2007 6:04 PM WHAT EVERY ENGINEER SHOULD KNOW ABOUT SOFTWARE ENGINEERING Phillip A. Laplante Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Group, an informa business © 2007 by Taylor & Francis Group, LLC 7228_C000.fm Page vi Tuesday, March 20, 2007 6:04 PM CRC Press Taylor & Francis Group 6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 © 2007 by Taylor & Francis Group, LLC CRC Press is an imprint of Taylor & Francis Group, an Informa business No claim to original U.S. Government works Printed in the United States of America on acid-free paper 10 9 8 7 6 5 4 3 2 1 International Standard Book Number-10: 0-8493-7228-3 (Softcover) International Standard Book Number-13: 978-0-8493-7228-5 (Softcover) This book contains information obtained from authentic and highly regarded sources. Reprinted material is quoted with permission, and sources are indicated. A wide variety of references are listed. Reasonable efforts have been made to publish reliable data and information, but the author and the publisher cannot assume responsibility for the validity of all materials or for the conse- quences of their use. No part of this book may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission from the publishers. For permission to photocopy or use material electronically from this work, please access www.
    [Show full text]
  • Software Development Process for Teams with Low Expertise, High-Rotation and No- Architect: a Systematic Mapping Study
    Software Development Process for Teams with Low Expertise, High-Rotation and No- Architect: A Systematic Mapping Study Paulina Valencia Franco Angelina Espinoza, Humberto Cervantes Maceda Electrical Engineering Department, Electrical Engineering Department, Universidad Autónoma Metropolitana Universidad Autónoma Metropolitana Iztapalapa, México Iztapalapa, México Email: paulatina63 –at- gmail.com Email: aespinoza, hcm -at- xanum.uam.mx Abstract —To have a well-organized software team is Process) [1], TSP (Team Software Process) [2], PSP (Personal fundamental to achieve the business goals in a software Software Process) [3], XP (Extreme Programming) [4] or development project, such as: functionality and quality in the SCRUM [5]. planned times. However, the teams present a particular problematic that are common in both industrial and academic These methodologies, for their nature, are more or less settings, this paper focuses on three: a) Teams with members prepared to face the team features previously mentioned, but with low expertise on methodologies, b) Teams with high member the real big challenge is to combine these models, to get an rotations, or c) Teams lacking a software architect. One adapted process model for overcoming all the three previous approach to address this situation is to define a software features in development teams. Particularly, these kinds of development process, adapted from the adaptability teams are commonly found in academic environments where characteristics and benefits offered by several methodologies there are not resources to hire a technical leader, nor currently used, in order that the development team obtains the experienced staff, so that development teams are mainly expected results in terms of productivity, time and quality of the comprised of students who are in constant rotation.
    [Show full text]
  • Adapting the Harris Matrix for Software Stratigraphy
    Adapting the Harris Matrix for Software Stratigraphy Andrew Reinhard Edward Harris’s (1979) landmark work, Principles of preservation of these born-digital archaeological Archaeological Stratigraphy, from which sprouted sites. the idea and practice of the Harris matrix, became This is not a new concern for people who work within the broad my windmill (or albatross) in 2017 as I attempted to umbrella of “digital humanities.” “Software archaeology”—the leverage its data visualization technique onto a digital attempt to reverse-engineer poorly documented (or undocu- mented) software in order to restore and preserve functionality— archaeological site. This visualization would not only has existed formally for over 15 years.1 Digital preservation is allow archaeologists to understand the composition also not a new idea and forms a border of software archaeology; namely, what to do with software post-use or post-“excavation.”2 and history of a digital built environment—something None of the software archaeology approaches, however, treat important to the emerging field of digital heritage— software as archaeological sites in the traditional sense, and I wanted to see what would happen if I conducted a truly archaeo- but also would contribute to the conservation and logical investigation of a software application using a tool known ABSTRACT In 1979, Edward C. Harris invented and published his eponymous matrix for visualizing stratigraphy, creating an indispensable tool for generations of archaeologists. When presenting his matrix, Harris also detailed his four laws of archaeological stratigraphy: superposition, original horizontal, original continuity, and stratigraphic succession. In 2017, I created the first stratigraphic matrix for software, using as a test the 2016 video game No Man’s Sky (Hello Games).
    [Show full text]
  • Software Preservation Benefits Framework
    Software Preservation Benefits framework CC443D006-1.0 7 December 2010 Cover + 74 pages Neil Chue Hong Steve Crouch Simon Hettrick Tim Parkinson Matt Shreeve Software Sustainability Institute Curtis+Cartwright Consulting Ltd The University of Edinburgh Main Office: Surrey Technology Centre, Registered in England: number 3707458 James Clerk Maxwell Building Surrey Research Park, Guildford Mayfield Road Surrey GU2 7YG Registered address: Edinburgh EH9 3JZ Baker Tilly, The Clock House, tel: +44 (0)1483 685020 140 London Road, Guildford, tel: +44 (0) 131 650 5030 fax: +44 (0)1483 685021 Surrey GU1 1UW email: [email protected] email: [email protected] web: http://www.software.ac.uk web: http://www.curtiscartwright.co.uk Summary of framework 1 An investigation of software preservation has been carried out by Curtis+Cartwright Consulting Limited, in partnership with the Software Sustainability Institute (SSI), on behalf of the JISC.1 The aim of the study was to raise awareness and build capacity throughout the Further and Higher Education (FE/HE) sector to engage with preservation issues as part of the process of software development. Part of this involved examining the purpose and benefits of employing preservation measures in relation to software, both at the development stage and retrospectively to legacy software. The study built on the JISC-funded ‘Significant Properties of Software’ study2 that produced an excellent introduction and comprehensive framework to software preservation. 2 This is a framework document that assists developer groups and their sponsoring bodies to understand and gauge the benefits or disbenefits of allocating effort to: – ensuring that preservation measures are built into software development processes; – actively preserving legacy software.
    [Show full text]
  • Sustainable Software Development Through Overlapping Pair Rotation Todd Sedano Paul Ralph Cécile Péraire
    Carnegie Mellon University From the SelectedWorks of Cécile Péraire September, 2016 Sustainable Software Development through Overlapping Pair Rotation Todd Sedano Paul Ralph Cécile Péraire Available at: https://works.bepress.com/cecile_peraire/35/ Sustainable Software Development through Overlapping Pair Rotation Todd Sedano Paul Ralph Cécile Péraire Pivotal University of Auckland Carnegie Mellon Unveristy 3495 Deer Creak Road Auckland Silicon Valley Campus Palo Alto, CA New Zealand Moffett Field, CA 94035, USA [email protected] [email protected] [email protected] ABSTRACT Keywords Context: Conventional wisdom says that team disruptions Extreme Programming, Grounded Theory, Code ownership, (like team churn) should be avoided. However, we have ob- Sustainable software development served software development projects that succeed despite high disruption. 1. INTRODUCTION Objective: The purpose of this paper is to understand Imagine being a software development manager when one how to develop software effectively, even in the face of team of your top engineers, Dakota, gives notice and is moving on disruption. to a new job opportunity. You are simultaneously excited Method: We followed Constructivist Grounded Theory. because the new position provides a great career opportu- We conducted participant-observation of several projects at nity for someone you respect, yet distressed that her depar- Pivotal (a software development company), and interviewed ture may exacerbate your own project. How will the team 21 software engineers, interaction designers, and product overcome this disruption? Your investment in this engineer managers. The researchers iteratively sampled and analyzed and her entire accumulated knowledge about the project is the collected data until achieving theoretical saturation. evaporating. Dakota developed some of the systems' tricki- Results: This paper introduces a descriptive theory of Sus- est, most important components.
    [Show full text]
  • Software Guide the Computer with Growth Potential
    February 1980 Volume 3 Issue 2 NEW: Professional software guide The computer with growth potential The System Three is Cromemco's best selling small business computer. It's easy to see why. Not only is it ideal for the first time computer user. But perhaps more important, it can be expanded into a comprehensive business facility servicing many varied company requirements. Single -user system You can start small. A 64K computer with a megabyte of floppy disc storage costs under £4,000.* Perhaps your initial reason for choosing Cromemco was its flexible database management system-ideal for client records, order processing, sales analysis, inventory control, and many more business uses; or you might have required the full screen word processing system, capable of printing up to 20 original letters an hour; possibly you needed Cobol, Basic or Fortran to develop your own customised packages. Single -user System Three, with 64K memory, 2 discs, terminal and printer. Easy to use Ideal for small businesses. Whatever the reason, you were highly impressed with the ease with which your Will it expand? Multi-user system very first computer application got off the It was then you discovered that the Fortunately, we can readily expand your ground. So you added another. And terminal is the limiting factor, because ofCromemco. Unlike other makers' systems, another. And pretty soon quite a lot of the time taken to input data. If only you all we need to do is add some memory and a company business was running on your could connect a second terminal you ®TU-ART interface, and the multi-user Cromemco.
    [Show full text]
  • Table of Contents
    A Comprehensive Introduction to Vista Operating System Table of Contents Chapter 1 - Windows Vista Chapter 2 - Development of Windows Vista Chapter 3 - Features New to Windows Vista Chapter 4 - Technical Features New to Windows Vista Chapter 5 - Security and Safety Features New to Windows Vista Chapter 6 - Windows Vista Editions Chapter 7 - Criticism of Windows Vista Chapter 8 - Windows Vista Networking Technologies Chapter 9 -WT Vista Transformation Pack _____________________ WORLD TECHNOLOGIES _____________________ Abstraction and Closure in Computer Science Table of Contents Chapter 1 - Abstraction (Computer Science) Chapter 2 - Closure (Computer Science) Chapter 3 - Control Flow and Structured Programming Chapter 4 - Abstract Data Type and Object (Computer Science) Chapter 5 - Levels of Abstraction Chapter 6 - Anonymous Function WT _____________________ WORLD TECHNOLOGIES _____________________ Advanced Linux Operating Systems Table of Contents Chapter 1 - Introduction to Linux Chapter 2 - Linux Kernel Chapter 3 - History of Linux Chapter 4 - Linux Adoption Chapter 5 - Linux Distribution Chapter 6 - SCO-Linux Controversies Chapter 7 - GNU/Linux Naming Controversy Chapter 8 -WT Criticism of Desktop Linux _____________________ WORLD TECHNOLOGIES _____________________ Advanced Software Testing Table of Contents Chapter 1 - Software Testing Chapter 2 - Application Programming Interface and Code Coverage Chapter 3 - Fault Injection and Mutation Testing Chapter 4 - Exploratory Testing, Fuzz Testing and Equivalence Partitioning Chapter 5
    [Show full text]
  • Archaeology of the Amsterdam Digital City; Why Digital Data Are Dynamic and Should Be Treated Accordingly
    UvA-DARE (Digital Academic Repository) Archaeology of the Amsterdam digital city; why digital data are dynamic and should be treated accordingly Alberts, G.; Went, M.; Jansma, R. DOI 10.1080/24701475.2017.1309852 Publication date 2017 Document Version Final published version Published in Internet Histories: Digital Technology, Culture and Society License CC BY-NC-ND Link to publication Citation for published version (APA): Alberts, G., Went, M., & Jansma, R. (2017). Archaeology of the Amsterdam digital city; why digital data are dynamic and should be treated accordingly. Internet Histories: Digital Technology, Culture and Society , 1(1-2), 146-159 . https://doi.org/10.1080/24701475.2017.1309852 General rights It is not permitted to download or to forward/distribute the text or part of it without the consent of the author(s) and/or copyright holder(s), other than for strictly personal, individual use, unless the work is under an open content license (like Creative Commons). Disclaimer/Complaints regulations If you believe that digital publication of certain material infringes any of your rights or (privacy) interests, please let the Library know, stating your reasons. In case of a legitimate complaint, the Library will make the material inaccessible and/or remove it from the website. Please Ask the Library: https://uba.uva.nl/en/contact, or a letter to: Library of the University of Amsterdam, Secretariat, Singel 425, 1012 WP Amsterdam, The Netherlands. You will be contacted as soon as possible. UvA-DARE is a service provided by the library of the University of Amsterdam (https://dare.uva.nl) Download date:28 Sep 2021 INTERNET HISTORIES, 2017 VOL.
    [Show full text]
  • Reverse Engineering and the Archaeology of the Modern World
    Forum Kritische Archäologie 5 (2016) Streitraum: Reverse Engineering Reverse engineering and the archaeology of the modern world Gabriel Moshenska Zitiervorschlag Gabriel Moshenska. 2016. Reverse engineering and the archaeology of the modern world. Forum Kritische Archäologie 5:16-28. URI http://www.kritischearchaeologie.de/repositorium/fka/2016_5_2_Moshenska.pdf DOI 10.6105/journal.fka.2016.5.2 ISSN 2194-346X Dieser Beitrag steht unter der Creative Commons Lizenz CC BY-NC-ND 4.0 (Namensnennung – Nicht kommer- ziell – Keine Bearbeitung) International. Sie erlaubt den Download und die Weiterverteilung des Werkes / Inhaltes unter Nennung des Namens des Autors, jedoch keinerlei Bearbeitung oder kommerzielle Nutzung. Weitere Informationen zu der Lizenz finden Sie unter: http://creativecommons.org/licenses/by-nc-nd/4.0/deed.de. Forum Kritische Archäologie 5 (2016) Streitraum: Reverse Engineering Reverse engineering and the archaeology of the modern world Gabriel Moshenska UCL Institute of Archaeology Abstract This paper explores the practical and conceptual connections between the archaeology of post-industrial socie- ties and the process of reverse engineering. It explores common themes such as industrial decline, the loss of tech- nical expertise, and the growing problem of obsolescence both in technological infrastructure and in the manage- ment of digital data. To illuminate the connections between the two fields it considers several examples. These include the implicit applications of reverse engineering in archaeology, such as chemical analyses of Egyptian mummification and alchemical equipment, as well as the use of archaeological concepts and terminologies in re- verse engineering. The concept of archaeology as reverse engineering is examined with regard to military aircraft, post-industrial landscapes and so-called ‘non-places’.
    [Show full text]
  • The Agile Planning Horizon in Professional Software Development
    $40 The Agile Planning Horizon in Professional Software Development Managing at the dynamic boundary where business necessities meet software development realities. David A. Penny, Ph.D. 15 September, 2012 (12th edition) Exclusive use of this document for csc444h at the University of Toronto, winter term 2015, has been granted by the author. Copyright © 2012 by David A. Penny © 2012 by Dr. David A. Penny, Toronto, Ontario, Canada All rights reserved. No part of this book may be reproduced, in any form or by any means, without permission in writing from the author. Exclusive use of this document for csc444h at the University of Toronto, winter term 2015, has been granted by the author. ii Copyright © 2012 by David A. Penny ABOUT THE AUTHOR Dr. Penny has had a mixed industrial and academic career spanning over 25 years involvement in software development. As a Ph.D. student at the University of Toronto specializing in languages, operating systems, and software engineering, Dr. Penny was involved in software production initiatives including chemical-physics simulation software, robotic control software, variable-precision numeric libraries, language run-time environments, the Object-Oriented Turing IDE, the Mini Tunis teaching operating system, the Software Landscape, a program verification system, and the Polyx multi- processor operating system. Following graduation, Dr. Penny took a position at IBM working on an integrated development environment for C++ on the AIX platform. Dr. Penny then joined Algorithmics Incorporated becoming its CTO and VP Software Development. He led the development of RiskWatch™, the industry's leading middle-office financial risk management software for global banks, and related products.
    [Show full text]
  • How Are Conceptual Models Used in Industrial Software Development? a Descriptive Survey
    How are Conceptual Models used in Industrial Software Development? A Descriptive Survey Harald Störrle QAware GmbH München, Germany [email protected] ABSTRACT [18, p. v] in the context of the Model Driven Engineering (MDE)1 Background: There is a controversy about the relevance, role, and paradigm which, they believe, “has the potential to greatly reduce utility of models, modeling, and modeling languages in industry. development time”, and “will help us develop better software systems For instance, while some consider UML as the “lingua franca of faster.” [6, p. 8]. Furthermore, they claim that “MDA is not a vision of software engineering”, others claim that “the majority [of industry some future [...] it has already proven itself many times over in diverse practitioners] simply do not use UML.” application domains” (ibid). Note that this quote is from 2004. Objective: We aspire to evolve this debate to differentiate the cir- However, Mohagheghi and Dehlen famously asked “Where is the cumstances of modeling, and the degrees of formality of models. proof?” in their 2008 landmark paper [29]. Even MDA-supporters Method: We have conducted an online survey among industry had to admit that “adoption of this approach has been surprisingly practitioners and asked them how and for what purposes they use slow” [38, p. 513]. Various contributions have since studied success models. The raw (anonymized) survey data is published online. cases and failure cases of MDA adoption in an attempt to explain ex- Results: We find that models are widely used in industry, and actly when and why MDA projects fail or succeed [20–22; 41; 42]).
    [Show full text]
  • Using Software Archaeology to Measure Knowledge Loss in Software Projects Due to Developer Turnover ∗
    Proceedings of the 42nd Hawaii International Conference on System Sciences - 2009 Using Software Archaeology To Measure Knowledge Loss in Software Projects Due To Developer Turnover ∗ Daniel Izquierdo-Cortazar, Gregorio Robles, Felipe Ortega and Jesus M. Gonzalez-Barahona GSyC/LibreSoft Universidad Rey Juan Carlos (Madrid, Spain) dizquierdo, grex, jfelipe, jgb @gsyc.escet.urjc.es { } Abstract The lifespan of a software system can range from sev- eral years to decades. In such scenarios, the develop- Developer turnover can result in a major problem ment team in charge of the software may suffer from when developing software. When senior developers turnover: old developers leave while new developers abandon a software project, they leave a knowledge gap join the project. With the abandonment of old, senior that has to be managed. In addition, new (junior) devel- developers, projects lose human resources experienced opers require some time in order to achieve the desired both with the details of the software system and with the level of productivity. In this paper, we present a method- organizational and cultural circumstances of the project. ology to measure the effect of knowledge loss due to de- New developers will need some time to become famil- veloper turnover in software projects. For a given soft- iar with both issues. In this regard, the time for volun- ware project, we measure the quantity of code that has teers to become core contributors to FLOSS 1 projects been authored by developers that do not belong to the has been measured to be 30 months in mean, since their current development team, which we define as orphaned first contribution [11].
    [Show full text]