Cloud-based code quality management service SonarSource said Tuesday that it raised $412 million in a funding round co-led by Advent International and General Catalyst, bringing its valuation to $4.7 billion.