Presentation is loading. Please wait.

Presentation is loading. Please wait.

X-RAY. A java project can be scanned for instances of design patterns The results are represented in a table – design pat- tern participants are associated.

Similar presentations


Presentation on theme: "X-RAY. A java project can be scanned for instances of design patterns The results are represented in a table – design pat- tern participants are associated."— Presentation transcript:

1 X-RAY

2 A java project can be scanned for instances of design patterns The results are represented in a table – design pat- tern participants are associated with Java artifacts The WebOfPatterns plugin adds new functionality to Eclipse The design pattern scanner uses reflection, naming pattern and AST analysis. The patterns are formally defined using RDF. Results can be exported as XML files. These files can be used to generate reports. Results can be aggregated to reveal the macrostructure of the program..

3 a smell a pattern a configmap a pattern a refactoring > the web

4 Patterns are stored in a local database. Patterns can be discovered on the web using search engines, and bookmarking services. Rules can be used to select good and trustworthy patterns. Patterns are validated in order to ensure that they comply with the format.

5 For instance, they can rate a pattern on a scale. The rating is then used by others to select “good” patterns. Users can provide feedback for pattern repositories.

6 Patterns are extracted from a Java project. Relevant artifacts (classes, methods, relationships, etc) are selected from the project. These artifacts are then mapped to abstract concepts (pattern participants), and the formal pattern definition is generated.

7 Explicit properties that are part of the pattern definition. Contextual knowledge. Properties contributed by extensions. These are “network” properties. Because they are “network” properties, they are sometimes not available ..

8 Rules are based on explicit and contributed properties. Rules are used to select good patterns. Rules are saved in the XML based SWRL format.


Download ppt "X-RAY. A java project can be scanned for instances of design patterns The results are represented in a table – design pat- tern participants are associated."

Similar presentations


Ads by Google