Source Code Risk Analysis via Multi-Source Data Integration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for identifying high-risk areas in source code rely solely on code coverage data, which is insufficient for making accurate judgments, as they do not consider additional critical factors such as code commit information and source code file type information.
Innovation Solution
A system and method that integrates code coverage, source code analysis, and software configuration management to collect and transform data into a comprehensive report, including code coverage, source code violations, and commit information, to identify and analyze risks associated with source code.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If only code coverage data is used to identify high-risk areas, then the analysis process is simple, but the accuracy of risk assessment is insufficient
Solution Approach 1:
The patent merges multiple data sources including code coverage information, source code violation information, and software configuration management information into a unified risk analysis system. This combination allows the system to achieve more accurate risk assessment by considering multiple factors simultaneously rather than relying on code coverage data alone.
Solution Approach 2:
The risk analysis system is designed to handle multiple types of input data and perform multiple analysis functions. It can process code coverage data, analyze source code violations, retrieve configuration management information, and generate comprehensive risk reports, making it a multi-functional system that addresses various aspects of code quality assessment.
2Reliability
If multiple data sources are integrated for risk analysis, then the accuracy of risk identification improves, but the complexity of data processing increases
Solution Approach 1:
The patent introduces a risk analysis system that acts as an intermediary between multiple data sources (code coverage tools, source code analyzers, software configuration management systems) and the final risk assessment output. This intermediary system standardizes and integrates data from different sources, managing the complexity of data integration while improving the reliability of risk identification.
Solution Approach 2:
The system segments the risk analysis process into distinct modules: code coverage analysis, source code violation analysis, and software configuration management analysis. Each module processes specific types of data independently, and their results are then integrated to form the overall risk assessment, making the complex data processing more manageable and organized.
3Measurement precision
If comprehensive attributes are collected and published for analysis, then the depth of risk analysis increases, but the time and resources required for processing increase
Solution Approach 1:
The system performs preliminary actions by collecting and organizing data from multiple sources in advance of the actual risk analysis. Code coverage data, source code information, and configuration management data are gathered and prepared beforehand, allowing the risk analysis to proceed more efficiently when needed without requiring extensive real-time data collection.
Data Source
AI summary
The various embodiments herein provide a system and method for identifying, analyzing and integrating the risks associated with a source code. The system comprises a code coverage module for collecting and transforming the code coverage information by a file name, a source code analyzer module for collecting and transforming source code violations information by the file name, a software configuration management module for collecting and transforming the source code commit information by the file name, a risk analyzer processing module for receiving and relating the collected code coverage information, source code violations information and source code commit information with each other by the file name and a report generation module for publishing the processed result of the collected code coverage information, source code violations information and source code commit information in a report. The report is reviewed for identifying, analyzing and integrating risks associated with source code.


