Girish Mahajan (Editor)

JArchitect

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
JArchitect

Type
  
Software quality

Website
  
jarchitect.com

Stable release
  
4.0

License
  
Proprietary

JArchitect

Operating system
  
Multiplatform license = Commercial, Proprietary

JArchitect is a static analysis tool for Java code. This tool supports a large number of code metrics, allows for visualization of dependencies using directed graphs and dependency matrix. The tools also performs code base snapshots comparison, and validation of architectural and quality rules. User-defined rules can be written using LINQ queries. This possibility is named CQLinq. The tool also comes with a large number of predefined CQLinq code rules.

Contents

Features

The main features of JArchitect are:

  • Dependency Visualization (using dependency graphs, and dependency matrix)
  • Software metrics (JArchitect currently supports 82 code metrics: Cyclomatic complexity; Afferent and Efferent Coupling; Relational Cohesion; Percentage of code covered by tests, etc.)
  • Declarative code rule over LINQ query (CQLinq)
  • JArchitect can tell you what has been changed between 2 builds
  • Code Rule through LINQ Query (CQLinq)

    The tool proposes live code query and code rule through LINQ query. This is one of the innovations of JArchitect. For example:

    - Classes inherit from a particular class:

    // <Name>classes inherit from a particular class</Name> from t in Types where t.IsClass && t.DeriveFrom ("CBase") select t

    - The 10 most complex methods (Source Code Cyclomatic complexity)

    // <Name>The 10 most complex methods</Name> (from m in Methods orderby m.CyclomaticComplexity select new { m, m.CyclomaticComplexity }).Take(10)

    In addition, the tool proposes a live CQLinq query editor with code completion and embedded documentation.

    References

    JArchitect Wikipedia