There are three options to calculate project percentage completion.
Based on bug count - The project completion percentage is calculated based on the closed bugs.
Based on weightage field - Users can customize the weightage for each bug. The project completion percentage is calculated based on the weightage value given in weightage field (numeric field or task duration or work hours).