InfoQ Homepage News Codecity for Eclipse Visualises Source Code Metrics
Codecity for Eclipse Visualises Source Code Metrics
Mar 12, 2015 less than one minute
by
Write for InfoQ
Feed your curiosity. Help 550k+ globalsenior developers
each month stay ahead.Get in touch
During EclipseCon, Codetrails released an alpha version of Codecity for Eclipse, which calculates source code metrics and presents them in a city block layout. After installing from the marketplace or the update site, a new option 'Show in → Codecity' will be enabled on project resources or source folder. After calculating a set of metrics, an external browser will be opened with a WebGL view that renders the results in a pannable and scrollable graphic.
For example, the graphic below shows individual classes in Apache Log4J 1.2.17; the highest bar selected is LogBrokerMonitor, which contains 106 methods and 36 fields.
👁 Image showing the result of Codecity operating on Log4J 1.2.17
The metrics for display can include number of methods (or fields as width/length), the number of commits (if the project is connected to a team shared project in Eclipse) or the number of tests succeeded/failed/coverage (if the project has a jacoco coverage report with a jacoco.xml file). Other metrics, such as code complexity numbers, are likely to be added in the future.
More information about the project is available at the marketplace entry. The plug-in is free for non-commercial use.
Let InfoQ know what you think by commenting below.
This content is in the Java topic
Related Topics:
-
Related Editorial
-
Related Sponsors
-
Popular across InfoQ
-
Anthropic Lead: HTML Increasingly Better Than Markdown at Keeping Humans Engaged in Agentic Loops
-
AWS Launches Blocks, an Open-Source TypeScript Framework Designed for AI Agents to Build Backends
-
Google OpenRL is an Experimental Self-hosted API for LLM Post-Training Fine-Tuning
-
Java News Roundup: Spring Tools, Helidon, Open Liberty, TomEE, JobRunr, Hibernate, Commonhaus
-
How eBPF Empowers Developers to Observe inside the Linux Kernel in a Safe and Unintrusive Way
-
AI Is Moving up the Software Lifecycle: from Code Review to PRD Governance
-
The InfoQ Newsletter
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example
