Are you looking for some automated tool or what because I don't see any complexity in the code you have posted.