Ohcount identifies source code files in most common programming languages, and prepares total counts of code and comments. It can operate on single files or entire directory trees. Ohcount can produce line-by-line analysis of files for detailed debugging.
Ohcount identifies source code files in most common programming languages, and prepares total counts of code and comments. It can operate on single files or entire directory trees. Ohcount can produce line-by-line analysis of files for detailed debugging.
To install ohcount, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install ohcount
To see what files were installed by ohcount, run:
port contents ohcount
To later upgrade ohcount, run:
sudo port selfupdate && sudo port upgrade ohcount
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.