How many people does this codebase rest on?
The bus factor is the number of people a project could lose before nobody left understands it. Paste a public repository and Borehole reads it from the history: how many people wrote half the recent work, and how that changed year by year. Free, no sign-in.
Check a repository
What the bus factor is
Lose the people who hold a project together and it stalls: nobody left knows why the code is the way it is. The bus factor, also called the truck factor, counts how few people that is. A bus factor of 1 means one person wrote most of the work. In a two-person startup that is the risk a buyer most needs to know about. In a large open-source project with years of history it is a question about one person's role rather than a fragile team.
How Borehole measures it
- It counts the fewest authors who wrote half the non-merge commits in the last 24 months, the team a buyer inherits. All history is shown beside it.
- Bots and merge commits are left out. When one account applies everyone's patches, those changes count as that account's: every change passes through it.
- Year by year, newest first, the same count shows whether a team narrowed to one person, which is a different risk from one that always was.
- A history too short to judge says so, rather than giving a number.
What it cannot tell you
Commits show who wrote the code, not who understands it now, who is employed, or who comes with a deal. Knowledge written down in documents lowers the risk, and a person who reviews everything without committing raises it; neither shows in a count. Ask the team.
The answer is in bands and counts. It never names a contributor or gives a person's exact share. It shows nothing about people, and says why, for a repository that belongs to a person rather than an organisation, one where a single author wrote nearly all the commits, and one where a contributor has objected: a finding there would be about someone the address or the history all but names.
Across the library, and beyond the count
How much rests on one person across Borehole's library, counted the same way. A full survey reads key-person risk alongside six other dimensions, and a deal that needs a person can hire us.