Complexity Analysis of Software Based on Function-Call Graph