{"title":"Methods of Measuring Software Reuse for the Prediction of Maintenance Effort","authors":"R. Leach","doi":"10.1002/(SICI)1096-908X(199609)8:5%3C309::AID-SMR136%3E3.0.CO;2-G","DOIUrl":null,"url":null,"abstract":"A major difficulty in evaluating the costs of reusing software is determining the amount of reused software artefacts in systems. Determining the amount of reuse in a system is important for software maintenance because reused software is likely to need less corrective maintenance than newly developed software. Reusing software can also decrease costs of testing and integration. In this paper, we describe some practical techniques for measuring the amount of software reuse using simple tools. The goal is to provide accurate assessment of the state of existing software systems in order to assess quality and deploy resources efficiently. The techniques for software developed on the UNIX system use the standard utilities ‘find’ and ‘diff’. Software developed under configuration management by the ‘sccs’ utility is measured using the ‘prs’ utility. Techniques are also given for measurement of the amount of reuse in software that was developed on personal computers. Each of the methods was used for reuse measurement at NASA’s Goddard Space Flight Center. The methods were applied to measure reuse in moderately large software systems used for ground centre control of spacecraft.","PeriodicalId":383619,"journal":{"name":"J. Softw. Maintenance Res. Pract.","volume":"30 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-09-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Softw. Maintenance Res. Pract.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1002/(SICI)1096-908X(199609)8:5%3C309::AID-SMR136%3E3.0.CO;2-G","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13
Abstract
A major difficulty in evaluating the costs of reusing software is determining the amount of reused software artefacts in systems. Determining the amount of reuse in a system is important for software maintenance because reused software is likely to need less corrective maintenance than newly developed software. Reusing software can also decrease costs of testing and integration. In this paper, we describe some practical techniques for measuring the amount of software reuse using simple tools. The goal is to provide accurate assessment of the state of existing software systems in order to assess quality and deploy resources efficiently. The techniques for software developed on the UNIX system use the standard utilities ‘find’ and ‘diff’. Software developed under configuration management by the ‘sccs’ utility is measured using the ‘prs’ utility. Techniques are also given for measurement of the amount of reuse in software that was developed on personal computers. Each of the methods was used for reuse measurement at NASA’s Goddard Space Flight Center. The methods were applied to measure reuse in moderately large software systems used for ground centre control of spacecraft.