> For the complete documentation index, see [llms.txt](https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/code-insights.md).

# Code Insights

## Get Insight reports

BlackDiamond Studio offers its users a complete object inventory across SnowConvert supported SQL languages. The reporting features allow you to:

* Look at the relationships between various objects and their dependencies.
* Estimate the cost of code changes before deploying
* Analyze the usage of elements such as views, tables, and stored procedures.
* Analyze your source code even before performing a migration to identify current relationships and dependencies.&#x20;

You can pull reports of your code using the Snowflake Scanner, or generate an inventory report of the source code using any of the following applications:

* Oracle Scanner
* SQL Server Scanner
* Teradata Scanner
* Scala Scanner

#### In order to generate Insight reports from BlackDiamond Studio, follow the next steps:

1\.     Select the source code for the analysis (Folder).

![](/files/r2fkydi2NSH5ByU9zv4F)

2\.     Right-click the folder and select **BlackDiamond: Run Code Analyzer**

![](/files/TO8jduxlXjhcm0m6dht8)

3\.     Click the storage option that fits better your needs

![](/files/tGzxPoCz9cTXKbFy1sdj)

4\.     You will get a progress bar indicating that the scanning is happening, and BlackDiamond Studio will notify you when the analysis is complete.&#x20;

![Notification of Scanner started](/files/Mv9KQT5yiRD2HrMyMiJb)

![Notification of Scanner in progress](/files/OcBcMmYhNEDz1fTcgS6n)

![Scanner completed](/files/Mqou2EplOBrUldLIktRO)

5\.     Refer to the ScannerResults folder to see the generated reports (the folder will appear in the parent folder in which the analysis was run. Ex: Source or Target.)

![](/files/jJ8EGW8ig0zyyRL9RlXl)

6\.     To open a report, just click the report and BlackDiamond Studio will open it using an integrated CSV viewer.&#x20;

7\.     Alternatively, you can open the reports in the [Report Explorer](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/code-insights/reports-explorer.md) section in BlackDiamond Studio.
