# US 2021/0406005 A1 · Computer-implemented methods and systems for measuring, estimating, and managing economic outcomes and technical debt in software systems and projects

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0406005 A1
- Document ID: US20210406005A1
- Status: Published application
- Kind: A1
- Application number: 17/473,405
- Filed: 2021-09-13
- Published: 2021-12-30
- Earliest claimed: 2016-02-17
- Assignees: Silverthread, Inc.
- Applicants: Silverthread, Inc.
- Inventors: Daniel J. Sturtevant; Carliss Baldwin; Alan MacCormack; Sunny Ahn; Sean Gilliland
- Web page: https://patentgrep.com/patent/US20210406005A1

## CPC

- G06F 8/77: Software metrics
- G06Q 10/06393: {Score-carding, benchmarking or key performance indicator [KPI] analysis}
- G06Q 40/12: Accounting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

An interrelated set of tools and methods is disclosed for: (1) measuring the relationship between software source code attributes (such as code quality, design quality, test quality, and complexity metrics) and software economics outcome metrics (such as maintainability, agility, and cost) experienced by development and maintenance organizations, (2) using this information to project or estimate the level of technical debt in a software codebase, (3) using this information to estimate the financial value of efforts focused on improving the codebase (such as rewriting or refactoring), and (4) using this information to help manage a software development effort over its lifetime so as to improve software economics, business outcomes, and technical debt while doing so.

## Claims

### Claim 1

A computer-implemented method of analyzing a computer software codebase, comprising the steps performed by one or more computer systems of:
(a) storing one or more custom fitted statistical models in a data store, each custom fitted statistical model calibrated for a different single codebase and created by applying statistical regression techniques to code quality metrics, design quality metrics, and/or test quality metrics independent variables and software economic outcome dependent variables for a codebase;
(b) retrieving said one or more custom fitted statistical models from the data store and using said one or more custom fitted statistical models to generate a standard fitted statistical model for another codebase, and storing the standard fitted statistical model in a data store; and
(c) retrieving said standard fitted statistical model from the data store and using said standard fitted statistical model to make defect density or developer productivity projections for said another codebase, and outputting the defect density or developer productivity projections.

### Claim 2 (depends on 1)

The method of claim 1, wherein the defect density or developer productivity projections include one or more of: a number of expected defects in the codebase, a probability that a defect will be present in a released product and corresponding expected cost thereof, productivity of a developer when fixing bugs, and productivity of a developer when creating new features in the codebase.

### Claim 3 (depends on 1)

The method of claim 1, further comprising improving accuracy of the standard fitted statistical model using a plurality of custom fitted statistical models.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the standard fitted statistical model includes using only custom fitted statistical models from the data store for codebases having similar independent variable attributes as said another codebase.

### Claim 5 (depends on 1)

The method of claim 1, further comprising using the standard fitted statistical model to produce projected software economic outcome projections for a plurality of codebases; and storing the projected software economic outcome projections in a data store for use as benchmarks in codebase analysis.

### Claim 6 (depends on 1)

The method of claim 1, further comprising generating benchmark data by applying the standard fitted statistical model on a plurality of codebases, comparing the defect density or developer productivity projections to the benchmark data, and graphically displaying comparisons of the defect density or developer productivity projections to the benchmark data.
