Weighted Defect Density for Opened Bugs - Enhancement and Janitors bug not included

Note: How do we calculate the data of "weighted defect density"? We define a weight for each severity. And the sum of these weights for all open bugs are the data we record in chart. The weight we use for each severity: Critical:10, Major:7, Normal:5, Minor:3, Enhancement:0, Janitors:0