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#
  4. Code Quality Check

Code Quality Check

Scheduled Pinned Locked Moved C#
csharpquestion
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.
  • C Offline
    C Offline
    Chiman1
    wrote on last edited by
    #1

    I am new to .Net , I have developed an application using C#.I want check the code quality of my application .Can any one suggest any tool ,which perform code quality check?

    A L 2 Replies Last reply
    0
    • C Chiman1

      I am new to .Net , I have developed an application using C#.I want check the code quality of my application .Can any one suggest any tool ,which perform code quality check?

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      FxCop can do some preliminary (actually more the preliminary - if your rules are set right) analysis.

      My signature "sucks" today

      modified on Saturday, May 22, 2010 7:24 AM

      1 Reply Last reply
      0
      • C Chiman1

        I am new to .Net , I have developed an application using C#.I want check the code quality of my application .Can any one suggest any tool ,which perform code quality check?

        L Offline
        L Offline
        Lukasz Nowakowski
        wrote on last edited by
        #3

        There are two tools you can go with (simultanously): 1. FxCop (as mentioned by "Abhinav S"). 2. StyleCop The first one checks if your code conforms to rules Microsoft established for .NET applications design (for example methods, that don't use classes should be declared as static, all fields should be private). The second one checks your code style (members should be commented, there should be single empty line between members). Some of rules (like naming rules) are common for both those tools, some can only be found in one of them. Both are great way to learn to write clean and maintainable code.

        K 1 Reply Last reply
        0
        • L Lukasz Nowakowski

          There are two tools you can go with (simultanously): 1. FxCop (as mentioned by "Abhinav S"). 2. StyleCop The first one checks if your code conforms to rules Microsoft established for .NET applications design (for example methods, that don't use classes should be declared as static, all fields should be private). The second one checks your code style (members should be commented, there should be single empty line between members). Some of rules (like naming rules) are common for both those tools, some can only be found in one of them. Both are great way to learn to write clean and maintainable code.

          K Offline
          K Offline
          Khaniya
          wrote on last edited by
          #4

          StyleCop is new to me I will download and test Thanks :-D

          Life's Like a mirror. Smile at it & it smiles back at you.- P Pilgrim So Smile Please

          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