User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Software Developers' Lounge section within the Software Development category of DaniWeb, a massive community of 391,994 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,287 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Software Developers' Lounge advertiser:
Views: 457 | Replies: 6
Reply
Join Date: Jun 2008
Posts: 4
Reputation: loctan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
loctan loctan is offline Offline
Newbie Poster

Suggestions for software metrics to collect

  #1  
Jun 25th, 2008
I am working towards my masters degree through an online university. As part of this I need to have a final project. I enjoy doing embedded work, but due to the lack of oscilloscopes, power supplies, machining tools to build a robot, I am looking towards doing another kind of application.

I was thinking it would be interesting to create an eclipse plugin that would collect various software metrics. This plugin would integrate seamlessly in the IDE and could collect various metrics about a software project/module/function such as:

1) SLOC
2) Level of cohesion
3) Amount of coupling between modules
4) Cyclomatic Complexity
5) Number of times a module/function is called to suggest good areas for optimization

Some of this information could even be displayed graphically or in list format. For instance, the cyclomatic complexity could on a per function basis such that a user could see which functions have the highest and this would imply that it may be necessary to simplify the code, etc. The amount of coupling between the various modules could also be displayed to show poor design, etc.

I guess my basic question is what you guys think of something like this? Can you offer any other interesting metrics to collect?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,646
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 191
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Suggestions for software metrics to collect

  #2  
Jun 25th, 2008
not interesting.
Just buy an osciloscope, they're cheap.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Join Date: Jun 2008
Location: Indiana
Posts: 14
Reputation: iffEngineer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
iffEngineer's Avatar
iffEngineer iffEngineer is offline Offline
Newbie Poster

Re: Suggestions for software metrics to collect

  #3  
Jun 30th, 2008
You know you wouldn't necessarily need an O-Scope to do something cool with embedded controls. For example, you could get six or seven servos and wire them into a digital circuit. Something simple like an AND > OR > XOR circuit. Then take the output of your gates and put them into a simple ribbon plug in. Now from your computer use the LPT1 port because you can use that port to send and receive digital signals. Now build or buy a simple robotic head or hand or something cool and wire the servos in to control it. Write a program using vb.net or C# utilizing .NET framework 2.0 and have a front end to control the robot. You could even use SAPI from microsoft to do some simple speech commands to control the robot. I am sure this is much more simple than what you need but you could follow that track if you still wanted to use embedded objects without the fancy frequency generators and O-Scopes.
Adam Jones
Chief Technology Officer
iff Engineering Solutions LLC
www.iffengineering.com
Reply With Quote  
Join Date: Jun 2008
Posts: 4
Reputation: loctan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
loctan loctan is offline Offline
Newbie Poster

Re: Suggestions for software metrics to collect

  #4  
Jun 30th, 2008
Thanks for you input guys. I have been and will continue to think about this. I actually have access to oscilloscopes and power supplies/function generators at work, but NASA can be a pain in letting people use them for non NASA related work.

I am going to see what I can work out and will continue to think about this and give it a proper reply in a few days.

Thanks again.
Reply With Quote  
Join Date: Dec 2005
Posts: 3,261
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 20
Solved Threads: 368
Colleague
Salem's Avatar
Salem Salem is offline Offline
void main'ers are DOOMed

Re: Suggestions for software metrics to collect

  #5  
Jul 1st, 2008
> Can you offer any other interesting metrics to collect?
The total number of revisions (across all the branches) divided by the age of the file.

Use it to find files which are being edited rather more often than they should. This could indicate sloppy design, poor testing, vague requirements etc.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Do not PM me for help; You'll be ignored, or told to learn to read.
Do not ask me if I'm muslim - I'm not. Nor do I care about yours or anyone else's mysticism. Religion is a matrix, take the RED PILL.
Reply With Quote  
Join Date: Jul 2008
Posts: 48
Reputation: Ken Sharpe is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
Ken Sharpe's Avatar
Ken Sharpe Ken Sharpe is offline Offline
Light Poster

Re: Suggestions for software metrics to collect

  #6  
Jul 1st, 2008
Good idea, Salem.
Reply With Quote  
Join Date: Jul 2008
Posts: 3
Reputation: sujith.it is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sujith.it sujith.it is offline Offline
Newbie Poster

Re: Suggestions for software metrics to collect

  #7  
Jul 14th, 2008
Software matrix is a very important in competitive market. Specially if you plan to start your own business it will be your main asset.

____________
conservatory Fruit Machine
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Software Developers' Lounge Marketplace
Thread Tools Display Modes

Other Threads in the Software Developers' Lounge Forum

All times are GMT -4. The time now is 9:52 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC