Measuring JAVA Cohesion Based on Data Slice

李必信,朱平,谭毅,李宣东,郑国梁,南京大学
DOI: https://doi.org/10.13328/j.cnki.jos.2001.12.016
2001-01-01
Journal of Software
Abstract:Object-Oriented program slicing technique is widely used in program analysis, program comprehension, software testing, and software maintenance etc. In this paper, the basic concepts of abstract data slice and intra-class slice are created at first. Then, the cohesion existing in JAVA language is discussed based on these slices. Finally, the data cohesion, method cohesion and class cohesion are presented and solved by analyzing the relationship between these slice and data, method or class.
What problem does this paper attempt to address?