Blog & Insights

What should you do about an application nobody on your team understands anymore?

Make sure you can recover it, hold back changes, give one person the time to learn it, and then decide whether to keep, modernize, replace or retire it.

Make sure you can recover it first: the code, the data and the access are in the company’s hands, and someone has restored it once. Then hold back changes, give one person the time to learn it properly, and decide what the application is worth to the business. An application like this is a risk mainly because nobody can fix it quickly when it breaks, and you can change that without replacing anything.

How an application gets to this point

Usually nobody did anything wrong. The application was built years ago by an employee, a contractor or a vendor, and it worked well enough that nobody had a reason to open it. The people who built it moved on. What is left is often one person who inherited it and understands the parts they have had to touch.

If one person on your team does still understand it, you have a different problem with a simpler fix, and How do you reduce key-person risk on a small IT team? covers it. The steps below are for the case where that person has already gone, or never existed.

1. Make sure you can recover it

This comes first because an application you cannot recover is the one failure you cannot work your way out of. Get the source code, the database and its backups, administrator access to the server, and every account, key, certificate and license the application depends on into the company’s hands. Then build the application from that source code to confirm it is the code that is running, and restore one backup to another machine and open it.

Check each item yourself, and do not accept “I think so” as an answer. If the only copy of the code is the compiled version on the server, nobody can safely change the application. If the application runs on a physical server in a closet, take an image of it. An account that belongs to a person who has left should be moved to the company.

If any of these is missing, fixing that is the whole job for now.

2. Find the people who still know something

Knowledge about an old application is usually scattered among several people and places.

The person who built it may take a call, and paying for a day of their time is usually money well spent.

The people who use it every day know what it does better than anyone in IT. They know which screen is slow at month end and which report they do not trust. Ask them what they work around.

Old tickets, email threads and the history in the code repository fill in much of the rest. Have one person gather all of it in one place, so that it is found once.

3. Hold back changes until someone understands it

Every change to an application nobody understands is a guess. Until someone can explain how a part of it works, limit changes to that part to what is urgent: a security patch, or a fix for something that stops the business.

Tell the business why, and keep the list of what people asked for, because it is evidence for the decision in step 6.

4. Give one person the time to learn it

An application does not get understood in the gaps between other work. Name a person, give them hours each week, and give them a goal: they can build it, release it, restore it, and explain to someone else how the main parts fit together.

The quickest way to learn an application is to do small, safe jobs on it. Set it up on a fresh machine, trace one transaction from the screen to the database, then fix a minor bug and release the fix. Each job turns up something that was never written down, and each of those goes into the notes.

Then name a second person and have the first one teach them. Without that, you have gone from nobody to one, and you are back here when that person leaves.

If nobody on the team has the hours, or nobody works in that technology, this is a reasonable piece of work to give an outside team, provided the code, the notes and the access stay in your accounts.

5. Add the protection the application never had

Old applications often run with no monitoring, no test environment and no automated tests. Add them in that order.

Monitoring comes first, so that IT hears about a failure before the users call. A test environment comes next, so that a change can be tried somewhere other than production. Tests come last and grow slowly: each time someone fixes a bug, they add a test that would have caught it.

Source control and an automated build belong here too, if the application has neither. When we take over code someone else wrote, getting it under source control and continuous integration comes before we extend anything.

6. Decide what the application is worth

Once someone can describe what the application does and what state it is in, you can make a decision you could not make before.

  • Keep it as it is, with a named owner, a second person and the protection from step 5. For a stable application the business rarely asks to change, this is often the right answer.
  • Modernize it. Keep what works and rework what holds it back, such as an unsupported platform or a part nobody dares to touch.
  • Replace it, with a product or with something built for the purpose, when the business has moved past what it can do.
  • Retire it, when another system already does the job.

Our usual advice is to modernize: a rewrite makes sense when the data model is broken or the platform is truly dead. Legacy System Modernization: The Complete Guide for Mid-Market Operators goes through how to choose. If you want the read done by someone independent, What Is a Software Audit, and When Do You Need One? describes what that examines.

Mistakes that leave the risk in place

The first is to wait. An application that has run untouched for five years looks safe, and the day it fails is the worst day to start learning it.

The other is to treat a document as the finish line. A binder that nobody has used proves little. The test is that two people can restore the application and release a change to it.

Common questions

Should we just replace it? Not until someone understands what it does. An old application holds business rules that are written down nowhere else, and a replacement specified from memory leaves some of them out. Once you know what it does, replacing it may well be the right decision.

The application is stable. Is this worth the effort? The first step is, for any application the business depends on, because you need to be able to recover it. How far you go after that depends on how often the application has to change and what a week without it would cost.

What if we cannot find the source code? Then you can run the application and back it up, and you cannot safely change it. Protect the server and the data, ask the people who built it whether a copy exists, and start planning its replacement. Code can sometimes be recovered from the compiled application, and the result is hard to work with.

If nobody on your team has the time to read the application, a System Evaluation is an independent read of it for a fixed fee, with written findings and a prioritized plan.

Related service: Legacy System Modernization

More like this, in your inbox. Subscribe for our latest thinking, resources, and events.

Get started

Want results like these?