Presentation is loading. Please wait.

Presentation is loading. Please wait.

Alecsandar STOIANOV. Legacy software Introduction.

Similar presentations


Presentation on theme: "Alecsandar STOIANOV. Legacy software Introduction."— Presentation transcript:

1 Alecsandar STOIANOV

2 Legacy software Introduction

3 Patterns & Antipatterns

4 Observer  observerPattern(Project, SubjectN, ObserverN, ConcrSubjsN,ConcrObserversN, UpdateMsN,AttDetMeths,NotifyMeth):- observer(Observer,ObserverN,Project), subject(Subject,SubjectN,Observer,AttDetMeths,Notif yMeth,UpdateMsN), findall(X,concreteSubject(_,X,Subject),ConcrSubjsN), findall(Y,concreteObserver(_,Y,Observer),ConcrObser versN).

5 God Class  This AntiPattern is characterized by a class diagram composed of a single complex controller class surrounded by simple data classes. The key problem here is that the majority of the responsibilities are allocated to a single class.

6 Results 1 SingletonDecoratorObserverStrategyAdapter MePinotMePinotMePinotMePinotMePinot jHotDraw 6.0b Java AWT Java Swing Java.io Java.net Apache Ant

7 Results 2 Data ClassCall Super Constant Interface God Class Interface Bloat Yoyo Problem (factor = 6) Poltergeist jHotDraw 6.0b Java AWT Java Swing Java.io Java.net Apache Ant

8 & Answers? Questions


Download ppt "Alecsandar STOIANOV. Legacy software Introduction."

Similar presentations


Ads by Google