System and method for implementing a code audit tool

US2021406004A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2021406004-A1
Application numberUS-202117340436-A
CountryUS
Kind codeA1
Filing dateJun 7, 2021
Priority dateJun 25, 2020
Publication dateDec 30, 2021
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An embodiment of the present invention is directed to a code audit tool that intelligently analyzes and profiles code, such as Python code, based on a variety of previously unmeasured factors and metrics including a set of software dimensions, such as Algorithmic Complexities; Software Sizing Metrics; Anti-Pattern Implementations; Maintainability Metrics; Dependency Mappings; Runtime Metrics; Testing Metrics; and Security Metrics. Once this analysis is complete, a standardized report card or other scoring interface may be generated. This may include analytical findings as well as suggestions and recommend steps so that developers can make informed decisions, enhance their code bases and improve the score assigned to their code.

First claim

Opening claim text (preview).

What is claimed is: 1 . A system that implements a code audit tool, the system comprising: an interactive user interface that interacts with one or more users through a communication network; a memory component that stores industry standard for software development; and a computer processor, coupled to the interactive user interface and the memory component and is programmed to perform the steps of: identifying, via an electronic input, a file that comprises a set of code; retrieving, from the file, the set of code; analyzing the set of code by invoking an optimal series of processes comprising: an Algorithmic Complexities process; a Software Sizing Metrics process; an Anti-Pattern Implementations process; a Maintainability Metrics process; a Dependency Mappings process; a Runtime Metrics process; a Testing Metrics process; and a Security Metrics; generating a code health determination based on the optimal series of processes prior to deployment of the set of code; generating, via the interactive user interface, a standardized output based on the optimal series of processes, the standardized output further comprising one or more code suggestions and recommended changes; and receiving at least one input responsive to the one or more code suggestions and recommended changes to improve the code health determination. 2 . The system of claim 1 , wherein the set of code is Python code. 3 . The system of claim 1 , wherein the Algorithmic Complexities process determines an amount of compute resources required to execute at least a portion of the set of code. 4 . The system of claim 1 , wherein the Software Sizing Metrics process identifies a number of distinct operators and operands associated with the set of code. 5 . The system of claim 1 , wherein the Anti-Pattern Implementations process identifies one or more violations in recommended coding conventions. 6 . The system of claim 1 , wherein the Maintainability Metrics process estimates technical debt based on one or more runtime metrics. 7 . The system of claim 1 , wherein the Dependency Mappings process analyzes dependencies on computer resources and coding resources. 8 . The system of claim 1 , wherein the Runtime Metrics process indicates behavior and performance of at least a portion of the set of code. 9 . The system of claim 1 , wherein the Testing Metrics process executes a set of automates tests that ensure at least a portion of the set of code behaves as expected. 10 . The system of claim 1 , wherein the Security Metrics process identifies vulnerabilities and insecure code instances in at least a portion of the set of code. 11 . A method that implements a code audit tool, the method comprising the steps of: identifying, via an electronic input, a file that comprises a set of code; retrieving, from the file, the set of code; analyzing, via an analysis engine comprising a computer processor, the set of code by invoking an optimal series of processes comprising: an Algorithmic Complexities process; a Software Sizing Metrics process; an Anti-Pattern Implementations process; a Maintainability Metrics process; a Dependency Mappings process; a Runtime Metrics process; a Testing Metrics process; and a Security Metrics; generating a code health determination based on the optimal series of processes prior to deployment of the set of code; generating, via an interactive user interface, a standardized output based on the optimal series of processes, the standardized output further comprising one or more code suggestions and recommended changes; and receiving at least one input responsive to the one or more code suggestions and recommended changes to improve the code health determination. 12 . The method of claim 11 , wherein the set of code is Python code. 13 . The method of claim 11 , wherein the Algorithmic Complexities process determines an amount of compute resources required to execute at least a portion of the set of code. 14 . The method of claim 11 , wherein the Software Sizing Metrics process identifies a number of distinct operators and operands associated with the set of code. 15 . The method of claim 11 , wherein the Anti-Pattern Implementations process identifies one or more violations in recommended coding conventions. 16 . The method of claim 11 , wherein the Maintainability Metrics process estimates technical debt based on one or more runtime metrics. 17 . The method of claim 11 , wherein the Dependency Mappings process analyzes dependencies on computer resources and coding resources. 18 . The method of claim 11 , wherein the Runtime Metrics process indicates behavior and performance of at least a portion of the set of code. 19 . The method of claim 11 , wherein the Testing Metrics process executes a set of automates tests that ensure at least a portion of the set of code behaves as expected. 20 . The method of claim 11 , wherein the Security Metrics process identifies vulnerabilities and insecure code instances in at least a portion of the set of code.

Assignees

Inventors

Classifications

  • G06F8/75Primary

    Structural analysis for program understanding · CPC title

  • G06F8/77Primary

    Software metrics · CPC title

  • Code clone detection · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2021406004A1 cover?
An embodiment of the present invention is directed to a code audit tool that intelligently analyzes and profiles code, such as Python code, based on a variety of previously unmeasured factors and metrics including a set of software dimensions, such as Algorithmic Complexities; Software Sizing Metrics; Anti-Pattern Implementations; Maintainability Metrics; Dependency Mappings; Runtime Metrics; T…
Who is the assignee on this patent?
Jpmorgan Chase Bank Na
What technology area does this patent fall under?
Primary CPC classification G06F8/75. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Dec 30 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 11 related publications on this page (citations in our corpus or others sharing the same primary CPC).