
193Mining Data from Software Repositories
5.11.5.2 Defect Count and Metrics Report
This report provides the total number of defects xed source le-wise (i.e., total number of
times a source le was modied to x defects), along with total LOC changes, with CKJM
and some additional metrics data. The metrics studied and incorporated are as follows
(McCabe 1976; Chidamber and Kemerer 1994; Henderson 1996; Martin 2002):
Change logs and source
code for Git-based
software system
Retrieve LOC
changes class-wise
for every change
Processing to
obtain defect
logs
Get defect-
description,
if any
Obtain LOC
changes for
each defect
class-wise
Get defect/bug
count for each ...