Method for building software complex network based on source code