Use static code analysis to inspect code before it runs for syntax problems, security risks, and coding-standard violations, then use the findings to recommend improvements.
Soon you can unlock how this was done.
Behind this:
the tool used · the method · what actually resulted.