A Framework and Tool for Porting Assessment and Remediation

  • Authors:
  • Donald P. Pazel;Pradeep Varma;Amit Paradkar;Beth Tibbitts;Ashok Anand;Philippe Charles

  • Affiliations:
  • IBM Research;IBM Research;IBM Research;IBM Research;IBM Research;IBM Research

  • Venue:
  • ICSM '04 Proceedings of the 20th IEEE International Conference on Software Maintenance
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a framework and tool for porting assessment and code remediation in commercial porting projects, primarily targeting inter-platform C/C++ porting. Our framework has a modular architecture for handling real-world code bases, a key part of which is an extensible knowledge base of porting issue types. Porting issue detection and remediation are achieved through dynamically-linked detector and remediation "plug-ins" which can be augmented over time. Analysis and remediation can be performed over multiple intermediate forms, such as the AST or error logs. Analysis and remediation results can be presented as a single assessment report, or the changes can be incorporated into the original code base. Furthermore our framework has been integrated into Eclipse [1], providing a user interface and allowing further capability for integration with other Eclipse extensions. A subset of our tool has been prototyped and benchmarked against real-world customer code.