Running AST Metrics for the first time
If you haven't installed AST Metrics yet, please refer to the installation guide.
Locate the directory where your source code is stored. For example, if you have a project in the /var/www/my-project
directory, you can run AST Metrics with the following command in your terminal:
ast-metrics /var/www/my-project
This will display the CLI application, which will analyze the source code in the specified directory.
Navigate through the different sections using the arrow keys. You can press Enter
to expand a section and see more details.
To exit the application, press Ctrl+C
or the Esc
key.
Note: You can search for a specific file or directory by pressing the
Ctrl+F
key and typing the name of the file or directory you want to find.