Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Ruby FlogNew to Visual Studio Code? Get it now.
Ruby Flog

Ruby Flog

First Try! Software

|
1,404 installs
| (1) | Free
Ruby flog score in your status bar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ruby Flog

Ruby Flog is a Visual Studio Code plug-in that runs flog locally against your code and displays relevant metrics in the status bar. By default, it displays the average flog per method in the selected file. Or, you can select some text and Ruby Flog will display the total flog for the selected text. This is handy when you want to see if your refactoring had an effect on a method's flog.

Ruby Flog Demo

Requirements

In order to use this extension you need to have Ruby and the flog gem installed. The plugin will use your system Ruby. We recommend setting a global Ruby version using a tool like rbenv, then run gem install flog:

$ rbenv global 2.7.1
$ gem install flog

If you are using RVM, run:

$ rvm use system
$ gem install flog

Or if you are using chruby:

$ chruby system
$ gem install flog

Release Notes

Please see our CHANGELOG.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The plugin is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft