See the html_report
command docs.
Containers (folders, files, and components) have different colors depending on the symbols they contain. The color corresponds whatever symbol type has the most bytes in that container. The color is the same as that symbol type's icon.
When hovering over the container, you can see a breakdown of all the symbol types inside. The first row of that table indicates the symbol type with the most bytes.
When hovering over a container, a card appears breaking down the symbols stored within that container. The data appears as a pie chart and a table with the columns “Type”, “Count”, “Total size”, and “Percent”.
Once the symbol tree is focused on, various keyboard shortcuts are supported to navigate around the tree.
The symbol tree can be focused by clicking on it or by pressing Tab until the tree is focused.
Key | Function |
---|---|
Enter or Space | Open or close a container, just like clicking on it |
↓ | Focus the node below the current node |
↑ | Focus the node above the current node |
→ | Move focus to the first child node, or open the current node if closed |
← | Move focus to the parent node, or close the current node if open |
Home | Move focus to the topmost node |
End | Move focus to the bottommost node |
A-z | Focus the next node that starts with the given character |
* | Expand all sibling containers of the current node. |
A description of how size information is collected, including descriptions of each symbol type, is detailed in README.md.
To reduce the size of the generated data file, small symbols are omitted by default. Small symbols of the same type are combined into an “Other small [type]” bucket.
More symbols can be displayed by using the --all-symbols
flag when generating the data file. However, the data file will be larger and will take longer to load.
The contain and exclude regular expressions are evaluated against the full path of each symbol. Symbol names are appended onto the end of a path and prefixed with a :
(path/to/file:symbol
). The full path is displayed below the byte size on the info card, and also appears when hovering over a symbol's name.
The “Symbols must contain” filter is applied before the “Symbols must exclude” filter.
Example filter | Regular expression |
---|---|
Find symbols in MyJavaClass | :MyJavaClass# |
Find folders named myfolder | myfolder/ |