JArchitect Benefits by CoderGears .
-
Upload
arnold-lucas -
Category
Documents
-
view
214 -
download
0
Transcript of JArchitect Benefits by CoderGears .
CQLinq – Code Query Language
JArchitect has innovative code query language named CQLinq, which is used to create and customize easily your own code rules.
From m in Application.Methods where m.NbLinesOfCode > 30From p in Packages p.Level = null
From T in Types where t.IsClass
Writing CQLinq queries and constraints is straightforward because JArchitect provides a CQLinq editor which supports:•Code completion / intellisense,•Live compile error description,•Integrated tooltip documentation.
www.JArchitect.com
Interactive Guis
Exploration and Architecture Compliance categories are represented best via interactive graphs:
•Dependency Graph, •Dependency Matrix,•Metrics View,•Abstracness vs Instability.
www.JArchitect.com
Dependency graph
The JArchitect dependency graph panel displays the graph of dependencies between projects.
www.JArchitect.com
Dependency Structure Matrix
The DSM (Dependency Structure Matrix) is a compact way to represent and navigate across dependencies between components.
www.JArchitect.com
Metrics View
In the Metric View, the code base is represented through a Treemap. Treemapping is a method for displaying tree-structured data by using nested rectangles.
www.JArchitect.com
Abstracness vs. Instability
www.JArchitect.com
In any software system particularly large ones, balance is critical. In this case, a system should balance abstractness with stability in order to be "good”.
More than 80 Code Metrics
JArchitect comes with more than 80 code metrics some of them are related to:
•Your code organization (the number of classes or Packages, the number of methods declared in a class...),
•Code quality (complexity, percentage of comments, number of parameters, cohesion of classes, stability of Projects...),
•The structure of code (which types are the most used, depth of inheritance...)
www.JArchitect.com
PluginsJArchitect support out of the box the XML files from PMD, FindBugs, CheckStyle and CPD, however you can integrate another analysis tool by providing to JArchtect an XML file with this following format:
www.JArchitect.com
Builds comparisonIn software development, products are constantly evolving. Hence, developers and architects must pay attention to modifications in code bases. Modern source code repositories handle incremental development.
JArchitect can tell you what has been changed between 2 builds but it does more than simple text comparison. It can distinguish between:•Comment change,•Code change, •what has been added/removed •what has just been modified.
www.JArchitect.com
Customizable reportsJArchitect can analyze source code and Java Projects through Jarchitect Console. Each time it analyzes a code base, JArchitect yields a report that can inform you about the status of your development.
You can customize sections shown in the report and you can even provide your own XSL sheet for full customization.
You can also build your own set of CQLinq constraints that will be checked at each analysis.
www.JArchitect.com
Sample Report made by JArchitect.
Rich Code Search facilitiesContrary to other tools, JArchitect Code Search supports numerous criterias including Searching by: •Name, •Size, •Complexity, •Coupling, •Popularity, •Coverage, •Visibility, •Mutability, •Purity, •Change and Coverage of Changes.
www.JArchitect.com
JArchitect features
• Analysis of Application Projects, Code Source and Third-Party Projects,• Facilities to Create and Customize JArchitect Project,• Dashboard reflecting the status of the code base,• Automatic HTML Report Production through JArchitect console,• Possible Integration into the Build Process,• Warnings about the Health of the Build Process,• Plugins Integration (PMD, FindBugs, CheckStyle, CPD)• Interactive UI: Dependency Graph, Dependency Matrix, Metrics
Visualization,• Build Comparison / Code Diff• Edition of custom CQLinq Queries and Rules• Support for Trend charts and Trend metrics
www.JArchitect.com
Related links
CQlinq syntax: http://www.jarchitect.com/Doc_CQLinq_SyntaxCQLinq features: http://www.jarchitect.com/Doc_CQLinq_FeaturesCQLinq performance: http://www.jarchitect.com/Doc_CQLinq_PerfDependency graph: http://www.jarchitect.com/Doc_VS_ArchDependency Structure Matrix: http://www.jarchitect.com/Doc_MatrixMetrics view: http://www.jarchitect.com/Doc_TreemapCode metrics: http://www.jarchitect.com/MetricsPlugins: http://www.jarchitect.com/JArchitectPluginBuild comparison: http://www.jarchitect.com/Doc_VS_DiffReports: http://www.jarchitect.com/Doc_CI_ReportRich code search: http://www.jarchitect.com/Doc_VS_Search
www.JArchitect.com
Our contactsOur teams at CoderGears will be more than happy to assist you!
Support [email protected]
Sales [email protected]
www.JArchitect.com