Closed iansan5653 closed 5 years ago
For me, I think I've committed node_modules
a few times, and technologies like bootstrap
show up as 4k LOC and jquery-validate
shows up as 11k so maybe there should be a check that excludes vendored / node_modules
code.
@yaronskaya was this removed globally? Because this type of filter would probably help: https://github.com/sourcerer-io/sourcerer-app/issues/456#issuecomment-456038758
I think it might have something to do with submodules? Sourcerer says I contributed 500k lines in this range, but the biggest commits I can find are still only 20k lines (here and here)
Actually, never mind. Here's the 650k line commit https://github.com/usf-avc/public-website/commit/18a0f4c2d6be2feea346eefdc9ef62cfc8479a7b
I worked on a repo without node_modules
in .gitignore
and when I added a dependency it added 200k LOC: https://github.com/rishinath4159/discord-app/commit/c3a1e7af22268a49711f5d334253b004221e35c3, which probably shouldn't be counted by Sourcerer.
Hi @kajchang. We updated the app so it doesn't count node_modules now.
Thanks, it's working well for me now!
@yaronskaya Can this be reopened? My original issue was not fixed -- this commit (usf-avc/public-website@18a0f4c), for example, is 650,000 lines without involving node_modules. Could you set a maximum line limit per commit, or at least allow me to set one?
Actually, never mind. Looks like it is handled already and my profile hadn't updated. My number is still high but not nearly as high.
Pretty much what the title says. My profile stat for lines of code seems excessively high - almost all of my commits are less than 100 lines.