This was the code I used for Masters Thesis in the field of Software Engineering. The idea was to create a SQL based tool for code inspection and static analysis. It works, but it requires, more effort than desired from the user. It could be a viable product one day. sql/ - Schema scripts. src/ - Source.