Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Code Review Tool

Code Review Tool

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 6.4k 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.
  • H Offline
    H Offline
    hakan
    wrote on last edited by
    #1

    Hello,
    I'm looking for a code review tool for Qt. Can you suggest me some?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      What should this tool do?
      code metrics? then you could look at "SourceMonitor":http://www.campwoodsw.com/

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hakan
        wrote on last edited by
        #3

        hi!

        I'm also using SourceMonitor, thanks. I'm looking for a tool which can detect memory leaks and such other defects which compiler can not find. But this tool has to address Qt requirements too.( for example: it has to know about memory management of Qt to prevent false alarms.)

        And one more, if it's possible this tool is supposed to check whether the developer used a predefined coding standart. ( like making variable names smallcase, putting m_ prefix to member variables etc.)

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          Memory tracking is highly platform dependent. It was discussed before here:

          • http://developer.qt.nokia.com/forums/viewthread/1924
          • http://developer.qt.nokia.com/forums/viewthread/2248
          • http://developer.qt.nokia.com/forums/viewthread/2747
          • "FAQ entry":http://developer.qt.nokia.com/faq/answer/can_you_suggest_a_tool_which_we_can_use_to_track_down_memory_leaks_in_qt

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • G Offline
            G Offline
            giesbert
            wrote on last edited by
            #5

            As code review tool for finding memory leaks, you could use "pclint":http://www.gimpel.com/html/pcl.htm (which is a commercial tool), but i'm not sure, whether it can handle Qt memory management correctly.

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hakan
              wrote on last edited by
              #6

              thanks all!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved