Model statistics
The Syside VS Code Extension’s model statistics dashboard shows the number of files, lines, and elements in your model. To open it, select Syside: Show Model Statistics from the Command Palette (Ctrl/Cmd+Shift+P).
The dashboard uses the model already loaded by the extension. Prefer it to running syside stats while the model is open in VS Code: the CLI loads a separate copy, which can exhaust available memory for very large models.
Dashboard contents
Summary tiles show the file, line, and element counts. They also show the average lines per file and the counts of implied relationships and derived features.
Bars break down the counts by source: Project (files you can edit), External (dependencies, usually from Sysand), and Standard library.
Kinds table lists the element count for each SysML v2 type. Click a column header to sort the table, or filter it to find a type.
If the model has errors, the dashboard shows the error count alongside the statistics. The counts may be incomplete.
Use the dashboard controls to adjust, share, or update the statistics:
Hide standard library excludes standard library files, lines, and elements from all counts, including the totals.
Copy as JSON copies the statistics in the same format as syside stats –json. Paste the output into an issue or message to share your model’s size without sharing the model itself.
Refresh updates the statistics after you change model files. The dashboard shows when the statistics were last calculated.