P-MARt
Some explanations on P-MARt.
|
P-MARt Pattern-like Micro-Architecture Repository |
P-MARt is an initiative to foster empirical research on design patterns
P-MARt is a repository of micro-architectures similar to design motifs.
A design motif represents the solution of a design pattern.
The micro-architectures are from many different programs, which sources are available.
The repository is an XML document containing peer-reviewed micro-architectures including complete and approximate forms.
The tools allow automated metric computation and summarise stored programs, design patterns, and micro-architectures using a Visitor to traverse the repository easily.
P-MARt and its associated tools are freely available under the LPGL license.
Please contribute by sending your micro-architectures to .
Repository
|
Programs (zipped source code) |
Sizes (in bytes) |
Programming languages |
Repository (zipped XML file) |
| 1 - QuickUML 2001 | 787657 | Java |
Repository (Summary) |
| 2 - Lexi v0.1.1 alpha | 838103 | Java | |
| 3 - JRefactory v2.6.24 | 3973569 | Java | |
| 4 - Netbeans v1.0.x | 37308254 | Java | |
| 5 - JUnit v3.7 | 792782 | Java | |
| 6 - JHotDraw v5.1 | 819088 | Java | |
| 8 - MapperXML v1.9.7 | 2524977 | Java | |
| 10 - Nutch v0.4 | 3023193 | Java | |
| 11 - PMD v1.8 | 6977806 | Java |
Tools
The Java-based tools use Xerces to provide a Visitor to traverse the repository.
They include PADL (Pattern and Abstract-level Description Language), a meta-model (and a Java parser) to describe design motifs and programs.
They also include POM (Primitives, Operations, Metrics), a language-independent framework to compute metrics.
Using PADL and POM, two visitors are provided to summarise the content of the repository and to compute metrics on the classes playing roles in micro-architectures similar to design motifs.
Also provided is a visitor to generate ARFF files from the repository, ARFF files can be used in Weka.