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
  1. Home
  2. Other Discussions
  3. The Insider News
  4. Code reviews are not effective at finding bugs

Code reviews are not effective at finding bugs

Scheduled Pinned Locked Moved The Insider News
questioncode-reviewlearning
7 Posts 7 Posters 0 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.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    shepherdly[^]:

    One of the biggest time sinks in software development is code review and approval.

    Unless you count the "should this be InitializeWorkflow or StartWorkflow?" discussions as finding bugs

    BeginStartInitializeWorkflow, of course

    M J Richard Andrew x64R J T 6 Replies Last reply
    0
    • K Kent Sharkey

      shepherdly[^]:

      One of the biggest time sinks in software development is code review and approval.

      Unless you count the "should this be InitializeWorkflow or StartWorkflow?" discussions as finding bugs

      BeginStartInitializeWorkflow, of course

      M Offline
      M Offline
      MarkTJohnson
      wrote on last edited by
      #2

      I always try my best to read every line of changed code in a review. I have found obvious bugs and requested changes. Sometimes you can even tell the developer didn't even bother to try and compile the code before submitting. Looking at you M****s. (Someone I used to work with.)

      I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

      1 Reply Last reply
      0
      • K Kent Sharkey

        shepherdly[^]:

        One of the biggest time sinks in software development is code review and approval.

        Unless you count the "should this be InitializeWorkflow or StartWorkflow?" discussions as finding bugs

        BeginStartInitializeWorkflow, of course

        J Offline
        J Offline
        jochance
        wrote on last edited by
        #3

        Hard to argue with the points even if the thesis put a cap in my knee. "First, the yield on finding bugs in reviews was about 15% of code review comments defects despite it being the top motivation." But I don't think that's the chief motivation. Rather, "meta" is. Was the approach a good one? Is there way better way? Are there fundamental oversights to the implementation? Are there code features that the reviewer learns from the review or that the reviewer can pass to the reviewed on account of the code in question being exhibition? Code style/staying within 'the lines'? Were the tests written? If they wrote tests, and you review those, there is a sort of comfort that the code doesn't have bugs. It's not 100% but...

        1 Reply Last reply
        0
        • K Kent Sharkey

          shepherdly[^]:

          One of the biggest time sinks in software development is code review and approval.

          Unless you count the "should this be InitializeWorkflow or StartWorkflow?" discussions as finding bugs

          BeginStartInitializeWorkflow, of course

          Richard Andrew x64R Offline
          Richard Andrew x64R Offline
          Richard Andrew x64
          wrote on last edited by
          #4

          Well, bugs usually involve the complex interplay of code from various different source files. I doubt that any code reviewer could spot that looking at one file at a time.

          The difficult we do right away... ...the impossible takes slightly longer.

          1 Reply Last reply
          0
          • K Kent Sharkey

            shepherdly[^]:

            One of the biggest time sinks in software development is code review and approval.

            Unless you count the "should this be InitializeWorkflow or StartWorkflow?" discussions as finding bugs

            BeginStartInitializeWorkflow, of course

            J Offline
            J Offline
            Joe Woodbury
            wrote on last edited by
            #5

            At my last job, code reviews were very effective. They covered more than bugs; they helped sanity check code design.

            1 Reply Last reply
            0
            • K Kent Sharkey

              shepherdly[^]:

              One of the biggest time sinks in software development is code review and approval.

              Unless you count the "should this be InitializeWorkflow or StartWorkflow?" discussions as finding bugs

              BeginStartInitializeWorkflow, of course

              T Offline
              T Offline
              TNCaver
              wrote on last edited by
              #6

              Code reviews aren't for testing code, that's what alpha and beta testing/UAT are for. Obvious bugs might be spotted, but that's not what the focus is on.

              There are no solutions, only trade-offs.
                 - Thomas Sowell

              A day can really slip by when you're deliberately avoiding what you're supposed to do.
                 - Calvin (Bill Watterson, Calvin & Hobbes)

              1 Reply Last reply
              0
              • K Kent Sharkey

                shepherdly[^]:

                One of the biggest time sinks in software development is code review and approval.

                Unless you count the "should this be InitializeWorkflow or StartWorkflow?" discussions as finding bugs

                BeginStartInitializeWorkflow, of course

                N Offline
                N Offline
                Nelek
                wrote on last edited by
                #7

                The secret of a successful code review | CommitStrip[^] :-D

                M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                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