Eclipse Metrics plugin / News: Recent posts

New release for Eclipse 3.1

I just released the new 1.3.6 update for eclipse 3.1
Other than adjusting to the new 3.1 apis, several bugs were fixed and I picked up some developers! Thanks to these developers I was able to get this release out and at the same time work on a re-architecting effort to make future enhancements a lot easier. Stay tuned for this completely new version. In the mean time, enjoy 1.3.6 with eclipse 3.1... read more

Posted by Frank Sauer 2005-07-08

Release 1.3.5

This new release only works with 3.0M8 and incorporates mostly bug fixes to make it work with the new eclipse APIs. As a result, the dependency graph now appears as an embedded view on all platforms, not just on windows.

The preferred method to upgrade is to use the update site at:

Posted by Frank Sauer 2004-05-01

New release: 1.3.4

I wasn't planning on a 1.3.4, but the new 1.4 stuff is complex and will take more time than I thought.
In the mean time some important bugfixes were made that I though were worth a release.

This release works on Eclipse 2.0 - 3.0M3, not on M4 for a reason not fully understood at this point.

Posted by Frank Sauer 2003-10-19

patch for eclipse 3.0M3

under the 1.3.3 release download area, you'll now find a metrics.jar. This contains a patch to make the dependency graph view work properly on 3.0M3 using the new SWT_AWT internal API

Posted by Frank Sauer 2003-09-06

for Matt Munro

Reply to your email did not work with this error:

reason: 550 5.7.1 Access denied

Here is my reply:

you've only added the metric, but not the calculator.
If you add something like this:

<calculator name="Matt Lines" calculatorClass="net.sourceforge.metrics.calculators.LinesOfCodeMatt" level="method">

it should work.

By the way, I would write a separate plugin to do this instead of
modifying the core metrics plugin. I should have split off the calculators
in a separate plugin myself to make this more clear. In this new plugin you
do this:... read more

Posted by Frank Sauer 2003-08-22

release 1.3.3 is out

To install, point the eclipse update manager to

* added date to exported xml
* xml export orders of magnitude faster
* added property page to enable/disable
* added usage message to metrics view
* added update site
* documentation updates

Posted by Frank Sauer 2003-07-07

release 1.3

now uses JDBM instead of Prevayler to preserve memory on very large projects
Customizable Colors
Checked menu item in project popups
Various bugfixes and enhancements

Posted by Frank Sauer 2003-06-14

release 1.2.0 is here

internally, each project has its own persistent store so when you have many projects the plugin doesn't have to load all metrics into memory, but rather just those for the project you're working on.

Externally, the metrics view now uses a table tree instead of a flat table, allowing you to drill down into the specifics for each metric.

Posted by Frank Sauer 2003-05-26

1.1.1 patch for .class file problems

If you are having problems with the calculations stopping on the encounter of a .class file in the source structure, download the patched metrics.jar and drop it in the plugins/net.sourceforge.metrcics directory, replacing the jar from the zip file

Posted by Frank Sauer 2003-05-21

new release: 1.1.1

Now calculates the metrics using the eclipse builder framework, which keeps the metrics in sync better and easier and also allows for a better progress indication. Don't forget to enable the
metrics for your projects. See getting started guide
for details.

The Dependency graph view has added features such as shortest path analysis

Posted by Frank Sauer 2003-05-21

release 1.1.0 with much better dependency analyzer is here

* much improved cyclic dependency analyzer
- using Tarjan's algorithm to find strong components
- cyclic package dependencies can be explored in detail

* added documentation for new features

Posted by Frank Sauer 2003-05-11

notes on using dependency graph view

