What % of programming time do you spend debugging?

debugging

Solution

About 90% of my time is spent debugging or refactoring/rewriting code of my coworkers that never worked but still was commited to GIT as "working".

Might be explained by the bad morale in this (quite big) company as a result of poor management.

Managements opinion about my suggestions:

- Unit Tests: forbidden, take too much time.

- Development Environment: No spare server and working on live data is no problem, you just have to be careful.

- QA/Testing: Developers can test on their own, no need for a seperate tester.

- Object Oriented Programming: Too complex, new programmers won't be able to understand the code fast enough.

- Written Specs: Take too much time, it's easier to just tell the programmers to create what we need directly.

- Developer Training: Too expensive and programmers won't be able to work while in the training.

Problem

What % of programming time do you spend debugging? What do you think are acceptable percentages for certain programming mediums?

Original source