Managing project branches

This article shows you how to:

  • set up and analyze a Klocwork project for branched code
  • run kwxsync to synchronize issue status changes and comments across projects, so that developers need to investigate and cite detected issues only once for source code that is shared by multiple projects
  • run kwmatch to match issues across projects, so that Klocwork Static Code Analysis displays a list of other projects in which a particular issue appears

While kwxsync and kwmatch both help you to manage branched projects, they serve different purposes, and it is not necessary to run both tools. Cross-project issue synchronization with kwxsync saves time in citing issues that occur in multiple projects. Cross-project issue matching with kwmatch can help you prioritize when citing issues -- an issue that appears in multiple projects likely has a high priority.