{"id":13687272,"url":"https://github.com/migamake/homplexity","last_synced_at":"2025-08-13T18:41:29.391Z","repository":{"id":30638930,"uuid":"34194462","full_name":"migamake/homplexity","owner":"migamake","description":"Haskell code complexity and quality measurement","archived":false,"fork":false,"pushed_at":"2023-01-25T03:22:11.000Z","size":1365,"stargazers_count":61,"open_issues_count":6,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-12T10:46:24.405Z","etag":null,"topics":["code-quality","complexity","hackage","hacktoberfest2019","haskell","quality"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/migamake.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}},"created_at":"2015-04-19T05:14:24.000Z","updated_at":"2024-11-12T08:22:36.000Z","dependencies_parsed_at":"2023-02-14T04:16:31.461Z","dependency_job_id":null,"html_url":"https://github.com/migamake/homplexity","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migamake%2Fhomplexity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migamake%2Fhomplexity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migamake%2Fhomplexity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migamake%2Fhomplexity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/migamake","download_url":"https://codeload.github.com/migamake/homplexity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228215754,"owners_count":17886456,"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","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":["code-quality","complexity","hackage","hacktoberfest2019","haskell","quality"],"created_at":"2024-08-02T15:00:51.388Z","updated_at":"2024-12-05T01:19:37.735Z","avatar_url":"https://github.com/migamake.png","language":"Haskell","funding_links":[],"categories":["Haskell"],"sub_categories":[],"readme":"homplexity\n==========\n\n**The project moved to https://gitlab.com/migamake/homplexity**\n\nAims to assess complexity and quality of Haskell code by measuring relative length of declarations,\ntheir depth, and code-to-comment ratio.\n\nFor parsing it uses [haskell-src-exts](http://hackage.haskell.org/package/haskell-src-exts),\nand [cppHs](http://hackage.haskell.org/package/cppHs).\n\nCabal builds across GHC versions:\n![Gitlab pipeline status](https://img.shields.io/gitlab/pipeline/migamake/homplexity.svg)\n\n[![Hackage](https://img.shields.io/hackage/v/homplexity.svg)](https://hackage.haskell.org/package/homplexity)\n[![Hackage Dependencies](https://img.shields.io/hackage-deps/v/homplexity.svg?style=flat)](http://packdeps.haskellers.com/feed?needle=homplexity)\n\nIf you just need latest static executable [it is always available here](https://hub.docker.com/r/migamake/homplexity).\n\nOfficial releases are on [Hackage](https://hackage.haskell.org/package/homplexity)\n\n[![Gitter](https://badges.gitter.im/homplexity/community.svg)](https://gitter.im/homplexity/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\nUSAGE:\n------\nAfter installing with `cabal install homplexity`, you might run it with filenames or directories\nwith your Haskell source\n\n```\n    homplexity Main.hs src/ \n```\n\nPatches and suggestions are welcome.\n\nYou may run `homplexity --help` to see options.\n\nFor html output, run:\n```\n    homplexity --format=HTML Main.hs src/ \n```\n\n\nHow does it work?\n-----------------\n\nHomplexity is based on the idea of `Metric`s that are applied to various\n`CodeFragment` types extracted automatically from parsed source. Each\nmetric is then assessed whether it crosses any thresholds, and depending\non them the severity of the message is chosen.\n\nTo see all metric values, set the warning `--severity` to `INFO`.\n\n![Diagram of concepts](https://raw.githubusercontent.com/mgajda/homplexity/master/docs/concepts.png)\n![Legend of the diagram](https://raw.githubusercontent.com/mgajda/homplexity/master/docs/legend.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmigamake%2Fhomplexity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmigamake%2Fhomplexity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmigamake%2Fhomplexity/lists"}