Sonar

New "Components DSM" service

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0
  • Component/s: DSM
  • Labels:
    None
  • Number of attachments :
    3

Description

Add a feature in SONAR to provide DSM analysis (Something similar to Lattix or SA4J).

A new 'Components DSM' service must be added to the left side bar. Clicking on this link should display a grid of dependencies (see attached screenshot) :

  • When the project is a package, we must see class dependencies
  • When the project is a Maven module, we must display package dependencies
  • When the project is a Maven multi-modules project, we must display Maven modules dependencies

Clicking on a cell of the grid must display the root dependencies between the two classes (methods), the two packages (classes) and the two Maven modules (packages).

  1. DSM.bmml
    04/Nov/09 8:47 AM
    1 kB
    Freddy Mallet
  1. DSM.png
    24 kB
    04/Nov/09 8:47 AM
  2. idea_dsm.png
    185 kB
    30/Dec/09 5:09 AM

Issue Links

Activity

Hide
Simon Brandhof added a comment -

I also found ArchitectureRules, an open source analyser. It seems really interesting. Does someone have some feedback ?

Show
Simon Brandhof added a comment - I also found ArchitectureRules, an open source analyser. It seems really interesting. Does someone have some feedback ?
Hide
Freddy Mallet added a comment - - edited

Look at those slides on Lattix product.

Show
Freddy Mallet added a comment - - edited Look at those slides on Lattix product.
Hide
Mike Nereson added a comment -

I am the project lead on Architecture Rules. I have made a good sized comment on a similar issue over at

http://jira.codehaus.org/browse/SONARPLUGINS-35?focusedCommentId=168109&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_168109

I'd like for our project to be considered for this role. We have a maven plugin, and we are working on XML output of our data which I think is what you would need to work against. We are still developing the xml output structure and would like to know your requirements, and/or appreciate your help in developing the code (we are an open source project after all)

Thank you for considering us.

Show
Mike Nereson added a comment - I am the project lead on Architecture Rules. I have made a good sized comment on a similar issue over at http://jira.codehaus.org/browse/SONARPLUGINS-35?focusedCommentId=168109&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_168109 I'd like for our project to be considered for this role. We have a maven plugin, and we are working on XML output of our data which I think is what you would need to work against. We are still developing the xml output structure and would like to know your requirements, and/or appreciate your help in developing the code (we are an open source project after all) Thank you for considering us.
Hide
Freddy Mallet added a comment -
Show
Freddy Mallet added a comment - http://www.dsmweb.org/
Hide
Freddy Mallet added a comment -

The double crosshair visual mechanism which is implemented by IDEA is pretty useful (see screenshot 'idea_dsm.png'). With this visual mechanism we don't need to create column headers and on the given use case we can quickly get the following information :

  • rulesanalysis depends on configuration package
  • the weight of this dependency is 23
  • configuration depends on nothing

Moreover, the background color of feedback edges (edges to break in order to break all cycles) is red and the background color of other edges is blue. Those background colors are more or less dark according to the weight of the edge.

Show
Freddy Mallet added a comment - The double crosshair visual mechanism which is implemented by IDEA is pretty useful (see screenshot 'idea_dsm.png'). With this visual mechanism we don't need to create column headers and on the given use case we can quickly get the following information :
  • rulesanalysis depends on configuration package
  • the weight of this dependency is 23
  • configuration depends on nothing
Moreover, the background color of feedback edges (edges to break in order to break all cycles) is red and the background color of other edges is blue. Those background colors are more or less dark according to the weight of the edge.

People

Vote (4)
Watch (6)

Dates

  • Created:
    Updated:
    Resolved: