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. General Programming
  3. C / C++ / MFC
  4. Code Review Checklist

Code Review Checklist

Scheduled Pinned Locked Moved C / C++ / MFC
questionphpcomalgorithmscode-review
2 Posts 2 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.
  • E Offline
    E Offline
    elizas
    wrote on last edited by
    #1

    1.Are all the conditional paths reachable? 2.Are all the individual conditions in a complex conditions separately evaluated? 3.If there is a nested IF statement, are the THEN and ELSE parts appropriately delimited? 4. In the case of a multi-way branch like SWITCH/CASE statement, is a default clause provided? Are the breaks after each CASE appropriates? 5.Is there any part of code that is unreachable? 6.Are there any loops that will never execute? 7.Are there any loops where the final condition will never be met and hence cause the program to go into an infinite loop? 8.What is the level of nesting of the conditional statements? Can the code be simplified to reduce complexity? http://www.mindfiresolutions.com/Code-Review-Checklist-238.php[^]

    Cheers, Eliza

    L 1 Reply Last reply
    0
    • E elizas

      1.Are all the conditional paths reachable? 2.Are all the individual conditions in a complex conditions separately evaluated? 3.If there is a nested IF statement, are the THEN and ELSE parts appropriately delimited? 4. In the case of a multi-way branch like SWITCH/CASE statement, is a default clause provided? Are the breaks after each CASE appropriates? 5.Is there any part of code that is unreachable? 6.Are there any loops that will never execute? 7.Are there any loops where the final condition will never be met and hence cause the program to go into an infinite loop? 8.What is the level of nesting of the conditional statements? Can the code be simplified to reduce complexity? http://www.mindfiresolutions.com/Code-Review-Checklist-238.php[^]

      Cheers, Eliza

      L Offline
      L Offline
      LittleYellowBird
      wrote on last edited by
      #2

      Quote from your profile .... Biography: I am in the marketing team at Mindfire Solution. Is that whay you have not asked a proper question and have a link to your website ....... ? :rolleyes:

      Ali

      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