SonarSource, a startup developing products to scan codebases for issues and bugs, has raised $412 million in venture capital at a $4.7 billion valuation.