Quick draft of a simple terminal tool for counting words within a line range on a file, ignoring comments, control flow, symbols, basic types, numbers, etc.
Meant to help analysing code functions, as described in The Legacy Code Programmer's Toolbox
word_counter <file_name> <start_line> <end_line>
Will return a list of the words in that line range, order by frecuency, also displaying the number of times the word is used and the percentage it represents.
NOTE: Written with C/C++ code in mind
- Inline comments
- Block comments