• DocumentCode
    2539000
  • Title

    Extending dynamic aspect mining with static information

  • Author

    Breu, Silvia

  • Author_Institution
    Passau Univ., Germany
  • fYear
    2005
  • fDate
    30 Sept.-1 Oct. 2005
  • Firstpage
    57
  • Lastpage
    65
  • Abstract
    Aspect mining tries to identify crosscutting concerns in legacy systems and thus supports the refactoring into an aspect-oriented design. We briefly introduce DynAMiT, a dynamic aspect mining tool that detects crosscutting concerns based on tracing method executions. While the approach is generally fairly precise, further analysis revealed that some false positives were systematically caused by dynamic binding. Furthermore, some aspect candidates were blurred or not detected due to not-sufficient tracing mechanisms of method executions when using AspectJ´s execution pointcuts for the trace generation. We enhanced the mining capabilities of DynAMiT by taking additional static type information into account and generating the traces using call pointcuts instead. In an initial case study with AnChoVis, a 1300 LOC Java program, the number of mined aspect candidates increased by a factor of three, while the number of false positives remained zero.
  • Keywords
    data mining; object-oriented programming; software maintenance; AnChoVis; DynAMiT; aspect-oriented design; call pointcuts; dynamic aspect mining tool; legacy systems; method execution tracing; Buildings; Conferences; Electronic mail; Java; Lab-on-a-chip; Runtime; Software systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2005. Fifth IEEE International Workshop on
  • Print_ISBN
    0-7695-2292-0
  • Type

    conf

  • DOI
    10.1109/SCAM.2005.9
  • Filename
    1541158