CS 6/73901 Software Engineering Methodologies
Spring 2019
Using srcML develop a tool(s) to compute the following metrics as defined in Chidamber and Kemerer 1994 TSE 20(6) and class notes.
For a class (.hpp/.cpp):
- Coupling between object classes (CBO)
- Lack of Cohesion in Methods (LCOM)
For an inhertance hierachy
- Number of Children (NOC), Depth of Inheritance Tree (DIT), Class Size (CS)
- Number of Operations Overridden (NOO), Number of Operations Added (NOA)
This can be a set of tools or one tool. It must work for the C++ programming language. You can do multiple passes through the code to compute the metrics. You can use srcML with Xpath/XSLT or libsrcml and your programming language of choice.
Use the following systems for testing:
- HippoDraw. You can download HippoDraw-1.21.3.tar.gz in the folder. The code in functions and graphics are good examples to try.
URL: http://www.cs.kent.edu/~jmaletic/cs63901/
Last update: Tue Apr 16 17:00:43 2019 EST