https://github.com/ho-cooh/codecounter
A convenient code counting tools to provide a statistic for your project.
https://github.com/ho-cooh/codecounter
Last synced: about 1 year ago
JSON representation
A convenient code counting tools to provide a statistic for your project.
- Host: GitHub
- URL: https://github.com/ho-cooh/codecounter
- Owner: HO-COOH
- Created: 2020-01-01T16:10:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-29T07:04:47.000Z (over 6 years ago)
- Last Synced: 2025-02-10T02:45:37.694Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 83.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodeCounter
A convenient code counting tools to provide a statistic for your project.
## Build
This is a C++ project based on ``Visual Studio 2019`` solution. To build from source, a ``C++17`` compatible compiler is required.
## Run
Basic Usage: [optional flags] "[optional path]"
- optional flag:
- -r **(default)**: recursively read all the (source) files inside ``path``. If ``path`` is not given, the process is done in the current directory of the exectuable.
- -d **(default)**: show detailed information of all the (source) files read
- optional "path": if specified, read the source files under ``path`` instead of the current directory of the exectuable. Must be quoted.
## Example
An example showing statistics of the ``SFML`` source code.

## Additional notes
This is a small projects for me trying some new things:
- ``std::filesystem`` in ``C++17``
- enum class hacks
- ``std::unordered_map``
- precompiled headers