remove unused function detected, add debt badge