Take a seat and explorer your Java code from a totally different angle
There are many ways how to visualize software and all serve the very same purpose: making it easy for both, software developers and managers alike, to analyze large software projects and to understand which parts of the software are troubling and need their immediate attention. Code cities are one of the most popular and most intuitive visualization techniques. Born in Academia a while back  Codecity now brings an easy to use analysis tool into your favorite IDE:
How to generate your personal code city
After installing the plugins into your Eclipse, select the Java projects you'd like to visualize and select "Show in » Codecity" from the context menu. The metrics are now computed in the background and when completed, a browser window will pop up showing your code city.
Supported metrics in the personal edition
Basic Eclipse Metrics
- Number of declared methods
- Number of declared fields
- Number of problem markers
Codecity Personal Edition provides a connector to the Jacoco Test Coverage XML reports. To enable Jacoco Metrics put one coverage report names jacoco.xml into your workspace.
- Number of lines in source code
- Number of branches in source code
- Percentage of lines not covered by tests
- Percentage of branches not covered by tests
For projects shared with git, Eclipse Codecity provides the following repository metrics:
- Number of weeks with commits
- Number of authors
- Code churn (number of lines added, changed or removed)
- Number of bug fixing commits (specify your log message pattern for bugfix commits in preferences, e.g. '(?i)fix|bug|patch')
Complexity and Code Duplication Metrics
Eclipse Codecity incorporates PMD/CPD to provide various complexity and code duplication metrics:
- Duplicated lines of code
- Cyclomatic complexity
- Modified cyclomatic complexity
- Number of lines having a nesting level of 4/8 and above
- Lines of code
- Logical lines of code
jQAssistant is a powerful code scanner which allows you to explore your applications architecture and design. Eclipse codecity allows you to visualize jQAssistant based metrics, e.g.:
- Number of incoming dependencies
- Number of outgoing dependencies
- Number of fields
- Number of methods
- … or any custom defined CQL based metric (define your CQL query in preferences)
Make sure, you scanned your project(s) via jQAssistant and started the jQAssistant server under http://localhost:7474.
Missing a Feature?
Codecity is currently work-in-progress and we are curious to hear what you think about it and what you are missing. To raise a feature request or see which requests have already been raised, visit feedback forum.
You need a state-of-the-art web browser with WebGL enabled.
 CodeCity Project, developed at the Università della Svizzera italiana until 2010