Software Development Process Metrics and Quality Measurement

w5hh principle n.w
1 / 23
Embed
Share

Explore the W5HH principle in software development, where W5 represents five key questions and HH represents two how questions. Dive into aspects like system needs, project tasks, team roles, and resource estimation. Learn about process and project metrics, as well as software quality measurement.

  • Software Development
  • Metrics
  • Quality Measurement
  • W5HH Principle
  • Project Management

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. W5HH Principle

  2. W5HH Principle W5 means 5 wh Questions. & HH means two How questions

  3. 5 wh Questions 1. Need of the system Role of the software in the business Ex. Amazon website, BSNL website Why the system is being developed? 2. Task set required for the project. Process models, architectural models etc. What will be done? 3. Project schedule In between milestones When it will be done?

  4. 4. Who is responsible for the function? Role & responsibility Of each member of the software team Is identified & described. 5. Where they are organizationally located? Location of customers, users and other stakeholders

  5. two How questions 1. How will the job be done, technically and managerially? Management strategy & Technical strategy For the project, is decided. 2. How much of each resource is needed? estimates are developed For the required resources like cost, duration and manpower

  6. Metrics in the process and project domains

  7. Process Metrics Metrics ? Measurements Processes are measured Using different parameters/arttributes. Like size of the process Resources required to execute the process Time required to execute the process Dependency on another processes

  8. Quality of the software is based on These metrics

  9. Project Metrics Project metrics are 1. Estimation of cost and duration (schedule) 2. Error detection Intent of project metrics 1. To avoid delays 2. To minimize risks

  10. Software Measurement

  11. Direct measures Size & function oriented metrics - cost & effort applied - LOC produced - Execution speed & defects Indirect measures - - - - - - Functionality Quality Complexity Efficiency Reliability Maintainability etc.

  12. Size oriented metrics LOC

  13. Example Of LOC Based Estimation Consider an ABC project, with some important modules such as 1. user interface & control facilities 2. 2D graphics analysis 3. 3D graphics analysis 4. Database management 5. Computer graphics display facility 6. Peripheral control function 7. Design analysis models Estimate the project based on LOC

  14. Consider each module as separate function The corresponding LOC can be estimated in the following table Function Estimated LOC User interface & control facilities 2500 2D graphics analysis 5600 3D graphics analysis 6450 Database management 3100 Computer graphics display facility 4740 Peripheral control function 2250 Design analysis models 7980 Total estimation in LOC 32620

  15. A review of historical data indicates 1. Average productivity is = 500 LOC/month/person 2. Average labor cost is = Rs.6000/month Then cost for LOC can be estimated as Cost/LOC = (6000/500) = Rs12/LOC By considering, total estimated LOC as = 32620 Total estimated project cost = (32620 * 12) = Rs. 3,91,440/- Total estimated project effort = (32620 / 500) = 65 Person-months = 2 months 5 days (will be required for 1 Person) If we use 5 persons, then 13 days will require. If we use 10 persons, then 6.5 days will require. If we use 15 persons, then 4.3 days will require.

  16. Size Oriented Metrics Size of the software to be produced is considered. It is a direct measure of software.

  17. Table - Size Measure Project LOC Effort Cost($) Document (Pages) Errors Defects People ABC 10000 20 170 400 100 12 4 PQR 20000 60 300 800 150 32 10 XYZ 30000 65 522 1200 200 50 20 . . . . . . . . . . . . . . . . . . . . . . . .

  18. A simple set of size measure that can be developed is Size = kilo lines of code (KLOC) Productivity = KLOC / person month Quality = number of faults / KLOC Cost = Rs / KLOC Documentation = Pages of documentation / KLOC

  19. Size of the software Can be measured as - Lines of code - 1000 LOC = 1 KLOC 1 LOC = one line of text, In a source file. While counting LOC - - - Don t count blank lines Don t count comments Count everything else

  20. Fig. : Function for sorting an array Size Estimation Lines of Code (LOC) 1. int. sort (int x[ ], int n) 2. { If LOC is simply a count of the number of lines then figure shown below contains 18 LOC . 3. int i, j, save, im1; 4. /*This function sorts array x in ascending order */ 5. If (n<2) return 1; 6. for (i=2; i<=n; i++) 7. { 8. im1=i-1; When comments and blank lines are ignored, 9. for (j=1; j<=im; j++) 10. if (x[i] < x[j]) 11. { 12. Save = x[i]; the program in figure shown below contains 17 LOC. 13. x[i] = x[j]; 14. x[j] = save; 15. } 16. } 17. return 0; 18. }

  21. Expected LOC for 3d Geometric Analysis function on three point estimation is Optimistic estimation - 4700 most likely estimation - 6000 Pessimistic estimation 10000 S = [Sopt + (4 * Sm) + Spess ] / 6

  22. Expected value [4700 + (4 * 6000) + 10000] / 6 = 6450 A review of historical data indicates 1. Average productivity is = 500 LOC/month 2. Average labor cost is = Rs.6000/month Then cost for LOC can be estimated as Cost/LOC = (6000/500) = Rs12/LOC By considering, total estimated LOC as = 32620 Total estimated project cost = (32620 * 12) = Rs. 3,91,440/- Total estimated project effort = (32620 / 500) = 65 Person-months = 2 months 5 days (for 1 Person)

More Related Content