Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

Software Dependency Metric

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
Zack
Asked:
Zack
  • 3
  • 3
1 Solution
 
Bob LearnedCommented:
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
 
ZackGeneral IT Goto GuyAuthor Commented:
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
 
Bob LearnedCommented:
That'll teach me to read the entire question.  Are you asking about assembly reference dependencies?
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
ZackGeneral IT Goto GuyAuthor Commented:
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
 
Bob LearnedCommented:
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
 
ZackGeneral IT Goto GuyAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now