Back to search

San Jose State University

Faux Capabilities: A novel approach for code analysis

Abstract

dc:description.abstract

When using third-party packages or libraries, it is crucial to understand their behavior. Typically, this requires developers to either conduct code reviews or set up sandbox environments for testing or write unit tests with mocked values for every function used in their code. However, these approaches are often inefficient and time-consuming. A more effective solution would provide developers with a broad understanding of the functionality required by the code they plan to import. This can be done using object capabilities, where a particular functionality is the capability that an object must possess, in order to be able to perform the required actions. Examples of these functionalities of capabilities could be something like File I/O, Network access etc. This research explores using the object-capabilities system to create faux capabilities. The faux capabilities possess the same methods and attributes as the original capabilities, however the way they behave is different. These capabilities can either mock results for the operations used by the third-party code or log those operations to a defined log file, helping developers gain insight into the code’s behavior without having to set up a sandbox environment or creating mocked unit tests.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Computer Science (MSCS)
Discipline thesis:degree_discipline
Computer Science

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Godse, Tanay
Contributors dc:contributor
  • Thomas H. Austin
  • Katerina Potika
  • Fabio Di Troia

Subjects

dc:subject × 6

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
San Jose State University
Base URL
scholarworks.sjsu.edu/do/oai/
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Godse, Tanay. Faux Capabilities: A novel approach for code analysis. https://doi.org/10.31979/etd.pfuq-dxb4