Count total, code, comment and blank lines in pasted code or multiple source files.
Counting lines of code gives a rough sense of project size, and splitting them into code, comment and blank lines shows how much is logic and how much is documentation. It is a coarse measure of effort, not quality.
Paste code or add several files, pick the comment syntax, and read the breakdown. Results can be exported as CSV for reports or assignments that ask for project size.
Include a table of lines of code per module in your final-year report.
Check whether a file is under-documented.
You might also find these tools helpful.
Lines that mix code and a trailing comment count as code. Comment detection is heuristic and does not parse strings.