A little note on usage of the dependency graph (didn't get a chance to update docs yet):

a package fragment root (source folder) has to be selected and the metrics have to be
fully calculated. The view's drop down has a menu item for the dependency graph that
is now enabled. Red nodes and edges are part of cyclic dependencies, blue ones are not.
The reason the graph only works for source folders is that it displays package dependencies,
and a source folder selection is the only way to ensure they have all been calculated.... read more

Posted by Frank Sauer 2003-05-05

Release 1.0.9 is here!

* added Robert Martin coupling metrics
* added dependency graph
* refactored
* extensible exporter architecture
* safe ranges on metrics and warnings for out of range values
* column-widths bug fixed and view now persists the user selected widths across sessions

Posted by Frank Sauer 2003-05-05

Upcoming 1.0.9 features

- extensible exporter architecture
allow others to plug in new XML formats through
an extension

- safe ranges on metrics and warnings for out of range values
This can be enabled/disabled in the preferences.
There is no UI yet to modify the ranges. Does
anybody want to see this before I have a UI?
If so, please post a comment.

- column-widths bug fixed and view now persists the user selected widths across sessions

Posted by Frank Sauer 2003-03-17

release 1.0.8p1 for jdk1.3.1 compatibility

This release is for jdk1.3.1 compatibility but has the same features as the original 1.0.8:

* use prevayler for persistence of the metrics
* export metrics to XML
* various clean-up and fixes

Posted by Frank Sauer 2003-03-11

release 1.0.8 will need to be patched tonight

Sorry folks, I screwed up in my packaging and the XML Export feature does not work.
It only results in a log entry as follows.... Will fix this tonight and post a new release
1.0.8p1. Sorry for the inconvenience.

!ENTRY net.sourceforge.metrics 4 4 Mar 10, 2003 10:52:10.612

!MESSAGE MetricsView::doExport


java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError

at net.sourceforge.metrics.internal.xml.MetricsExporter.formatHandle( read more

Posted by Frank Sauer 2003-03-10

new release: 1.0.8

This new release stores the metrics using prevayler,
which is very, very cool... I spent some time trying to map things to SQL using hsqldb, but this is so much easier, it's incredible. See,
or right here on sourceforge, project prevayler.

This new release also allows you to export metrics to an XML report. That way you can use XSL to further process it to any format you desire.

Enjoy,... read more

Posted by Frank Sauer 2003-03-10

release 1.0.7 of the metrics plugin is out

I just released version 1.0.7 of the metrics plugin.
This release has not many externally visible changes,
but is internally completely reorganized in order to
allow extensions to specify metrics. As a result,
others can now extend the framework by adding new metric
calculators. The preference page shows all discovered
metrics and allows the order in which they are shown to be
changed. Note that the change in download size is due to the
added api docs, not code...... read more

Posted by Frank Sauer 2003-01-23

mailing list created

Upon request I've created a mailing list where new updates to this plugin will be announced. Subscribe to to receive these announcements

Posted by Frank Sauer 2003-01-22

stay tuned, 1.0.7 is getting close

I'm working on specifying the metrics in the plugin manifest so others can extend the metrics framework by adding new and interesting metrics I didn't think of. The hardest thing about this is coming up with an easy XML format... :-( But I'm getting there, and 1.0.7 will be the result, hopefully soon. After that: swap out persistence layer and export to XML

Posted by Frank Sauer 2003-01-17

release 1.0.6 now has preferences!

Currently only one metric is configurable (NORM) but when needed other metrics can easily add new preference pages. Number of Overridden Methods (NORM) can now be configured to count or not count: inherited abstract methods, methods that invoke the superclass' implementation, or explicitly named methods (like toString, hashCode and equals.

Posted by Frank Sauer 2003-01-08

Completely revamped release 1.0.5

Changed the look of the table to combine totals, averages, maxima and standard deviations on a single line where possible. Also added WMC and LCOM metrics and refactored a LOT to prepare for extension points to define metrics.

Posted by Frank Sauer 2003-01-07

New in Release 1.0.4

I've added an in memory cache for much improved performance as well as some basic description of each metric in a help page. Note that the performance improvement is *not* visible the first time you run the plugin, what has to be done....

Posted by Frank Sauer 2002-12-31

release 1.0.3 is out

This one adds a few OO-specific metrics related to class hierarchies, such as # subclasses, #superclasses, # overridden methods, depth of inheritance tree, and the composite metric called specialzation index (norm * dit / nom)

Posted by Frank Sauer 2002-12-30

New release 1.0.2

I've added a View that sits quite comfortably next to the Task View. It shows the metrics for the current selection in the Workbench. It also reacts to Resource changes. It recalculates on a background thread so it won't slow you down.



Posted by Frank Sauer 2002-12-29

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks