[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

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