© FPT Software Code Review with VS 2012 1. © FPT Software Agenda What is Code review? Run Code analysis in VS 2012 Configuring Code Analysis rule set.

Slides:



Advertisements
Similar presentations
Copyright © 2000 by RT Lawrence Corporation. La Mirada, California, USA. All Rights Reserved. RTLFiRST – Special Processing Logic User Definable Special.
Advertisements

Coding and Debugging. Requirements and Specification Recall the four steps of problem solving: Orient, Plan, Execute, Test Before you start the implementation.
1 Appendix A: Writing and Submitting SAS ® Programs A.1 Writing and Submitting SAS Programs.
Configuring Windows Vista Security Lesson 8. Skills Matrix Technology SkillObjective DomainObjective # Setting Up Users Configure and troubleshoot parental.
15.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 15: Configuring a Windows.
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Maintaining and Updating Windows Server 2008
Performing Software Installation with Group Policy
®® Microsoft Windows 7 Windows Tutorial 6 Searching for Information and Collaborating with Others.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automation Fundamental Concepts &
Introduction to VB.NET Tonga Institute of Higher Education.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Two Deploying Windows Servers.
GroundsOpsStaff (Last Updated 9/9/2010) A Grounds Operations and Staffing Computer Application Based on APPA Operational Guidelines for Grounds Management.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Visual Basic 2005: Reloaded Second Edition
CCS APPS CODE COVERAGE. CCS APPS Code Coverage Definition: –The amount of code within a program that is exercised Uses: –Important for discovering code.
IT 211 Project Integration and Deployment Lab #11.
Creating a Web Site to Gather Data and Conduct Research.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
© 2006 Global Knowledge Training LLC All rights reserved. Query-Based Distribution Groups Built-In Address Lists Building Custom Address Lists Controlling.
March 2004 At A Glance autoProducts is an automated flight dynamics product generation system. It provides a mission flight operations team with the capability.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Operating Systems Written by: Tim Keyser Georgia CTAE Resource Network 2010.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Static and Integration Testing. Static Testing vs Dynamic Testing  To find defects  This testing includes verification process  without executing.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
Maintaining and Updating Windows Server 2008 Lesson 8.
1 Microsoft Access Security Warnings Note: This presentation was created with "Access 2002". You might have slightly different warnings with other versions.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Dive Into® Visual Basic 2010 Express
Chapter 2: The Visual Studio .NET Development Environment
An introduction to programming Created by Dr. Randy Pausch
3.01 Apply Controls Associated With Visual Studio Form
3.01 Apply Controls Associated With Visual Studio Form
Software Development CMSC 202.
Lecture 13 RPM and its advantages.
Microsoft FrontPage 2003 Illustrated Complete
1. Press the Power button or switch to flip on the printer, if it is turn off. 2. From the Home display screen on the product control panel, click the.
Microsoft Excel 2003 Illustrated Complete
CIS16 Application Development Programming with Visual Basic
Automation Of Software Test
1. Open Visual Studio 2008.
Creating Your First C Program Using Visual Studio 2010
Creating Your First C Program Using Visual Studio 2010
SSDT and Database Project Basics
Selenium IDE Installation and Use.
How To Password Protect A PDF Free With or Without Acrobat.
Presentation transcript:

© FPT Software Code Review with VS

© FPT Software Agenda What is Code review? Run Code analysis in VS 2012 Configuring Code Analysis rule set Q&A 2

© FPT Software What is Code review? A code review is the process of examining written code with the purpose of highlighting mistakes, include bugs and design errors, before the code becomes part of the product. Code review should be carried out regularly during the code design phase. 3

© FPT Software Types of Code review Static code review: code is analyzed for mistakes and syntax errors on programming rules and guidelines of the project. Dynamic code review: code is executed to compare the actual results with the expected results. 4

© FPT Software Other benefits of Code review Code is also reviewed for security, maintainability, reliability, upgradability, flexibility, integration capability, and other features during the code review process. Code review is to make sure that code on an enterprise is consistent in all projects. Code review enables transitions and turnovers' of projects to go smoothly since every member of the team understands the code. 5

© FPT Software Run Code analysis in VS 2012 In Solution Explorer, right-click on a project, then click on “Run Code Analysis” 6

© FPT Software Run Code analysis in VS 2012(cont.) Or we can right-click on the solution, then click on “Run Code Analysis on Solution” to analyze for all projects. 7

© FPT Software Run Code analysis in VS 2012(cont.) The Code Analysis window will be shown with all warnings on code review. We can also go to menu View|Other windows|Code Analysis to turn it on. 8

© FPT Software Run Code analysis in VS 2012(cont.) Click on 1 item in Code Analysis, source code will be shown. The instruction is also show how to fix it. 9

© FPT Software Configuring Code Analysis rule set Configuring for a project: right-click on the project, select Property. Property window is shown on the left, select Code Analysis: 10

© FPT Software Configuring Code Analysis rule set(cont.) Select the “Microsoft All Rules” option for combination of all rule sets. 11

© FPT Software Configuring Code Analysis rule set(cont.) Select the “Choose multiple rule sets…” option for combination of some rule sets. 12

© FPT Software Configuring Code Analysis rule set(cont.) Choose some rule sets to combine. Click Save As to save into a file. 13

© FPT Software Configuring Code Analysis rule set(cont.) The Rule Set list is added 1 more custom rule. 14

© FPT Software Configuring Code Analysis rule set(cont.) Custom detail for a rule set: Select 1 rule set in the list, then click on Open button: 15

© FPT Software Configuring Code Analysis rule set(cont.) All the single rules are default selected. We can unselect some rules. Then click on menu Save to save this setting to a custom rule. 16

© FPT Software Configuring Code Analysis rule set(cont.) Configure Code Analysis for the solution. 17

© FPT Software Configuring Code Analysis rule set(cont.) Select/change rules for each project 18

© FPT Software References Pro C# 5.0 and the.NET 4.5 Framework by Andrew TroelsenPro C# 5.0 and the.NET 4.5 Framework 19

© FPT Software Question & Answer 20