Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22d1865eb2bf3c9

Jump to content

// Workers AI · dad joke modeWhat did JArchitect say? "I've constructed a great career.

From Wikipedia, the free encyclopedia
JArchitect
DeveloperJArchitect
Stable release
4.0
Operating systemMultiplatform
TypeSoftware quality
LicenseProprietary
Websitejarchitect.com

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.

Features

[edit]

The main features of JArchitect are:

  • Dependency visualization (using dependency graphs, and dependency matrix)
  • Software metrics (JArchitect currently[as of?] supports 82 code metrics: cyclomatic complexity; afferent and efferent coupling; relational cohesion; percentage of code covered by tests, etc.[vague])
  • Declarative code rule over LINQ query (CQLinq)
  • JArchitect can tell you what has been changed between 2 builds

Code rule through LINQ Query (CQLinq)

[edit]
CQLinq editor and query result displayed

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.

See also

[edit]
[edit]