Research Article

The Trustworthiness Measurement Model of Component Based on Defects

Algorithm 1

Calculation of component trustworthiness.
Input: for every , , .
Output:.
(1)Initialize:
(2)fordo
(3)
(4)end for
(5)fordo
(6)
(7)end for
(8)fordo
(9)  fordo
(10)   
(11)  end for
(12)end for
(13)fordo
(14)  fordo
(15)   ifthen
(16)    
(17)   end if
(18)  end for
(19)end for
(20)fordo
(21)  fordo
(22)   
(23)  end for
(24)
(25)end for
(26)fordo
(27)
(28)end for
(29)return