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. Getting 100% code coverage doesn't eliminate bugs

Getting 100% code coverage doesn't eliminate bugs

Scheduled Pinned Locked Moved The Insider News
htmlcomtestingbeta-testingtutorial
4 Posts 4 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

    Code Pipes[^]:

    TL;DR - Getting 100% coverage on a project doesn’t mean you have zero bugs. Here is an extreme example to prove it.

    In related news: duh

    N M J 3 Replies Last reply
    0
    • K Kent Sharkey

      Code Pipes[^]:

      TL;DR - Getting 100% coverage on a project doesn’t mean you have zero bugs. Here is an extreme example to prove it.

      In related news: duh

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

      Article wrote:

      Getting 100% coverage on a project doesn’t mean you have zero bugs.

      There is no bug free code. You just have to wait until the correct one comes to check / use it (either a smart hacker or the dumbest available user)

      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
      • K Kent Sharkey

        Code Pipes[^]:

        TL;DR - Getting 100% coverage on a project doesn’t mean you have zero bugs. Here is an extreme example to prove it.

        In related news: duh

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #3

        Of course not. Because users are idiots. :laugh:

        Latest Articles:
        A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework

        1 Reply Last reply
        0
        • K Kent Sharkey

          Code Pipes[^]:

          TL;DR - Getting 100% coverage on a project doesn’t mean you have zero bugs. Here is an extreme example to prove it.

          In related news: duh

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

          I think it's really more that you cover or don't but with INTENT across 100%. It's not so much that you literally cover 100%. So something like typical MSFT webapi... It's fine to just chuck a bunch of that all into the same bucket where it's going to be a bug in a black box or a bug in the way you're interfacing with it. The reason you do coverage isn't so much about bug elimination by a misguided notion that bug count has an inverse relation to coverage %. Rather, it's about WHEN a bug happens, rapidly reproducing it, precise identification of its source, knowing right where to correct for it, and authoring a new test which would have found it before it went live.

          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