Skip to content

Time tracking

Running IT projects is packed with analytical processes, and a developer's job is no longer just producing code. Developers get pulled into many activities they could happily do without, such as the famous meetings that could have been an email. Permanently hooked up to drips pumping mostly needless notifications, they fight for the time when "you can finally write some code". Their time, or rather how it is used, is supposed to be looked after by yet another tool - the time tracker.

Distractions

Every "interruption" at work is a real problem for a developer. A mental health problem, you could say. Notifications in Teams, meetings in the calendar or a message from family or a friend - perfectly normal things. But none of them, however useful and convenient, helps you focus on the problem in your task.

Working with your nose in the monitor does not help either, this time your physical health. So you have to consciously take breaks of a few minutes, to catch your breath, rest your eyes and so on.

A grumpy cat in front of a laptop buried in notifications
A typical developer

The time tracker - another distraction

Loved by everyone. Right after opening a task you eagerly look for the "Play" button, because today, in an 8-hour working day, you only have 8 hours left to log...

Experience shows that management is very keen on time tracking. Interestingly, on the other side of the "barricade" it is the exact opposite. Even more interestingly, the former practically never use the tool, they only look at the results 😉

The time tracker - the idea

The point of time tracking is usually... well, control. It is usually tied to the task's estimate, a more or less abstract amount of time planned for doing it. That allows two assessments:

  1. Whether the employee is doing their job,
  2. Whether the time spent on the task matches the time planned.

At first glance, both assessments sound negative for the employee, here the developer. They can (very quickly) lead to these conclusions:

  1. The developer did not spend as much time on the task as they should have,
  2. The developer misjudged (misplanned) how long the task would take.

From the manager's side it looks like the employee is, to put it colloquially, "slacking off", and their skills are not top-notch, since they cannot judge the time a task needs. In a relationship between a non-technical manager and an engineer, the former can feel constantly cheated.

The developer, in turn, can very quickly conclude that even the simplest task is a potential problem before it has even started. First, you have to give an assessment - an estimate. That is not so easy. Second, in the middle of the task you will hear "so how much longer" - another decision to make. Third, when you go over the estimate, you have to explain in plain soldier's words where the "slip" came from. The key problem is not understanding what an estimate is not - and it is not anything precise.

The time tracker - the first clash

Agile project management forces you to set estimates - you need some way to plan the work. Then you want to monitor whether you still fit within the plan. For that you harness a timer on the tasks. That is natural; nobody wants to end a sprint/week/month with half the tasks unfinished.

In short, the start of the next period in a project looks like this:

  1. We decide how much time each task will take (our cost),
  2. We decide how much time the employees can give (our budget).

And now we either start cutting costs or try to grow the budget. Needless to say, handling either option badly will show sooner or later.

Cutting costs

How can you shorten the time a task takes? By reducing its scope. If you do it at the planning stage, there are two options:

  1. The client drops part of the requirements - the risk of earning less or of dissatisfaction,
  2. We take on technical debt - guaranteed problems in the future.

The company can talk the first option through with the client (e.g. move part of the task to the next period), take it on its own shoulders or have it priced into the risk. Something to work out. Unfortunately, the second option has a direct, negative effect on the employees. The cost of maintaining the project grows - the mounting technical debt starts, for example, to make tasks take longer. That means even an experienced employee may struggle to plan task times. For a less experienced one, the project is a black box. Interestingly, the second option is chosen far more often.

Growing the budget

Our budget is "produced" by the employees. How do you grow it? You can hire more people or make the current ones more productive. The first option is not great, because there is a high risk the extra work will soon run out (yes, that is a real concern), and hiring is an expensive process anyway. The second option looks ideal. Interestingly, we usually start with a very optimistic and very wrong estimate of what our budget can do:

  1. An employee spends 8 hours on tasks in an 8-hour working day,
  2. An employee is always available.

Experience shows that an employee (not only in IT) can work on specific tasks for about 6 hours in a working day. There are many reasons, among them mental work on complex problems (our brain has its limits, it turns out 😉 ). So assuming you can hand out 8 hours of tasks per employee per day is wrong (or dangerously optimistic). It is also a mistake to assume the remaining 2 hours will go to "other productive tasks".

The effects

Cutting costs badly leads to lower quality work. A developer who feels someone "breathing down their neck" will rush. Make more mistakes. Miss bugs during code review. Solve problems superficially, or even be asked to. We will create technical debt on purpose.

Assuming more productivity than "nature" allows (which tends towards 6 hours of effective work) will make you go over estimates all the time. You can also expect the quality of the code to drop.

The time tracker - a healthy approach

Dear manager. Loosen up. People are not machines, and even though they work 8 hours, it is safer and more convenient to assume the proven numbers from the start:

  • 6 hours of real work on tasks a day (at most),
  • 30% added to every estimate (for the unexpected),
  • Short and clear tasks

The 6-hour working day

Many companies are introducing 6-hour working days because it brings real results. Less stress among employees, better productivity than with an 8-hour day, and often lower costs for the employer.

The same follows from analysing the time logs of IT teams - on average, the time spent strictly on tasks is 4 to 6 hours. After that, the brain needs a break, more and more often and for longer and longer. Productivity drops to a critical level.

A 30% estimate buffer

A buffer, as with budgets, is a safety mechanism. It gives slack both to the developer and to the picture of the whole project. Like the shorter working day, it may seem excessive, but statistics step in again. Less stress from time pressure usually lets you finish below the estimate. Besides getting the work done within the planned time frame, you create a real sense of flow and progress in the project. That is very good for the team and for relations with clients.

Short and clear tasks

Finally, one of the hardest things. Splitting big topics into short tasks that are easy to understand and quick to do.

Easy to understand - the description should include all the information needed to do the task, so the developer does not need to ask anyone for details (that is, wait for other people's decisions).

Quick to do - a task should take not several days but several hours. The optimal task can be done in under 6 hours. The point is to keep the feeling that the work is moving forward. It is simply good to close at least one task a day and "move on to a new topic". Again, it works well for the developer, the team and the clients.

Summary

As I mentioned, the nature of the project, accumulated technical debt or the assumptions of a task do not always allow splitting it (other formalities, such as deploying code to the server or testing just parts of it, may seem pointless at first). Most projects need a radical change of approach to benefit from an agile way of working based on estimates and time tracking.

How to turn this approach into estimates for specific tasks is covered in Estimating tasks, and how to write tasks that can be closed quickly in Writing tasks.

Advertisement