Solved

Software Dependency Metric

Posted on 2015-01-05
6
142 Views
Last Modified: 2015-01-07
Heyas,

I know their is metric termed Cyclomatic complexity which measures a software module's structural complexity. I would like to know if their a metric to measure the number of dependencies (DLL Calls, SQL Server Queries etc) a software module has to operate.

Thank you.
0
Comment
Question by:Zack
  • 3
  • 3
6 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40534202
Visual Studio code metrics can perform checks on cyclomatic complexity.

Code Metrics – Cyclomatic Complexity
http://blogs.msdn.com/b/zainnab/archive/2011/05/17/code-metrics-cyclomatic-complexity.aspx
0
 

Author Comment

by:Zack
ID: 40534392
Hi Bob,

Thank you for that measures Cyclomatic Complexity, is their any metric to measure the amount of dependencies eg. libraries, dll etc a software module depends upon.

Thank you.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40534565
That'll teach me to read the entire question.  Are you asking about assembly reference dependencies?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Zack
ID: 40534763
Hi Bob,

Kind of, whatever dependencies the software module requires to run successfully. For instance the .dll it points to or calls and if connects to SQL database  etc. I hope this clarifies.

Thank you.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40535758
We need to be clear about your requirements.  Here is an image of a dependency graph, from NDepend, which shows calls from methods.

Dependency Graph
http://www.ndepend.com/docs/visual-studio-dependency-graph#Dep

I am not sure what you are looking for with "if connects to SQL database".  I haven't seen any code metrics that would measure that.
0
 

Author Comment

by:Zack
ID: 40536695
Hi Bob,

That's fine thank you very much for the link, I have been trialling this software for the past couple of hrs looks quite promising.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Easy filter aspnet 2 36
C qsort compare function issue 6 47
Amazon S3 Images with .Net 3 35
sort Multi-dimensional array 6 19
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question