Defect density is defined as number of bugs per function point. Instead of calculating defect density as defects per X sloc, it is better to calculate it at function point level since today’s applications use more than one programming language in application development. It is useful to track defect density at programing language level too, to help us identify the areas of improvement in those areas of coding and set standards and goals and track them.