hoc icon indicating copy to clipboard operation
hoc copied to clipboard

Metric is larger when excluding directory

Open christophamma opened this issue 7 years ago • 4 comments

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.

christophamma avatar Mar 14 '17 09:03 christophamma

@yegor256 please, pay attention to this issue

0crat avatar Mar 14 '17 09:03 0crat

@christophamma this is really weird indeed. Is it a public repo? Can I clone it and test?

yegor256 avatar Mar 15 '17 09:03 yegor256

Unfortunately I cannot provide the code. Is there anything on my side I can do to debug the issue?

christophamma avatar Mar 15 '17 09:03 christophamma

@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...

yegor256 avatar Apr 25 '17 17:04 yegor256