Show simple item record

dc.contributor.authorGreen, P. D.
dc.contributor.authorLane, P.C.R.
dc.contributor.authorRainer, A.
dc.contributor.authorScholz, S.
dc.date.accessioned2009-07-21T14:12:38Z
dc.date.available2009-07-21T14:12:38Z
dc.date.issued2009
dc.identifier.citationGreen , P D , Lane , P C R , Rainer , A & Scholz , S 2009 , An Introduction to Slice-Based Cohesion and Coupling Metrics . UH Technical Report , vol. 488 , University of Hertfordshire .
dc.identifier.otherdspace: 2299/3694
dc.identifier.urihttp://hdl.handle.net/2299/3694
dc.description.abstractThis report provides an overview of slice-based software metrics. It brings together information about the development of the metrics from Weiser’s original idea that program slices may be used in the measurement of program complexity, with alternative slice-based measures proposed by other researchers. In particular, it details two aspects of slice-based metric calculation not covered elsewhere in the literature: output variables and worked examples of the calculations. First, output variables are explained, their use explored and standard reference terms and usage proposed. Calculating slice-based metrics requires a clear understanding of ‘output variables’ because they form the basis for extracting the program slices on which the calculations depend. This report includes a survey of the variation in the definition of output variables used by different research groups and suggests standard terms of reference for these variables. Our study identifies four elements which are combined in the definition of output variables. These are the function return value, modified global variables, modified reference parameters and variables printed or otherwise output by the module. Second, slice-based metric calculations are explained with the aid of worked examples, to assist newcomers to the field. Step-by-step calculations of slice-based cohesion and coupling metrics based on the vertices output by the static analysis tool CodeSurfer (R) are presented and compared with line-based calculations.en
dc.format.extent190595
dc.language.isoeng
dc.publisherUniversity of Hertfordshire
dc.relation.ispartofseriesUH Technical Report
dc.subjectsoftware metrics
dc.subjectslice-based metrics
dc.subjectcohesion metrics
dc.subjectcoupling metrics
dc.subjectcode analysis
dc.titleAn Introduction to Slice-Based Cohesion and Coupling Metricsen
dc.contributor.institutionSchool of Computer Science
dc.contributor.institutionDepartment of Computer Science
dc.contributor.institutionSchool of Physics, Engineering & Computer Science
dc.contributor.institutionScience & Technology Research Institute
rioxxterms.typeOther
herts.preservation.rarelyaccessedtrue


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record