Contact Us
Thu, Apr, 2022

Estimating a Software Project

Estimating a Software Project

The goal of this post is to help current and future TechVision customers understand how software projects are estimated.

Intro
Based on the type of planning done, software projects roughly fall into three categories:

  • Short- to mid-term fixed price projects;
  • Long-term fixed price projects (that usually follow the traditional Waterfall methodology);
  • Open-ended projects with hourly rates for engineering staff (projects in which we estimate “time and material”).

This post will be most relevant to those who have the first type of projects.

Estimating a Software Project

Prerequisites

When asking for your project to be estimated, be ready to answer the following questions:

1. What real-world problem does your product solve?

The mistake some businesses make is that they talk about the product they want to build, but not about the problem it solves. For example, saying that you want “a medical portal for your city” is not very helpful, while saying that you want “a portal that helps people compare medical offices and find the best offering” is much better.

2. Who is the app for and where will it be deployed?

Where are the users geographically, and how many users are you planning to have? What browsers do they use? Where will the app be deployed (on a server or in the cloud)? These are important questions to answer, as the answers may affect the architecture and server-side setup of your application. 

3. Do you have UI sketches of the product?

In the ideal world, you would have a mockup of the product you want to build. There are many wireframing tools that can help you prepare one.

Why is this helpful? Seldom do non-techy people bother to read the specifications. It’s much easier for them to look at the screens of their future app when discussing the features. Having the wireframes ensures everyone is on the same page and makes the estimate more accurate.

4. What are the functional requirements?

Functional requirements have to do with your product features, business goals, and target market. Functional requirements may come in the form of:

  • Vision and Scope.
  • User Stories or Use Cases (when the project is still being estimated, these are very high-level).
  • UI sketches (we discussed them in the previous paragraph; when available, UI sketches also provide information about the requirements).

The more complete your requirements are, the more accurate the project estimate will be. It helps if you have a business analyst who can go over the requirements with you on one end and with your software vendor on the other.

5. What are the non-functional requirements?

Non-functional requirements are project specifics that are not directly linked to product features. These include security, reliability (fault tolerance), performance, multi-language support, scalability, maintainability, and other requirements to the system that could increase the final estimate.

The choice of platform largely depends on them. For instance, Java allows you to build applications that are secure and scalable. Scala, in turn, is a great choice for multithreaded programming.

The code lines disparity that exists between different languages explains why your estimate may vary dramatically depending on the technology used. Newer-generation programming languages tend to take fewer lines of code. For example, Assembler and C are 2nd-generation languages. There’s also C++ and Java (3rd gen), .Net and JavaScript (4th gen). If you turn to a company that works with C or C++, you may get an estimate that’s twice the quote from a company that works with Java. 

The five prerequisites we just discussed are often described in a so-called Vision and Scope document, which is prepared by the Project Manager. So, if you have a PM who can put together this document for you, you’ll probably have answers to these questions.

 

Estimating the project

Now it’s time for a vendor representative to look at the data you have provided: requirements, wireframes, project description, etc.

Like I said earlier, this person will first try to determine the risks – something atypical that requires further investigation, including non-functional requirements, integrations with third-party systems, and other tricky cases.

When the risks have been determined and the vendor is left with just the bare features to examine, they may take any of the following approaches:

Estimating from experience

Some projects are typical and straightforward (e.g. static-content websites or out-of-the-box system deployments), and it’s not hard to predict what it’ll take to deliver them. If that’s the case, the estimate will likely be quite accurate. Then sticking to the agreed plan is all it takes for the project to be completed on time.

Functional analysis

Functional analysis became popular in the 80’s when IBM analyzed a large corpus of software requirements that were mapped to product features. Each feature was assigned “functional points,” and the number of points it got indicated its complexity (e.g., a mediocre feature could get 3 points, while a tough-to-implement feature could get 6 points).

It was discovered that there’s a strong correlation between the number of functional points in a feature and the number of code lines used to implement it. There’s also statistics on how programming languages compare in terms of code length. Combining these data allows us to estimate how long it takes to implement a functional point on average in a given language.

Closely related to functional analysis is Work Breakdown Structure (WBS) analysis. In pre-sales, it’s common practice to prepare a WBS doc that is essentially a 2-level list of (1) system components, and (2) features included in those components.

A WBS document includes both functional and non-functional requirements. Each feature on the list is estimated (in hours) by each team role involved. The developer, the QA, the designer, and the business analyst each give their estimate independently, and a final estimate is prepared based on those individual votes.

If you’re curious about what a WBS doc looks like, here’s an example.

software-estimation

 

Reasons for inaccurate estimates

According to statistics, 50% of projects exceed the original estimate by 50%. This could be for different reasons.

The project is too large to be estimated accurately

Some projects take too long to be estimated correctly at the onset. For such projects, it’s important to revise your estimate from time to time.

Blind spots in the work scope

It may be the case that non-functional requirements were not considered, or that some risks have been overlooked. Also, some people have sloppy attitude towards preparing the requirements, which may lead to nagging details surfacing later in the project.

Poor expectations management

When you’re just starting out, it’s essential to set the priorities and determine which features must be completed before the deadline and which features can wait. Developers tend to be perfectionists. You may want them to ship an 80% working feature on time – even if it has minor bugs – but the developer wants to take their time and polish the feature. That’s when the management needs to choose whether to enforce deadlines and curb developer perfectionism, or not.

Poor project management

9 women 1 month baby meme

Those who are not well-familiar with the development process sometimes have a costly misconception about it. They believe that, if a project is said to take 2 man-months, you can slice and dice it in any way you want:

  • 2 people working for 1 month,
  • 1 person working for 2 months,
  • 4 people working for 0.5 months.

In practice, the ability to allocate resources in such arbitrary fashion is a myth – which is discussed at length in The Mythical Man-Month: Essays on Software Engineering, a book by Frederick Brooks.

The gist of Brooks’ writing is that “bringing more people to a late project only makes it later.” With each newly added team member, the amount of management and communication increases, as well. Another famous quote from this book is that “it takes 9 months to make a baby, no matter how many women are assigned to the task.”

“Scope creep”

When project scope is not fixed, and its features are not prioritized, it may be very tempting to add a little button here and an extra form there – especially in the beginning, when the deadline is far in the future. In such cases, the project manager must stick to the plan and prioritize features according to the agreed scope. It is a good idea to make an MVP (Minimum Viable Product) that implements core features as soon as possible, and only then start adding bells and whistles to the stable core.

To sum it up, the process of estimating a project may be presented as the following flowchart:

project-estimation workflow infographic

 

TL; DR (too long; didn’t read)

The key components of project estimation are:

  • Vision and Scope,
  • Work Breakdown Structure,
  • UI mockups,
  • Estimated man-hours, costs, and deadlines.

When done right, these artifacts give solid ground for further development planning and set correct expectations for both sides – the customer and the developer.

 

If you are interested in knowing more about us and our team, you can visit our website! We believe that our values reflect who we are and how we work.

We can help you pioneer your vision! Contact our team today and let’s start making your ideas into reality. What are you waiting for? Schedule a call today!

 

Pioneering Your Vision