Inactive Code Removal for Efficient Business Automation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Business automation systems face challenges in generating efficient code due to references to inactive components in business assets, leading to a larger code base that includes non-executable components, which can increase complexity and resource usage during runtime.

Innovation Solution

A method and system that identify and remove inactive components from files using notation-specific elimination processes, allowing only active components to be referenced in code generation, thereby reducing the code base and ensuring only executable components are included.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all components are included in code generation, then completeness of business logic is maintained, but code base size and complexity increase

Engineering Contradiction:
Improvecompleteness of business logicVSAvoidcode base complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and removes inactive components from the code base before code generation. By identifying components that will not be executed at runtime and eliminating them from the generated code, the system reduces code base complexity while maintaining only the necessary active business logic, thus resolving the contradiction between completeness and complexity.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If inactive components are included in code, then all referenced components are preserved, but resource usage and execution time increase

Engineering Contradiction:
Improvecomponent reference preservationVSAvoidruntime resource usage
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent performs preliminary analysis before code generation to identify inactive components. By pre-determining which components will not be executed at runtime and removing them in advance, the system ensures that only active components are included in the generated code, thereby reducing runtime resource usage while preserving necessary component references.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If code includes all components, then functionality is comprehensive, but code generation efficiency decreases

Engineering Contradiction:
Improvefunctionality coverageVSAvoidcode generation efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent extracts inactive components from the code base before code generation. By removing components that will not be executed at runtime, the system generates more efficient code that maintains comprehensive functionality for active components only, thus improving code generation efficiency while preserving necessary functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12164914B2Removing inactive code to facilitate code generation
Publication Date: 2024.12.10 RED HAT LLC
  • US12164914B2 patent drawing
  • US12164914B2 patent drawing
  • US12164914B2 patent drawing

AI summary

Removing inactive components to facilitate code generation. A first file that includes a first group of components in a first notation syntax and a second file that includes a second group of components in a second notation syntax is received. A first set of inactive components of the first group of components is identified. A second set of inactive components of the second group of components is identified. The components of the first group of components and the second group of components that are not marked as inactive components are active components. Code to be executed based on the active components is generated.