Calculate Technical Debt Incurred by a Java Project and estimate the amount of time and cost taken to repay the same.