Details zum E-Book

Instant StyleCop Code Analysis How-to. Learn how to analyze and maintain code for your projects using StyleCop

Instant StyleCop Code Analysis How-to. Learn how to analyze and maintain code for your projects using StyleCop

Franck Leveque

E-book
In medium-sized and big projects, coding conventions are defined in order to improve readability and maintainability for all the developers of the team. Stylecop analyzes your code and detects coding rule violations during all the phases of your project lifecycle.

Instant StyleCop Code Analysis How-to allows you to take advantage of the features of Stylecop by guiding you through how to configure it, how to integrate it in your project environment, and finally how to personalize it in order to fit your needs.

Instant StyleCop Code Analysis How-to teaches you how to configure and integrate Stylecop in your programming environment. The book will do this by showing you how to configure Stylecop on the developers IDE to the continuous integration server.

You will also learn how to customize Stylecop to fit your coding style by creating new rules as well as learning how to personalize your headers file. You will also see how to embed it in your own tools, using as an example the creation of a real time analysis add-on for Monodevelop.

With Instant StyleCop Code Analysis How-to, you will have an overview of all the required steps to successfully integrate your programming team and enforce your own coding rules.
  • Instant StyleCop Code Analysis How-to
    • Instant StyleCop Code Analysis How-to
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Instant StyleCop Code Analysis How-to
      • Installing StyleCop with Visual Studio (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • Theres more...
          • Rules activation
          • Merging StyleCop settings
          • Using StyleCop with Express editions of Visual Studio and SharpDevelop
      • Understanding the Resharper add-in (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Dev Express Code Rush
          • Code Maid
          • NArrange
      • Automating StyleCop using MSBuild (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Setting up properties of the task in a more global way
          • Excluding files from StyleCop analysis
      • Automating StyleCop using a command-line batch (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • StyleCopCmd for Mono and Linux systems
          • StyleCop CLI
          • Building your own
      • Automating StyleCop using NAnt (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Integrating StyleCop analysis results in Jenkins/Hudson (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
      • Customizing file headers (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Other ways to handle the headers
          • Company configuration
      • Creating custom rules (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Customize your StyleCop settings dialog
          • Unit testing your rules
      • Integrating StyleCop in your own tool (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Add a configuration screen
          • Do the work in a background thread
          • Change the display of violations
  • Titel: Instant StyleCop Code Analysis How-to. Learn how to analyze and maintain code for your projects using StyleCop
  • Autor: Franck Leveque
  • Originaler Titel: Instant StyleCop Code Analysis How-to. Learn how to analyze and maintain code for your projects using StyleCop
  • ISBN: 9781782169550, 9781782169550
  • Veröffentlichungsdatum: 2013-05-23
  • Format: E-book
  • Artikelkennung: e_3cvr
  • Verleger: Packt Publishing