{"id":21921769,"url":"https://github.com/baban/ruby_mehod_statistic","last_synced_at":"2025-03-22T10:43:41.432Z","repository":{"id":141191843,"uuid":"92026291","full_name":"baban/ruby_mehod_statistic","owner":"baban","description":"generate ruby used method ranking","archived":false,"fork":false,"pushed_at":"2017-06-24T15:05:58.000Z","size":1037,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T10:26:30.902Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baban.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-22T07:48:39.000Z","updated_at":"2022-04-12T05:50:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"4201450e-86eb-4a7f-ad8c-5067f9109d6f","html_url":"https://github.com/baban/ruby_mehod_statistic","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/baban%2Fruby_mehod_statistic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baban%2Fruby_mehod_statistic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baban%2Fruby_mehod_statistic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baban%2Fruby_mehod_statistic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baban","download_url":"https://codeload.github.com/baban/ruby_mehod_statistic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244945594,"owners_count":20536295,"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-28T20:26:52.823Z","updated_at":"2025-03-22T10:43:41.409Z","avatar_url":"https://github.com/baban.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 要約\r\n\r\nrubyの世界で、使われているメソッドの名前を集計して、そのランキングを作成するスクリプトです。\r\n\r\n集計基準は以下の通り\r\n\r\n1. bestgems.orgでランキングされている人気のgemで、ダウンロード数Top 500のコードをサンプルにする\r\n2. 各々のgemの中のlibディレクトリ以下を調査の対象とした。つまりはテストのコードは集計から排除した\r\n3. 動的な言語なのでどのクラスに属しているかの推論は諦めて、あくまでメソッド名の集計結果とした。\r\n\r\n# インストール方法\r\n\r\ngenerate_method_ranking.rbが実行ファイルなので、以下のコマンドで実行してください。\r\n\r\n```\r\nbundle install\r\nbundle exec ruby ./generate_method_ranking.rb\r\n```\r\n\r\n処理時間は長いですが、途中の計算結果をそれぞれファイルとして出力してあるので、いい感じにコメントアウトとかすれば、結果だけ簡単に見れます。\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaban%2Fruby_mehod_statistic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaban%2Fruby_mehod_statistic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaban%2Fruby_mehod_statistic/lists"}