1 / 8

X-RAY

X-RAY. The WebOfPatterns plugin adds new functionality to Eclipse. A java project can be scanned for instances of design patterns. The design pattern scanner uses reflection, naming pattern and AST analysis. The patterns are formally defined using RDF.

nile
Télécharger la présentation

X-RAY

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. X-RAY

  2. The WebOfPatterns plugin adds new functionality to Eclipse A java project can be scanned for instances of design patterns The design pattern scanner uses reflection, naming pattern and AST analysis. The patterns are formally defined using RDF. The results are represented in a table – design pat-tern participants are associated with Java artifacts 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. <<publish>> <<feedback>> the web a pattern a smell a refactoring a pattern a configmap <<consume>>

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

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

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

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

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

More Related