I currently am running dependency cruiser in my project and wanted to adopt rev-dep. I noticed some discrepancies in numbers reported. Although this example reports the same number of circular issues, it shows the underlying issue (i hope 🤞 )
Graph
a.ts imports b.ts and c.ts
b.ts imports a.ts and c.ts
c.ts imports a.ts and b.ts
Observed discrepancy
Both tools report 3 circular issues, but one cycle differs:
I currently am running dependency cruiser in my project and wanted to adopt rev-dep. I noticed some discrepancies in numbers reported. Although this example reports the same number of circular issues, it shows the underlying issue (i hope 🤞 )
Graph
a.tsimportsb.tsandc.tsb.tsimportsa.tsandc.tsc.tsimportsa.tsandb.tsObserved discrepancy
Both tools report 3 circular issues, but one cycle differs:
dependency-cruiser reports:
a.ts -> b.ts -> a.tsa.ts -> c.ts -> a.tsb.ts -> c.ts -> b.tsrev-dep reports:
a.ts -> b.ts -> a.tsa.ts -> b.ts -> c.ts -> a.tsb.ts -> c.ts -> b.ts