{"id":18544642,"url":"https://github.com/instructure/fukuzatsu","last_synced_at":"2025-04-09T19:30:54.495Z","repository":{"id":24015387,"uuid":"27399736","full_name":"instructure/fukuzatsu","owner":"instructure","description":null,"archived":false,"fork":false,"pushed_at":"2015-07-30T09:01:09.000Z","size":1091,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-04-14T20:25:52.828Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/instructure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-01T21:04:35.000Z","updated_at":"2024-04-14T20:25:52.828Z","dependencies_parsed_at":"2022-08-22T10:11:09.484Z","dependency_job_id":null,"html_url":"https://github.com/instructure/fukuzatsu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Ffukuzatsu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Ffukuzatsu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Ffukuzatsu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Ffukuzatsu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instructure","download_url":"https://codeload.github.com/instructure/fukuzatsu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223407794,"owners_count":17140563,"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":[],"created_at":"2024-11-06T20:17:11.580Z","updated_at":"2024-11-06T20:17:12.258Z","avatar_url":"https://github.com/instructure.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fukuzatsu\n\nFukuzatsu (\"complexity\") is a tool for measuring code complexity in Ruby class files. Its analysis\ngenerates scores based on cyclomatic complexity algorithms, which in simplest terms measure the number of execution paths through a given piece of code. (You can learn more about cyclomatic complexity [here](http://en.wikipedia.org/wiki/Cyclomatic_complexity).)\n\nWhy should you care about this kind of complexity? More complex code tends to attract bugs and to\nincrease the friction around extending features or refactoring code.\n\nFukuzatsu was created by [Coraline Ada Ehmke](http://where.coraline.codes/) and is maintained by [Coraline Ada Ehmke](http://where.coraline.codes/), [Mike Ziwisky](https://github.com/mziwisky), and the team at [Instructure](http://www.instructure.com/). It was originally inspired by Saikuro, written by Zev Blut.\n\n## Screenshots\n\nThese are screenshots of the `-f html` output. First, the overall project summary:\n\n![Project Summary](https://gitlab.com/coraline/fukuzatsu/raw/master/doc/images/overview.png)\n\nThen the detail view of a single class:\n\n![Project Summary](https://gitlab.com/coraline/fukuzatsu/raw/master/doc/images/details.png)\n\n## Installation\n\nInstall the gem:\n\n    $ gem install fukuzatsu\n\nThis installs the CLI tool.\n\n## Usage\n\n    fuku check path/to/file/my_file.rb\n\n    fuku check path/to/file/my_file.rb -f html\n    # Writes to doc/fuzuzatsu/htm/index.htm\n\n    fuku check path/to/file/my_file.rb -f csv\n    # Writes to doc/fuzuzatsu/csv/results.csv\n\n    fuku check path/to/file/my_file.rb -f json\n    # Writes to doc/fuzuzatsu/json/results.json\n\n## Contributing\n\nPlease note that this project is released with a [Contributor Code of Conduct](http://contributor-covenant.org/version/1/0/0/). By participating in this project you agree to abide by its terms.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstructure%2Ffukuzatsu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstructure%2Ffukuzatsu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstructure%2Ffukuzatsu/lists"}