I would like to know which lines of my code use most of the runtime.
Run your code using the profiler. Eclipse supports profiling, but I would recommend using the profiler that comes as part of the JDK - VisualVM.
(I would not analyze the complexity of “big O.”. First, first, and this will tell you where to start. Then you may want to formally or informally look at the algorithmic complexity of the hot spots.)
I know that there are methods of cyclometric complexity.
. () , . , , "metrics2", .