Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] new metric plug-in based on Codan checkers

Am 20.03.2012 13:33, schrieb Ueli Kunz:
Hi,

Thank you for your feedbacks. We have beein working on metriculator
the last weeks and respected your feedbacks in our latest
implementations. Metriculator now ignores C source code files, since
our aim is to analyse C++ and to produce accurate metric values. The
tag cloud component is now a separate feature. So the installation of
just metriculator is simpler now, since no more zest dependencies
exist.
Further more we have heavely increased the performance, analysing 1
mio. sloc is not a problem anymore.

The latest nightly build is available for installation at
http://sinv-56013.edu.hsr.ch/metriculator/updatesite-nightly/

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,ch.hsr.ifs.cdt.metriculator,0.0.1.201203221659 No repository found containing: org.eclipse.update.feature,ch.hsr.ifs.cdt.metriculator.feature,0.0.1.201203221659

@kessel
I can not reproduce any NPE. Could you please provide further details
about the exception? Maybe the NPE is fixed in the nightly build.
Maybe the attached log files can help you narrow down the failures.
But as I said, I tried metriculator on a C project, since I do no C++ programming.
I was mainly interested in the McCabe metrics, which can be calculated on C.

And as I stated on other threads like the UnitTests plugin already, I think it is a shame, to just put the effort on C++, since a lot of companies still use C. The whole Embedded-Systems industry seems to change over to Eclipse/CDT as a toolchain platform, not only because of CDT. A lot of metrics and unit test plugins already exist, but almost none supports C. Then we could just rename the CDT to C++ Development Environment and abandon C at all.


@Marc-Andre
The HSR is willing to maintain the plug-in in the future. Peopple at
HSR had already contributed other plug-ins and classes to cdt.

ueli

2012/3/2 kesselhaus<kesselhaus@xxxxxxx>:
Hi,

Same here, needed a fresh new install of Eclipse/CDT (Indigo SR2) since I
have another plugin requiringGEF/Zest 1.x ...
I get NPEs when scrolling through the metricular list to fast.

Another frustration comes from the C++ only functionality again .. for C,
this plugins output makes no sense.
C headers get strange McCabe values>0 ... some even get values of>350!!
Since I do no C++ programming, I can't say anything about the functionality
on C++ projects.

- kessel


Am 29.02.2012 23:04, schrieb Marc-Andre Laperle:

Hi,

I tried to install it but couldn't because I couldn't install
zest.cloudio. I think the zest.cloudio integration should be an optional
feature. I have no opinion right now on whether or not it should be
committed to CDT but we have to make sure someone will maintain it.

Marc-Andre

On 29/02/2012 3:49 PM, Ueli Kunz wrote:
Greetings,

We have worked on a CDT plug-in (metriculator) that uses Codan
checkers to create static software metrics. As far as we know there is
no metric plug-in available for CDT. Metriculator aims to fill that
gap.

Metriculator was born as subject of our semester thesis at the HSR,
where Prof. Peter Sommerlad (initiator of CUTE) supervised our work.

For more details please visit our project wiki at

http://sinv-56013.edu.hsr.ch/redmine/projects/metricular/wiki/Documentation
We created a bug report at bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=372722

We would really appreciate your feedback. Do you think its reasonable
to commit it to CDT at some point?

Regards
Ueli Kunz, Jules Weder
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Attachment: logs.zip
Description: Zip compressed data


Back to the top