The project is in a healthy, maintained state
Report compose compiler metrics
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 2.14
= 3.0.7
>= 0
~> 3.4
>= 0
>= 0

Runtime

 Project Readme

danger-compose_compiler_metrics

A danger plugin for reporting compose compiler metrics

Installation

gem install danger-compose_compiler_metrics

Usage

Reporting difference of compose compiler metrics

Dir.glob('**/compose_compiler_metrics').each do |report_dir|
  next if report_dir.include?("vendor/bundle")

  compose_compiler_metrics.report_difference(report_dir, "#{report_dir}_baseline")
end

I recommend a use case that compare the metrics report in the feature branch with the metrics report in the main branch. Following is example of implementation using Github Actions.

tomorrowkey/danger-compose_compiler_metrics-example#1

Reporting compose compiler metrics

Dir.glob('**/compose_compiler_metrics').each do |report_dir|
  next if report_dir.include?("vendor/bundle")

  compose_compiler_metrics.report(report_dir)
end

Development

  1. Clone this repo
  2. Run bundle install to setup dependencies.
  3. Run bundle exec rake spec to run the tests.
  4. Use bundle exec guard to automatically have tests run as you make changes.
  5. Make your changes.