You've already forked libadalang
mirror of
https://github.com/AdaCore/libadalang.git
synced 2026-02-12 12:28:54 -08:00
Nameres database
This folder contains a set of tools used to track name resolution analytics:
-
import_data.pyis a script that takes as input a file containing JSON data as dumped by Libadalang'snameresexecutable, and fills a SQLite database with it. -
dashboard.pyis a small web application that will present statistics computed on top of the resulting database. You can just runpython dashboard.pyand you'll have a web server onlocalhost:8000. -
schema.pyis a specification of the database schema, along with some functions computing important stats. If you wish to compute stats that are not computed/shown on the dashboard, you can import it in a ipython terminal, or directly run SQL queries against the database.