Uploaded on

Reverse-engineering, anti-patterns, code smells, detection, quality

Reverse-engineering, anti-patterns, code smells, detection, quality

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
71
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. The Ptidej Tool Suite Yann-Gaël Guéhéneuc guehene@iro.umontreal.ca Naouel Moha mohanaou@iro.umontreal.ca A demonstration of the reverse-engineering, design pattern and defect identification features of the tool suite developed by the Ptidej Team GEODES Ptidej Team – OO Programs Quality Evaluation and Enhancement using Patterns Group of Open, Distributed Systems, Experimental Software Engineering Department of Informatics and Operations Research University of Montreal © Guéhéneuc and Moha 2007
  • 2. Example of a Design Pattern  Composite Motif [GoF 94]
  • 3. Process for Identification of Design Patterns
  • 4. Example of a Design Defect Spaghetti Code [Brown 98]  “Ad hoc software structure makes it difficult to extend and optimize code”  – Procedural thinking in OO programming – Lack of structure : no inheritance, no reuse, no polymorphism – Classes with procedural names – Long methods process oriented with no parameters and low cohesion – Use of class and global variables for processing
  • 5. Process for Identification of Design Defects
  • 6. Thanks for your Attention… Yann-Gaël Guéhéneuc guehene@iro.umontreal.ca Naouel Moha mohanaou@iro.umontreal.ca http://www.ptidej.net