Dynamic Analysis of Python code

Job ID: 36993720

Budget: $250 – $750 USD

I'm looking for a freelancer to enhance a Python script so that it can extract and save more comprehensive data about the structure and behavior of the parsed Python code into a Neo4j graph database. Here's what I need:

Class Inheritance: The script should be able to determine the parent-child relationships among classes. In other words, it should identify which classes are inherited from others.

Instance Creation: The script should identify the functions that are responsible for creating instances of specific classes.

Function Parameters and Returns: The script should be able to identify the input parameters and return types of functions.

Property Assignment: The script should identify the variables that are used to assign properties to class instances.

Method Calls: The script should identify the methods that are called on instances of specific classes.

Function Calls in Main Script: The script should identify the functions that are invoked within the main script.

Variable Assignments in Main Script: The script should identify the variables that are assigned values within the main script.

Variable Usage in Main Script: The script should identify the variables that are used within the main script.

Variable Extension: The script should identify the variables that are passed into functions and used to assign properties to class instances.

Variable Relationships and Flow: The script should be able to identify and track the relationships between variables in the code. It should show how these variables are passed through different functions and classes throughout the execution of the script. This will help in understanding the flow of data and dependencies within the code.

of the following these are what is remaining:
Not Completed:

Class Inheritance: The script should be able to determine the parent-child relationships among classes. In other words, it should identify which classes are inherited from others.

Function Parameters and Returns: The script should be able to identify the input parameters and return types of functions.

Property Assignment: The script should identify the variables that are used to assign properties to class instances.

Variable Extension: The script should identify the variables that are passed into functions and used to assign properties to class instances.

Partially Completed:

Variable Usage in Main Script: The script identifies some variable usage (like in method calls), but it does not track all variable usage in the main script.

Variable Relationships and Flow: The script identifies some relationships between variables (like which variables are used to call methods), but it does not track the full flow of variables through the code.
Related categories: Python Algorithm Neo4j Algorithm Analysis