I was just browsing through cloc's GitHub page when I noticed that the whole script consists of just one file with a whopping ~15000 lines of code. Do they patch multiple source files together or just use a really good ide? Having just one big source file seems a little inconvenient to me.
Both Håkon Hægland and AKHolland are correct. Regarding IDE, I just use vim. (Folds in vim via
set foldmethod=marker
simplify code navigation; each subroutine appears to me as a single line.)