SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jun 2004
    Location
    Brasil
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Source Code Metric Tool

    Hello!

    Does Anybody know a tool that calculate the ciclomatic complexity (as knows as McCabe Complexity) for languages as PowerBuilder, Java, C, C++, PL/SQL and Visual Basic?
    Can be cases of open source tools or not. Isn't necessary that the tool has supported all the languages, but at least the one [img]images/icons/smile.gif[/img] .

    tks,
    Paulinha

  2. #2
    SQA Knight
    Join Date
    Jan 2002
    Location
    Highlands Ranch, CO, USA
    Posts
    2,860
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source Code Metric Tool

    Do a search on Google for "Software Static Analysis tools" and you will get a bunch of links to check out.

    For C/C++ you can look at CDoc, for PowerBuilder there is PBAnalyzer (http://www.ascensionlabs.com/index.html) and this link goes to a free download (http://www.freedownloadscenter.com/P..._Analyzer.html), for VB you can look at Project Analyzer 7 (http://www.aivosto.com/project/project.html).

    For the SQL stuff I have not found a code analyzer yet, but if your in MS-SQL Server I think there is some built in tools for checking the SQL query or stored proc.

    Jim
    Jim
    -------------------------------------------
    For all the general stuff to know about QA/Test go here http://www.softwareqatest.com/

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Location
    Brasil
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source Code Metric Tool

    Jim...

    Thank so much...
    Paulinha

  4. #4
    Junior Member
    Join Date
    Jun 2004
    Location
    Brasil
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source Code Metric Tool

    Hello Jim (jimhazen)

    Unfortunately the PB Code Analyzer (http://www.ascensionlabs.com/index.html) does not make the calculation of the cyclomatic complexity (McCabe) and I still did not find tools that make this.
    For the PL/SQL exists a package in the Oracle 8i and 9i that does the code coverage (DBMSProfiler), but did not find none that calculated the cyclomatic complexity of the code. If knows something that it can help, please, communicate me.

    Grateful,
    Paulinha

  5. #5
    SQA Knight
    Join Date
    Jan 2002
    Location
    Highlands Ranch, CO, USA
    Posts
    2,860
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source Code Metric Tool

    Originally posted by Paulinha:
    Hello Jim (jimhazen)

    Unfortunately the PB Code Analyzer (http://www.ascensionlabs.com/index.html) does not make the calculation of the cyclomatic complexity (McCabe) and I still did not find tools that make this.
    For the PL/SQL exists a package in the Oracle 8i and 9i that does the code coverage (DBMSProfiler), but did not find none that calculated the cyclomatic complexity of the code. If knows something that it can help, please, communicate me.

    Grateful,
    <font size="2" face="Verdana, Arial, Helvetica">They call their Cyclomatic Complexity metric by another name (can't remember off the top of my head what it is, been a couple years since I used the tool), but it does give you a complexity indicator metric. I talked with the people at Ascension about this and they stated they just renamed it, why I have no idea but it worked for the project I was on.

    Look through the eval of the tool and you will find that the metric name they use is really CC.

    Jim
    Jim
    -------------------------------------------
    For all the general stuff to know about QA/Test go here http://www.softwareqatest.com/

  6. #6
    Senior Member
    Join Date
    Jan 2002
    Posts
    678
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source Code Metric Tool

    While maybe a little time consuming I'd think calculating SQL CC by hand wouldn't be that hard. If your programmers did this by hand I think they would learn a lot about keeping complexity down.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.11%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:16 AM.

Copyright BetaSoft Inc.