To help us decide, we draw a diagram such as that in Figure 10-2. We want to compare
the risk impact of doing regression testing with not doing it. Thus, the upper part of the
diagram shows the risks in doing regression testing, and the lower part the risks of not
doing regression testing. In each of the two cases, one of three things can happen: We find
a critical fault, there is a critical fault but we miss finding it, or there are no critical faults
to be found. For each possibility, we first calculate the probability of an unwanted
outcome, P(UO). Then, we associate a loss with that unwanted outcome, L(UO). Thus, in
our example, if we do regression testing and miss a critical fault lurking in the system (a
probability of 0.05), the loss could be $30 million. Multiplying the two, we find the risk
exposure for that strategy to be $1.5 million. As you can see from the calculations in the
figure, doing the regression testing is safer than skipping it.
เพื่อช่วยให้เราตัดสินใจที่เราวาดแผนภาพเช่นในรูปที่ 10-2
เราต้องการที่จะเปรียบเทียบผลกระทบต่อความเสี่ยงในการดำเนินการทดสอบการถดถอยที่มีไม่ได้ทำมัน ดังนั้นส่วนบนของแผนภาพแสดงความเสี่ยงในการทำการทดสอบการถดถอยและส่วนล่างความเสี่ยงของการไม่ทำการทดสอบการถดถอย ในแต่ละกรณีที่สองซึ่งเป็นหนึ่งในสามสิ่งที่สามารถเกิดขึ้น: เราพบความผิดพลาดที่สำคัญมีความผิดพลาดที่สำคัญแต่เราพบว่ามันพลาดหรือไม่มีความผิดพลาดที่สำคัญที่จะพบ สำหรับความเป็นไปได้ในแต่ละครั้งแรกที่เราคำนวณความน่าจะเป็นที่ไม่พึงประสงค์ผล, P (UO) จากนั้นเราจะเชื่อมโยงกับการสูญเสียว่าผลที่ไม่พึงประสงค์ L (UO) ดังนั้นในตัวอย่างของเราถ้าเราทำการทดสอบการถดถอยและความผิดพลาดที่สำคัญที่ซุ่มซ่อนอยู่ในระบบ(กน่าจะเป็นของ0.05), การสูญเสียที่อาจจะ $ 30,000,000 คูณสองเราจะพบความเสี่ยงแสงสำหรับกลยุทธ์ที่จะเป็น $ 1,500,000 ในขณะที่คุณสามารถดูได้จากการคำนวณในการที่ตัวเลขการทำทดสอบการถดถอยเป็นที่ปลอดภัยกว่าการกระโดดข้ามมัน
การแปล กรุณารอสักครู่..
