When design costs of manufactured items are amortized over a large production run the design component is a relatively small portion of the total cost. Once production is underway quality control and testing is done at each stage: including everything from the source inspection of components to final testing before delivery. All or part of the defective product components will be recycled back into the production process for rework or correction if errors or malfunctions are found.Assembly line productivity is determined by taking together the costs of materials, rework, discarded components and the cost of quality control and testing.
Quality assurance costs and manufacturing costs must be traded off: too little QA there will lead to more defects and rejections that will raise net costs; conversely, inspection costs will be too high if it is intended that all errors be caught as they occur. For a given quality objective a manufacturing process is designed to establish testing and quality processes that minimize net costs. Where failures are life threatening QA costs can be as high as 80%. They can be as low as 2% for manufactured goods.