{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2022,4,2]],"date-time":"2022-04-02T18:18:07Z","timestamp":1648923487384},"reference-count":20,"publisher":"World Scientific Pub Co Pte Lt","issue":"05","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Int. J. Soft. Eng. Knowl. Eng."],"published-print":{"date-parts":[[2010,8]]},"abstract":"<jats:p> Sound empirical research suggests that we should analyze software metrics from a theoretical and practical perspective. This paper describes the result of an investigation into the respective merits of two cohesion-based metrics for program slicing. The Tightness and Overlap metrics were those originally proposed by Weiser for the procedural paradigm. We compare and contrast these two metrics with a third metric for the OO paradigm first proposed by Counsell et al. based on Hamming Distance and based on a matrix-based notation. We theoretically validated the three metrics using the properties of Kitchenham and then empirically validated the same three metrics; some revealing properties of the metrics were found as a result. In particular, that the OO-based metric was the most stable of the three; module length was not a confounding factor for the Hamming Distance-based metric; it was however for the two slice-based metrics supporting previous work by Meyers and Binkley. The number of module slices however, was found to be an even stronger influence on the values of the two slice-based metrics, whose near perfect correlation with each other suggests that they may be measuring the same software attribute. We calculated and then compared the three metrics using first, a set of manufactured, pre-determined modules as a preliminary analysis and second, approximately nine thousand functions from the modules of multiple versions of the Barcode system, used previously by Meyers and Binkley in their empirical study. The over-arching message of the research is that a combination of theoretical and empirical analysis can help significantly in comparing the viability and indeed choice of a metric or set of metrics. More specifically, although cohesion is a subjective measure, there are certain properties of a metric that are less desirable than others and it is these 'relative' features that distinguish metrics, make their comparison possible and their value more evident. <\/jats:p>","DOI":"10.1142\/s0218194010004888","type":"journal-article","created":{"date-parts":[[2010,12,20]],"date-time":"2010-12-20T10:05:18Z","timestamp":1292839518000},"page":"609-636","source":"Crossref","is-referenced-by-count":4,"title":["A THEORETICAL AND EMPIRICAL ANALYSIS OF THREE SLICE-BASED METRICS FOR COHESION"],"prefix":"10.1142","volume":"20","author":[{"given":"S.","family":"COUNSELL","sequence":"first","affiliation":[{"name":"School of Information Systems, Computing and Mathematics, Brunel University, Uxbridge, Middlesex. UB8 3PH, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"T.","family":"HALL","sequence":"additional","affiliation":[{"name":"School of Information Systems, Computing and Mathematics, Brunel University, Uxbridge, Middlesex. UB8 3PH, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"D.","family":"BOWES","sequence":"additional","affiliation":[{"name":"School of Computer Science, University of Hertfordshire, College Lane, Hatfield, Herts, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"219","published-online":{"date-parts":[[2012,4,30]]},"reference":[{"key":"rf1","first-page":"47","volume":"11","author":"Bansiya J.","journal-title":"Journal of Object-Oriented Programming"},{"key":"rf2","doi-asserted-by":"publisher","DOI":"10.1109\/32.544352"},{"key":"rf4","doi-asserted-by":"publisher","DOI":"10.1109\/32.310673"},{"key":"rf5","first-page":"1","volume":"16","author":"Binkley D.","journal-title":"ACM Trans. Software Engineering Methodology"},{"key":"rf6","volume":"30","author":"Binkley D.","journal-title":"ACM Trans. Program. Lang. Syst."},{"key":"rf10","doi-asserted-by":"publisher","DOI":"10.1023\/A:1009783721306"},{"key":"rf11","first-page":"467","volume":"20","author":"Chidamber S.","journal-title":"IEEE Trans. on Software Engineering"},{"key":"rf13","doi-asserted-by":"publisher","DOI":"10.1145\/1131421.1131422"},{"key":"rf15","doi-asserted-by":"publisher","DOI":"10.1109\/32.935855"},{"key":"rf16","volume-title":"Software Metrics, A Rigorous and Practical Approach","author":"Fenton N.","year":"1996"},{"key":"rf17","volume-title":"Refactoring (Improving the Design of Existing Code)","author":"Fowler M.","year":"1999"},{"key":"rf18","doi-asserted-by":"publisher","DOI":"10.1002\/spe.664"},{"key":"rf19","doi-asserted-by":"publisher","DOI":"10.1109\/32.689404"},{"key":"rf20","doi-asserted-by":"publisher","DOI":"10.1145\/77606.77608"},{"key":"rf21","doi-asserted-by":"publisher","DOI":"10.1109\/32.489070"},{"key":"rf23","volume":"17","author":"Meyers T.","journal-title":"ACM Trans. Software Engineering and Methodology"},{"key":"rf27","volume-title":"Statistical Methods","author":"Snedecor G.","year":"1989"},{"key":"rf28","doi-asserted-by":"publisher","DOI":"10.1147\/sj.132.0115"},{"key":"rf30","doi-asserted-by":"publisher","DOI":"10.1145\/358557.358577"},{"key":"rf31","volume-title":"Structured design","author":"Yourdon E.","year":"1979"}],"container-title":["International Journal of Software Engineering and Knowledge Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.worldscientific.com\/doi\/pdf\/10.1142\/S0218194010004888","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,8,6]],"date-time":"2019-08-06T15:52:08Z","timestamp":1565106728000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.worldscientific.com\/doi\/abs\/10.1142\/S0218194010004888"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,8]]},"references-count":20,"journal-issue":{"issue":"05","published-online":{"date-parts":[[2012,4,30]]},"published-print":{"date-parts":[[2010,8]]}},"alternative-id":["10.1142\/S0218194010004888"],"URL":"https:\/\/doi.org\/10.1142\/s0218194010004888","relation":{},"ISSN":["0218-1940","1793-6403"],"issn-type":[{"value":"0218-1940","type":"print"},{"value":"1793-6403","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,8]]}}}