{"id":88187,"library":"code-metrics","title":"Code Metrics","description":"rake stats is great for looking at statistics on your code, displaying things like KLOCs (thousands of lines of code) and your code to test ratio.","status":"active","version":"0.1.3","language":"ruby","source_language":null,"source_url":"https://github.com/bf4/code_metrics","tags":["code","metrics","statistics","rake","utility"],"install":[{"cmd":"gem install code_metrics","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'code_metrics', '~> 0.1.3'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"CodeMetrics","correct":"require 'code_metrics'"}],"quickstart":{"code":"require 'code_metrics'\nCodeMetrics::Stats.new.report","lang":"ruby","description":"Generate and display code statistics."},"warnings":[],"env_vars":null,"search_vec":"'code':1,13,22,25,29 'display':14 'great':6 'kloc':17 'like':16 'line':20 'look':8 'metric':2,30 'rake':3,32 'ratio':28 'stat':4 'statist':10,31 'test':27 'thing':15 'thousand':18 'util':33","created_at":"2026-06-19T08:28:36.838665+00:00","updated_at":"2026-06-19T08:28:36.838665+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/bf4/code_metrics","github":"https://github.com/bf4/code_metrics","docs":"http://www.rubydoc.info/gems/code_metrics/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}