Code Reuse Labor Savings Calculator for Software Development

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The popularization rate of code reuse in software development is low due to a lack of awareness among individuals and enterprises about its benefits, leading to inefficient software development processes.

Innovation Solution

A method and apparatus for determining the labor savings potential of code reuse by calculating the first code line quantity per capita submitted within a target unit time and identifying a reuse code base used in a dependency manner, then determining reference information based on this data and a preset reuse proportion to indicate the amount of labor that can be saved through code reuse within a target duration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If code reuse is not adopted due to lack of awareness, then software development processes remain inefficient with repeated workload, but implementing code reuse requires changing developer behavior and understanding

Engineering Contradiction:
Improvesoftware development efficiencyVSAvoiddeveloper awareness and adoption
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system provides visual feedback by displaying labor saving amounts and code reuse statistics to developers. The processing device calculates and presents information about how much work can be saved through code reuse, creating a feedback loop that motivates developers to adopt code reuse practices by showing them the tangible benefits.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The processing device acts as an intermediary between the codebase and developers. It analyzes code submission data, calculates labor savings, and presents this information in a comprehensible format, bridging the gap between raw code data and developer understanding of code reuse benefits.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of time

If code reuse is not implemented, then repeated workload continues to consume developer time, but quantifying and visualizing labor savings requires additional processing systems

Engineering Contradiction:
Improverepeated workload timeVSAvoidprocessing system complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The processing device performs multiple functions: it receives code submission data, identifies reused code, calculates labor savings, determines code reuse rates, and generates visual outputs. By consolidating these functions into a single multi-functional system, the patent avoids the need for multiple separate complex systems while still achieving comprehensive code reuse analysis.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system automatically processes code submission data and generates labor savings information without requiring manual intervention. The processing device self-services by autonomously analyzing code data, calculating metrics, and presenting results, reducing the need for additional manual processing systems.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11520567B2Code reuse processing method, apparatus and electronic device
Publication Date: 2022.12.06 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11520567B2 patent drawing
  • US11520567B2 patent drawing
  • US11520567B2 patent drawing

AI summary

A code reuse processing method, apparatus and electronic device related to a software development technology in the technical field of computers. The method includes: receiving a target request sent by a client of a target unit; in response to the target request, determining a first code line quantity per capita submitted within a target unit time and a reuse code base of the target unit used by a first code base in a dependency manner, the first code base is a code base except the reuse code base; determining reference information configured to indicate an amount of labor capable of being saved for the target unit when the target unit performs a code reuse within a target duration, the reference information based on the first code line quantity, a code line quantity of the reuse code base and a preset reuse proportion; and outputting the reference information to the client.