A method for automatic detection of inconsistencies between java API program exceptions and document descriptions
A technology of program abnormality and automatic detection, applied in error detection/correction, software testing/debugging, instruments, etc., to achieve the effect of improving accuracy and software quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0031] refer to figure 1 Shown, the present invention provides a kind of Java API program exception and the description inconsistent automatic detection method of document, comprise following content:
[0032] (1) Core data structure
[0033] Based on the detection strategy of the present invention, we define a basic metadata structure for storing possible exceptions and related information in the code. Let's name it InfoBox. Each InfoBox needs to store exception type, exception trigger condition, involved parameters, and method information to which the exception belongs. The code analysis mentioned later in this article is based on such a metadata structure.
[0034] Since each InfoBox only records one exception-related information, for each API method, we may extract multiple InfoBox data, and these exception information should be exp...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


