hoc
hoc copied to clipboard
Metric is larger when excluding directory
For one repository I do observe that when I exclude a subdirectory the metric is larger than when running for the whole repository without excluding anything:
Among other there are two subdirectories client and server
$ hoc
48806
$ hoc -e "client/**"
71656
$ hoc -e "client/**" -e "server/**"
69724
How can this behaviour explained? I would except the hoc metric to be smaller or equal after any kind of exclude.
@yegor256 please, pay attention to this issue
@christophamma this is really weird indeed. Is it a public repo? Can I clone it and test?
Unfortunately I cannot provide the code. Is there anything on my side I can do to debug the issue?
@christophamma I've seen the same recently, in one of my projects. Then I investigated and found that it's a perfectly correct behavior. Let me explain...