Using API Is there some KPI we can measure about "Changeability" of coding? Or how much time is needed for a certain kind of change?

Using API Is there some KPI we can measure about “Changeability” of coding? Or how much time is needed for a certain kind of change? If so request you to kindly share your inputs