CodeOverview
A downloadable asset pack
CodeOverview is a tool for scripting in the Unity game engine.
This editor window will tell you important informations about the quality of your code.
From the number of classes in your project and their type (MonoBehaviour derived, Non-MonoBehaviour, etc...), to the average number of effective code lines per file, this tool will help you put an end to the humongous "manager" classes we all dread by highlighting classes that are bloated by too much code.
Simply open the window (Tools -> CodeOverview) .
Thanks to the filtering options this script only takes into account your code (and the code you manually imported), it ignores code in the \Packages and \Plugin folders.
This tool ignores empty lines and comments in code files, so don't go deleting useful comments just to make a file disappear from the red list.
Updated with an exclusion list feature to prevent some files from being taken into account.
Extra :
- you can change the threshold for classes that are considered orange and red directly in the script if you want, the provided values are just indicative.
- you can ignore files by adding them to the excluded list
Read the full documentation on the GitHub page.
Download
Development log
- Full file exclusion listApr 07, 2022
- ScriptableObjectSep 28, 2021
Leave a comment
Log in with itch.io to leave a comment.