Automated function points with Sonar?

719 views
Skip to first unread message

eduardo....@gmail.com

unread,
May 25, 2016, 12:56:43 AM5/25/16
to SonarQube
Hi all,

We are using Sonar to measure the code quality delivered from our providers. The tool works great and we (and them) are quite happy with the tool.

Unfortunately our senior management are not so happy. They want a metric for code size based on automated function points analysis.

We are now in the process of changing our estimation technique to funcion points (for some reasons that are out of scope). And there are tools out there, like CAST, that are able to provide a metric based on function points.

Some clarifications:
- I know that neither CAST nor any other tool will provide the same FP number that we will get by manual counting
- I know that current metrics offered by Sonar: LOC and Complexity are good enough to know about the size of a project

Automated function points analisys may be just marketing but even it it is just that, if AFP provides a metric that is at least as accurate as Complexity/LOC then it would be a great feature to catch up with other tools (like CAST).

Are there any plans to provide it? 

Olivier Gaudin

unread,
May 25, 2016, 1:05:42 AM5/25/16
to eduardo....@gmail.com, SonarQube
Hello Eduardo,

Short answer: no. In any case, what CAST provides is very correlated to LOCs.

Regards

Olivier

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/3cfe3463-b2a2-4f51-a56a-4f3a5a30bdb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Olivier GAUDIN | SonarSource
CEO & Co-Founder

Jean-Pierre FAYOLLE

unread,
May 25, 2016, 4:46:26 AM5/25/16
to SonarQube, eduardo....@gmail.com
Hello Eduardo

I did two posts on my blog one year ago about this subject, that I think your senior management could find interesting.
http://qualilogy.com/blog/do-developers-dream-of-automated-function-points-1/
http://qualilogy.com/blog/do-developers-dream-of-automated-function-points-2/

The second post discusses more precisely the OMG standard about Automated FP.
The english version of these posts have some comments from Function Points specialists, that lead to the NESSMA forum.

To summarize these posts and my opinion: automated FP might be interesting in some cases, but it cannot replace manual FP So I would recommend to consider precisely the objectives and the ROI.

There are some tools (free or not) that can measure FP, but maybe based on other standards (COCOMO mostly).
I had always wished to test them and see if/how their results could be crossed with SQ data. And also, if they provide a solution and a better ROI, again depending on the objectives.

Do not hesitate to contact, I will be happy to share my thoughts on this subject.
Regards

colinr...@gmail.com

unread,
Mar 29, 2018, 2:58:28 AM3/29/18
to SonarQube
In case you are still looking for automated function point sizing.  We have launched a product that will perform an automated function point estimate directly from written requirements.  It has the added benefit of helping you find defects in your requirements.  Counting speed is about 1 FP per second. I hope this is useful.

Colin Hammond
Founder
Reply all
Reply to author
Forward
0 new messages