Real-time complexity metric tools for visualAge smalltalk and C++

  • Authors:
  • Subroto Bhattacharya;Stephen G. Graham

  • Affiliations:
  • IBM North American Foundry, 3039 Cornwallis Road, RTP, NC;IBM North American Foundry, 3039 Cornwallis Road, RTP, NC

  • Venue:
  • CASCON '96 Proceedings of the 1996 conference of the Centre for Advanced Studies on Collaborative research
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

"Anything that one cannot measure cannot be controlled." Software metrics provide insight into the quality of software, informing the developers about the status of a project. Both what to measure and when to inform the developer of changes in code quality are important factors in a software metrics tool.Our work describes metrics that measure some aspects of software complexity. Complexities of a system arise from size, from the relationships between parts and between a part and the whole, and from changes or evolution. The metrics described in this paper concentrate on measuring complexities due to size and relationships. The work on Smalltalk contains seven metrics; on C++, eight. Differences are due to idiosyncrasies of the languages.We believe the best time to inform the developer of changes in code quality is at the time source code is edited. Our tools provide real-time metric feedback on the complexity of methods (Smalltalk or C++) whenever methods are edited. Changes in code quality are immediately presented to the developer, encouraging him or her to take notice of increased code complexity and to rework the method to reduce that complexity. The tools present code quality information unobtrusively, and recommend how to proceed.This paper describes a body of method complexity metrics and tools that communicate to software developers.