Solved

Software Dependency Metric

Posted on 2015-01-05
6
138 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now