Yann-Gaël Guéhéneuc wrote:
We develop a
framework to describe design defects synthetically and to detect these
in program source code automatically. We are currently performing
experiments to assess our detection algorithms.
If anybody is considering using that reverse engineering tool you might also find the following useful.

I'm from University of Banja Luka, Bosnia and Hercegovina and I'm working on my master thesis : "detection of repetition in source code using Grid". I developed so far two detection tools :
- Duploc
- Simloc
This new tool Simloc (beta available on email request) you might find interesting.

It is the tool for detecting similar chunks of code (blocks of code). It use modification of LCS algorithm (similar to approximate pattern matching algorithms).

Somebody mentioned PMD.
PMD/CPD is the tool which can find EXACT repeated chunks of code. This new tool Simloc can find SIMILAR chunks of code. PMD/CPD is blasingly fast software. There are software like Simloc like SimScan Eclipse plug-in, but SimScan is very slow. Simloc is a few times faster than SimScan and what is very important it is designed to be able to run on parallel on clusters and grids. Simloc is also proposal within South-Eastern European Grid project (http://www.see-grid.org).

Simloc generate the output in XML form so far like:
NASLOV RADA NA SRPSKOM JEZIKU <simloc file1="FileName1.java" file2="FileName2.java">
<similarity location1="123" location2="344" quality="554" />
<similarity location1="437" location2="514" quality="187" />
</simloc>

So basically it is not as fancy as SimScan but :
- it shows progress
- for large projects it can run significantly faster on one computer
- it can be run on grid or cluster
SimScan is almost unuseful even for mid-size project like Ant.

So, if there are people involved in any open source projects who want to see Simloc's results for any open source projects and to try to use its output to improve that project, they can send me an email for :
- get the results of any Open Source projects
or
- get the Simloc source and executable to run it themselves.

Simloc will be available for public download as far as it is properly tested.


-- 
Mladen Adamovic
http://www.shortopedia.com , Shortopedia
http://www.froola.com , Froola

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to