Presentation is loading. Please wait.

Presentation is loading. Please wait.

KUFA UNIVERSITY Department of Computer Science 06/12/2015.

Similar presentations


Presentation on theme: "KUFA UNIVERSITY Department of Computer Science 06/12/2015."— Presentation transcript:

1 KUFA UNIVERSITY Department of Computer Science 06/12/2015

2 Fundamentals of Software Engineering Presented By Neamah Hassan Presented By Neamah Hassan 06/12/2015

3 Code review Code review -Code review is undertaken after the module successfully compiles and all the syntax error have been eliminated from the module -Code review are cost – effective strategies for eliminating coding error and for producing high quality code -Code review directly detect the error 06/12/2015

4 Coding standards and guidelines Coding guidelines Coding guidelines -Is provides general suggestions regarding the coding style -Leave the actual implementation of these guidelines to the discretion of the individual developers 06/12/2015

5 Type of code review 1- Code walkthrough -Is an informal code analysis technique -A few members of the development team are given the code for a couple days before the walkthrough meeting -Each member selects some test cases of code to hand run - the main objective of Code walkthrough is to discover the logical error in the code -Even though Code walkthrough is an informal analysis technique but have several guidelines over the years 06/12/2015

6 some Code walkthrough guidelines 1- the team that performing Code walkthrough should not be either too big or too small, it should consist between three to seven member 2- discussions should focus on discovery of errors and avoid how to fix the discovered error 3- mangers should not attend to foster cooperation among the engineers 06/12/2015

7 Cont.. 2- Code inspection - The aim of Code inspection is to check for the presence of some types of errors that usually creep in to code bcz the programmer oversight and to check whether coding standards Have been adhered to - Good s/w companies collect statistics regarding different type of error commonly committed by engineers and identify the types of error most frequently committed, such a list of commonly committed errors can be used as a check list during Code inspection to look out for possible errors 06/12/2015

8 some classical programming error checked during code inspection 06/12/2015 1- use uninitialized variable 2- non terminating loop 3- incompatible assignments 4- array indices out of bound 5- use incorrect logical operators or incorrect precedence among operators 6- mismatch between actual and formal parameter in procedure calls

9 Next lecture Testing phase Basic approach of testing Verification and validation

10 06/12/2015


Download ppt "KUFA UNIVERSITY Department of Computer Science 06/12/2015."

Similar presentations


Ads by Google