Search code examples
eclipserad

Number of lines of code in RAD/Eclipse workspace


How do I find number of lines of code in RAD or Eclipse in entire workspace (all the projects)??


Solution

  • You could:

    • add a plugin like Eclipse metrics
    • create a project which depends on all the other projects in the workspace
      (Java Build Path, tab "Projects", for adding "Required projects on the build path")
      Don't bother with the compilation: even if that global project doesn't compile it will give you the information you need.

    Java Build Path

    Summary stats