{"id":20530078,"url":"https://github.com/zackteo/cloc","last_synced_at":"2025-09-06T00:42:32.632Z","repository":{"id":81541003,"uuid":"365099571","full_name":"zackteo/cloc","owner":"zackteo","description":"Cpp lines of code tool","archived":false,"fork":false,"pushed_at":"2021-05-07T03:30:56.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T02:23:25.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zackteo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-07T03:07:11.000Z","updated_at":"2021-05-07T03:30:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b0b1c3a-8f47-4be3-9631-5f516f910659","html_url":"https://github.com/zackteo/cloc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zackteo/cloc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackteo%2Fcloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackteo%2Fcloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackteo%2Fcloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackteo%2Fcloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackteo","download_url":"https://codeload.github.com/zackteo/cloc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackteo%2Fcloc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273842864,"owners_count":25177921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T23:35:20.325Z","updated_at":"2025-09-06T00:42:32.588Z","avatar_url":"https://github.com/zackteo.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloc\n\nA Clojure program used to analyse C++ (and Ruby projects), outputting number of Files, Total lines of text, Lines of Code, Comments and Blanks.\n\nCount all files with extension c, cpp, cc. Toggle to include header files\n\n## Usage\n\nCreate an executable with\n``` sh\nlein bin\n```\n\nif that does not work you can run the commands below by replace `cloc` with `lein run`\n\n``` sh\ncloc --help\n```\n\n``` sh\ncloc --lang cpp \u003cfile-path\u003e\n```\n\n``` sh\ncloc --lang ruby \u003cfile-path\u003e\n```\n\n\n## Assumptions\nFor multi-line comments, similar to ruby where `=begin` and `=end` should strictly be the only thing on the line. We are not accounting for the case where there is code after the end of a multi-line comment region \n\n```cpp\n/* \nquestionable multi-line comment \n*/ int x = 3;\n```\n\n\n## License\n\nCopyright © 2021 zackteo\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackteo%2Fcloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackteo%2Fcloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackteo%2Fcloc/lists"}