1. Trang chủ
  2. » Công Nghệ Thông Tin

Bài giảng Phát triển, vận hành, bảo trì phần mềm: Chương 7 - ThS. Nguyễn Thị Thanh Trúc

14 54 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 14
Dung lượng 202,37 KB

Nội dung

Bài giảng Phát triển, vận hành, bảo trì phần mềm - Chương 7: Software measurement cung cấp cho người học các kiến thức về models, basic concepts, core metrics, metrics characteristics, frequently used metrics, measurement plan,... Mời các bạn cùng tham khảo.

Software Measurement   Measuring software indicators: metrics and methods Jalote-2002, Ali Arya, 2003 CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide Models Empirical Numerical Measurement Model Understanding/ Refinement Results (Empirical) Ali Arya, 2003 Interpretation CuuDuongThanCong.com Model Statistical/Math Analysis Results (Numerical) Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide Basic Concepts    Project planning and tracking need measurement Purpose = control and visibility Metrics (Measures), quantified process attributes •  Plan based on organizational model and goals •  e.g size in LOC e.g using GQM method Continuous and including phase information • Ali Arya, 2003 e.g defect tracking CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide Core Metrics  Management • • •  Work and progress Budget and cost Staffing and team dynamics Quality • • • • Ali Arya, 2003 Change and stability Modularity Rework MTBF CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide Metrics Characteristics        Meaningful to all people involved Quantifiable correlation between process and business Objective and clear Displaying trends (extrapolation) Natural by-product of process Automation supported Correlated Ali Arya, 2003 CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide Frequently-Used Metrics  Size • • • •  SLOC, FP, … Consider re-use and modification Separate definitions for different languages/system Compared to estimation (trend) Personnel • • • Ali Arya, 2003 Number of staff Specify experienced, support, … Lower in “total” estimates results in increase in “experienced” CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide Frequently-Used Metrics  Volatility • • •  Computer Resource Utilization •  Number of changes in requirements and defects Includes developers’ understanding of requirements Change in requirements has to decrease and eventually freeze CPU, memory, IO, … Schedule • • • Ali Arya, 2003 Months/weeks of work Usual to fall behind initially Relate to actual cost CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide GQM Method    Goal-Question-Metric Goal-oriented measurement Based on Business and process model • • Business model provides the goals Process model provides the details and sub-goals Goals Q1, Q2 M1 , M , M3 Ali Arya, 2003 CuuDuongThanCong.com Q3, Q4 M4 , M5 , M6 Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide GQM Steps  1- Define business goals • • •  High quality product Customer satisfaction Service improvement 2- Provide the process model (made of entities) • • • • Ali Arya, 2003 Inputs (resources, policies, …) Outputs (software, documents, …) Activities (analysis, design, …) Artefacts (knowledge, experience, meeting notes, …) CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide GQM Steps  3- Prepare general questions about entities (for each high-level goal) • • •  People: Trained? (related to “quality” goal) Reports: Signed off? Code: Size? 4- Group the related questions into “groups” (based on entity) and then “sub-goals” (based on objective) • • • Ali Arya, 2003 Group: Documents Sub-goal: Improved requirement analysis Question: Requirement document ready and clear for design? CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide 10 GQM Steps  5- Find the entities under question and all the related attributes • •   6- Formalized measurement goals 7- Quantifiable questions •  Entity: review meetings Attributes: # defects found Metrics 8- Data elements Ali Arya, 2003 CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide 11 Measurement Plan Report Metrics Procedures Collect Goal Data Media Validate Ali Arya, 2003 CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide 12 Measurement Plan      a name and definition for each unique metric; the classification for each metric; an association point in product development that identifies when and how data is to be collected; definitions of the data collection forms; the procedures for data reporting, collection,and validation; Ali Arya, 2003 CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide 13 Analysis Plan   The last deliverable of MP is “analysis plan” AP describes how to analyze measured data into presentation formats like charts fault density for the reuse categories bars are faults/KSLOC Ali Arya, 2003 CuuDuongThanCong.com Software Project Management, Measurementhttps://fb.com/tailieudientucntt Slide 14 ... Method    Goal-Question-Metric Goal-oriented measurement Based on Business and process model • • Business model provides the goals Process model provides the details and sub-goals Goals Q1,... Measurementhttps://fb.com/tailieudientucntt Slide 10 GQM Steps  5- Find the entities under question and all the related attributes • •   6- Formalized measurement goals 7- Quantifiable questions •  Entity: review... Slide GQM Steps  3- Prepare general questions about entities (for each high-level goal) • • •  People: Trained? (related to “quality” goal) Reports: Signed off? Code: Size? 4- Group the related

Ngày đăng: 11/01/2020, 20:33

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN