{"id":13414180,"url":"https://gitlab.com/esr/loccount","last_synced_at":"2025-03-14T21:32:00.829Z","repository":{"id":57529399,"uuid":"2044308","full_name":"esr/loccount","owner":"esr","description":"Count source lines of code in a project.  This is a faster implementation (in Go) of David A. Wheeler's sloccount tool. It handles a wider spread of languages, as well.","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":64,"open_issues_count":0,"forks_count":16,"subscribers_count":null,"default_branch":"master","last_synced_at":"2024-07-31T21:51:53.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://gitlab.com/uploads/-/system/project/avatar/2044308/loccount-logo.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-21T10:25:39.705Z","updated_at":"2024-02-07T11:10:31.342Z","dependencies_parsed_at":"2022-08-26T03:32:58.667Z","dependency_job_id":null,"html_url":"https://gitlab.com/esr/loccount","commit_stats":null,"previous_names":[],"tags_count":19,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/esr%2Floccount","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/esr%2Floccount/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/esr%2Floccount/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/esr%2Floccount/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/esr","download_url":"https://gitlab.com/esr/loccount/-/archive/master/loccount-master.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4518057,"owners_count":6822,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":[],"created_at":"2024-07-30T21:00:16.122Z","updated_at":"2025-03-14T21:32:00.322Z","avatar_url":"https://gitlab.com/uploads/-/system/project/avatar/2044308/loccount-logo.png","language":null,"funding_links":[],"categories":["Code"],"sub_categories":["Cloc"],"readme":"= README for loccount =\nby Eric S. Raymond\nNovember 2016\n\nloccount is a re-implementation of David A. Wheeler's sloccount tool\nin Go.  It is faster, handles more different languages, can report LLOC\nas well as SLOC, and can do COCOMO II as well as COCOMO I estimates. Because\nit's one source file in Go, it is easier to maintain and extend than the\nmulti-file, multi-language implementation of the original.\n\nThe algorithms are largely unchanged and can be expected to produce\nidentical numbers for languages supported by both tools.  Python is\nan exception; loccount corrects buggy counting of single-quote multiline\nliterals in sloccount 2.26.\n\nTo build it, have the Go compiler and Python installed and do \"make\"\nin the top-level directory. \n\nIf you get a message about genericLanguages being undefined, you did \"go build\"\nwhich is not enough.  The make production generates some Go from a JSON file; \nthis is why you needed Python installed.\n\nYou can run a self-test with 'make check'.  The sample sources are in\nthe test/ subdirectory.\n\nSee hacking.adoc for information on how to add support for a language.\nYou may also want to read the design notes in design-notes.adoc\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fesr%2Floccount","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fesr%2Floccount","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fesr%2Floccount/lists"}