Frage

We have product code which is maintained across multiple branches. We want to run the Coverity analysis separately for all the branches. As most of the code is same on all the branches, I want to use the analysis result of one branch to another. So the question here is..Can we related two snapshots from the different projects in the Coverity Connect? So that for any new branch created I can compare it with the analysis result of previous branch snapshot.

War es hilfreich?

Lösung

Yes you can.

Comparing defects across branches/projects isn't a first class operation but it can be done using the web-services interface (coverity connect).

Get the defects for project A using the snapshot scope of last(), then get the defects for project B also using last(). Now you need to some set operations, this is quite easy if you join the sets using the merge key field.

So A intersect B on merge key will give defects in both, A - B on merge key will give defects only in A.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top