How to analyse the source code?

I want do any modify about Bro. Howevery I don’t know how to analyse the source code? Can you offer some document about the source code? Whice tools did you used to editor and compile the code? Thank you very much!