English 中文(简体)
Measurement and Models
  • 时间:2024-03-20 05:11:09

Measurement and Models


Previous Page Next Page  

模型有助于解释现实世界实体的数字要素的行为并衡量它们。 为了帮助衡量进程,制图模式还应辅之以制图领域的模式。 模式还应具体说明这些实体与属性的关系,以及这些特性如何相关。

测量分为两类:

    Direct measurement

    Indirect measurement

Direct Measurement

这些测量方法可以在没有其他任何实体或属性的情况下加以衡量。

以下直接措施通常用于软件工程。

    Length of source code by LOC

    Duration of testing purpose by elapsed time

    Number of defects discovered during the testing process by counting defects

    The time a programmer spends on a program

Indirect Measurement

这些测量方法可以按任何其他实体或属性来衡量。

以下间接措施通常用于软件工程。

小型方案家:生产= frac{LOC:生产}{Person: 月:of :effort}$

$small Module:Defect:Density = frac{Number :of:defects}{Module :size}$

(千美元) Defect:Detection:Efficiency = frac{Number :of:defects:detected}{Total : number :of:defects}$

$small Requirement:Stabipty = frac{Number :of:initial:requirements}{Total :number :of:requirements}$

$small Test:Effectiveness:Ratio = frac{Number :of:items:covered}{Total :number :of :items}$

$small System:spoilage = frac{Effort :spent:for:fixing:faults}{Total :project :effort}$

Measurement for Prediction

为了向该项目分配适当资源,我们需要预测项目制定工作、时间和费用。 预测的衡量总是需要一个数学模型,把预测的属性与我们现在可以衡量的其他特性联系起来。 因此,预测系统包括一个数学模型和一套预测程序,用以确定未知参数和解释结果。

Advertisements