Competitive Intelligence from Code: How Gap Analysis Works