Analyzing library architecure