Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Static Analysis tool

Static Analysis tool

Scheduled Pinned Locked Moved The Lounge
c++
7 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LordsAngel
    wrote on last edited by
    #1

    Does anybody know a good Static analysis tool for C++ on Eclipse. Thanks in advance.

    L P A 3 Replies Last reply
    0
    • L LordsAngel

      Does anybody know a good Static analysis tool for C++ on Eclipse. Thanks in advance.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Something like PC Lint[^] perhaps?


      Kicking squealing Gucci little piggy.
      The Rob Blog

      L 1 Reply Last reply
      0
      • L LordsAngel

        Does anybody know a good Static analysis tool for C++ on Eclipse. Thanks in advance.

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Wikipedia has this[^] list.

        Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

        L 1 Reply Last reply
        0
        • L LordsAngel

          Does anybody know a good Static analysis tool for C++ on Eclipse. Thanks in advance.

          A Offline
          A Offline
          Anna Jayne Metcalfe
          wrote on last edited by
          #4

          Is this under Windows or Linux? For linting, PC-Lint will work well for the former; FlexeLint for the latter. There are a bunch of other commercial offerings (e.g. QA C++ and Cleanscape) but some of them actually use PC-Lint as their core analysis engine anyway. As far as I know, there are no open source C++ lint tools out there though. The nearest contender (Splint) is C only. IDE integration varies by tool, so you'll have to hunt around. My company (Riverblade) specialises in this area (we integrate PC-Lint into Visual Studio) but unfortunately we've not got the resources to support Eclipse at the moment (it doesn't help that the Eclipse plug-in model is Java based and our source is C++, but that's another story :doh:). For other forms of analysis (e.g. Cyclomatic Complexity) it's hard to beat SourceMonitor[^]- and as a bonus it's free. :)

          Anna :rose: Linting the day away :cool: Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

          L 1 Reply Last reply
          0
          • A Anna Jayne Metcalfe

            Is this under Windows or Linux? For linting, PC-Lint will work well for the former; FlexeLint for the latter. There are a bunch of other commercial offerings (e.g. QA C++ and Cleanscape) but some of them actually use PC-Lint as their core analysis engine anyway. As far as I know, there are no open source C++ lint tools out there though. The nearest contender (Splint) is C only. IDE integration varies by tool, so you'll have to hunt around. My company (Riverblade) specialises in this area (we integrate PC-Lint into Visual Studio) but unfortunately we've not got the resources to support Eclipse at the moment (it doesn't help that the Eclipse plug-in model is Java based and our source is C++, but that's another story :doh:). For other forms of analysis (e.g. Cyclomatic Complexity) it's hard to beat SourceMonitor[^]- and as a bonus it's free. :)

            Anna :rose: Linting the day away :cool: Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

            L Offline
            L Offline
            LordsAngel
            wrote on last edited by
            #5

            Anna-Jayne Metcalfe wrote:

            Is this under Windows or Linux?

            Its on windows. I am looking for a tool on which I can add a few rules myself.

            Anna-Jayne Metcalfe wrote:

            commercial offerings (e.g. QA C++ and Cleanscape)

            How good are they? Any idea how much they cost?

            Anna-Jayne Metcalfe wrote:

            resources to support Eclipse

            I really would like to find one on Eclipse... or Source Insight etc. Any idea how TPTP 4.4 is? I have heard that you can use for C, C++ also (It was originally designed for Java).

            1 Reply Last reply
            0
            • L Lost User

              Something like PC Lint[^] perhaps?


              Kicking squealing Gucci little piggy.
              The Rob Blog

              L Offline
              L Offline
              LordsAngel
              wrote on last edited by
              #6

              Rob Caldecott wrote:

              Something like PC Lint[^] perhaps?

              I am looking for customizable one. I.e. I wanna add my own set of rules into it.

              1 Reply Last reply
              0
              • P Pete OHanlon

                Wikipedia has this[^] list.

                Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

                L Offline
                L Offline
                LordsAngel
                wrote on last edited by
                #7

                Pete O`Hanlon wrote:

                Wikipedia has this[^] list.

                I had been through the list. The problem is that there are too many tools listed and I dont have the liberty of time. :sigh:

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups