Deep learning-based java program internal annotation generation method and system

    公开(公告)号:US12106095B2

    公开(公告)日:2024-10-01

    申请号:US18554899

    申请日:2021-04-26

    IPC分类号: G06F8/73 G06F8/75

    CPC分类号: G06F8/73 G06F8/75

    摘要: A deep learning-based Java program internal annotation generation method and system is provided. The method includes acquiring items with a Stars number ranked in the top, and extracting corresponding internal annotations and method statement lists; obtaining an pair; selecting an annotation in a Verb-dobj form; obtaining a code context associated with a target code segment; preprocessing the annotation, the target code, and the context to obtain a triplet dataset; randomly dividing the constructed dataset into a training set, a validation set, and a test set, and constructing an encoder-decoder network at the same time; enabling the training set in division to be used for model training, performing evaluation on the validation set to obtain a model with the best effect on the validation set as a target model; and predicting data in the test set with the obtained target model to generate a predicted annotation.

    Documentation enforcement during compilation

    公开(公告)号:US12061901B2

    公开(公告)日:2024-08-13

    申请号:US18123689

    申请日:2023-03-20

    IPC分类号: G06F8/71 G06F8/41 G06F8/73

    CPC分类号: G06F8/73 G06F8/427 G06F8/71

    摘要: Disclosed are approaches for enforcing requirements that documentation be up to date. In response to initiation of a build process for an application, a source-code file associated with the application is evaluated to determine an identifier and a location for a corresponding documentation file. A determination can be made regarding whether the documentation file exists at the location. Another determination can be made regarding whether each function specified in the source-code file has a corresponding entry in the documentation file. The build process can be halted in response to determining that at least one function specified in the source-code file fails to have the corresponding entry in the documentation file. If the build process is halted, a message can be displayed on the computing device, the message identifying the at least one function specified in the source-code file that fails to have the corresponding entry in the documentation file.

    ANNOTATION AWARE EFFICIENT APPLICATION BUILD MANAGEMENT

    公开(公告)号:US20240256236A1

    公开(公告)日:2024-08-01

    申请号:US18162810

    申请日:2023-02-01

    IPC分类号: G06F8/41 G06F8/65 G06F8/73

    CPC分类号: G06F8/443 G06F8/65 G06F8/73

    摘要: Techniques are disclosed for annotation-aware efficient application build management. For example, a system can include at least one processing device including a processor coupled to a memory, the at least one processing device being configured to perform the following steps: identifying a list of annotation processor files from a plurality of source code files to generate an annotation processor list; triggering annotation processing using one or more annotation processor files in the annotation processor list, while deferring compilation of remaining source code files in the plurality of source code files; and recompiling incrementally any output from the annotation processing and any of the remaining source code files that were updated from a previous compilation without triggering a full recompilation of the plurality of source code files.

    Automatic generation of documentation using coding patterns

    公开(公告)号:US12050909B2

    公开(公告)日:2024-07-30

    申请号:US17968879

    申请日:2022-10-19

    摘要: A method for generating documentation text comprises: extracting, from a plurality of source files of a software program, a plurality of element identifiers, each identifying an element of the software program; selecting a set of selected element identifiers of the plurality of element identifiers according to a plurality of scores, each score computed for an element identifier of the plurality of element identifiers; and for each of the set of selected element identifiers: generating an element documentation text using a documentation template and a plurality of patterns identified in a plurality of usage instances where in each of the plurality of usage instances the selected element identifier exists in at least one of the plurality of source files; and adding the element documentation text to a repository of documentation text associated with the plurality of source files.

    Software build system protection engine

    公开(公告)号:US12050681B2

    公开(公告)日:2024-07-30

    申请号:US17644706

    申请日:2021-12-16

    发明人: Satya V. Gupta

    摘要: Embodiments detect security vulnerabilities, e.g., backdoors, in applications. An embodiment reverses object code of a computer application to generate source code of the computer application. In turn, the generated source code is compared to trusted source code of the computer application to detect a security vulnerability in the object code of the computer application. Embodiments can take one or more protection actions, e.g., sending a notification or preventing execution of the object code, amongst other examples, in response to detecting the security vulnerability.

    FRAMEWORK FOR DEVELOPMENT AND DEPLOYMENT OF PORTABLE SOFTWARE OVER HETEROGENOUS COMPUTE SYSTEMS

    公开(公告)号:US20240192934A1

    公开(公告)日:2024-06-13

    申请号:US18064251

    申请日:2022-12-10

    IPC分类号: G06F8/41 G06F8/73

    CPC分类号: G06F8/427 G06F8/73

    摘要: Configurations of a system and a method for implementing a framework that optimizes the execution and deployment of operations in a computationally intensive software applications including varying complexity workloads, are described. In one aspect, a portable framework (PF) may transform an algorithmic routine developed via an IDE into an intermediate form. The PF may enable adding constraint definitions to the intermediate form of the algorithmic software routine. The PF may further enable or provision including constraint definitions, hardware architecture description and multiple optimization metrics to the intermediate form. Based on the constraint definitions, the hardware architecture description, and the multiple optimization metrics the PF may determine computing resources from multiple heterogenous hardware resources deployed on a hardware platform. The execution of the operations may be optimized by deploying the operations to be executed on the determined computing resources.

    AUTO-DOCUMENTATION FOR APPLICATION PROGRAM INTERFACES BASED ON NETWORK REQUESTS AND RESPONSES

    公开(公告)号:US20240155024A1

    公开(公告)日:2024-05-09

    申请号:US18407244

    申请日:2024-01-08

    申请人: KONG INC.

    摘要: Disclosed embodiments are directed at systems, methods, and architecture for providing auto-documentation to APIs. The auto documentation plugin is architecturally placed between an API and a client thereof and parses API requests and responses in order to generate auto-documentation. In some embodiments, the auto-documentation plugin is used to update preexisting documentation after updates. In some embodiments, the auto-documentation plugin accesses an on-line documentation repository. In some embodiments, the auto-documentation plugin makes use of a machine learning model to determine how and which portions of an existing documentation file to update.