Code complexity metrics for mobile agents implemented with aspect/J™

  • Authors:
  • Jana Dospisil

  • Affiliations:
  • School of Network Computing, Monash University, Frankston, Australia

  • Venue:
  • CEEMAS'03 Proceedings of the 3rd Central and Eastern European conference on Multi-agent systems
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes research in measuring the code complexity of mobile agent applications designed with aspect-oriented programming (AOP) as captured in the Aspect/J™ language. The modularized code encapsulating agent interactions is characterized by class hierarchies which are shared structures. We observed additional subclassing leads to increase in entropic tendencies in the actual code. Our experience with fine tuning of protocols shows that the probability that a subclass will not consistently extend the protocol content of its superclass is increasing with the depth of hierarchy. The tools like Hyper/J and Aspect/J™ support the separation of concerns thus allowing different approach to evolving the protocol implementation. In this paper we present the approach to assessing the complexity by measuring the entropy of the mobile agent application code designed with Aspect/J™.