Exception based quality assessment
Abstract
The embodiments may include an apparatus for measuring code quality using exceptions. The apparatus may include a runtime collector configured to intercept exceptions generated by an application, and collect exception information for each exception, during runtime of the application, based on instrumentation code included within the application. The apparatus may include a collection module configured to store the intercepted exceptions and corresponding exception information in a memory unit, an exception analyzer configured to analyze the intercepted exceptions based on the collected exception information stored in the memory unit, and a report generator configured to generate at least one report based on the analysis. The at least one report may provide an indication of code quality of the application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for measuring code quality using exceptions, the method comprising: intercepting, by at least one processor, exceptions generated by an application, and collecting, by the at least one processor, exception information for each exception, during runtime of the application, based on instrumentation code included within the application, each exception representing a potential error that occurred during runtime of the application, the exceptions including caught exceptions and uncaught exceptions; storing, by the at least one processor, the intercepted exceptions and corresponding excepti
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,042,429 B2 | Selective stack trace generation during java exception handling | 2021 | 1 |
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- "10 best practices with Exceptions", WikiJava Article, www.wikijava.org/wiki/10-best-practices-with-Exceptions, Date of Access: Jan. 18, 2013, 6 pages.
- "Class Exception", Java Platform SE 7, docs.oracle.com/javase/7/docs/api/java/lang/Exception.html, 1993, 4 pages.
- "Class Throwable", Java 2 Platform SE 5.0, docs.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html, 2004, 11 pages.
- "Exception handling", Wikipedia Article, en.wikipedia.org/wiki/Exception-handling, Jan. 17, 2013, 13 pages.
- "Java-Exceptions Handling", www.tutorialspoint.com/java/java-exceptions.htm, Date of Access: Jan. 25, 2013, 8 pages.