[ANN] MetricFu 4.4.4 Released

55 views
Skip to first unread message

Benjamin Fleischer

unread,
Sep 27, 2013, 11:11:21 AM9/27/13
to metr...@googlegroups.com
I'm pretty excited about the increased contributions from others, the improvement in code quality, and how we're getting closer to 5.0;  making it pluggable https://github.com/metricfu/metric_fu/issues/113


Copy and pasted from the history file

MetricFu 4.4.4 / 2013-09-27

  • Features
  • Fixes
    • Update rcov config instructions in README to include call to activate (Carlos Fernandez, #145)
    • rcov hotspot analyzer (MetricFu::RcovHotspot) now overrides map_strategy instead of map (Carlos Fernandez, #145)
    • Fix test failures relating to artifact directory missing (Benjamin Fleischer, #144)
  • Misc

MetricFu 4.4.3 / 2013-09-25

  • Features
  • Fixes
    • Scratch directory no longer dependent on generator class name. Saikuro works again! (Benjamin Fleischer, #141)
  • Misc
    • Metric scratch directory now set via Metricrun_options[:output_directory] || MetricFu::Io::FileSystem.scratch_directory(metric) (Benjamin Fleischer, #141)

MetricFu 4.4.2 / 2013-09-25

  • Features
    • Add --debug-info command line switch to get debug info for Issues. (calveto, #118)
  • Fixes
    • Return valid line locations for code with either no AST or nil nodes (Benjamin Fleischer, #137)
    • Only use FakeFS on MRI. Avoid intermittent failures on JRuby or Rubinius (Benjamin Fleischer, #135)
    • Hotspots no longer serialize actual classes to YAML. (Benjamin Fleischer, #128)
  • Misc
    • Extract SexpNode class from LineNumbers to handle Sexp Processing (Benjamin Fleischer, #137)
    • Separate out Hotspot ranked problem location and misc code improvements (Benjamin Fleischer, #128)
    • Identify directories with code to analyze by checking if they exist. (No longer use :rails? as a proxy for checking if we should run on 'app'). (George Erickson, #129)

MetricFu 4.4.1 / 2013-08-29

  • Features
  • Fixes
    • No longer consider an ampty sexp in LineNumbers an error. A file with only comments is empty of code. (Benjamin Fleischer)
    • Prevent encoding errors when using syntax highlighting via coderay (Benjamin Fleischer #120, #131)
  • Misc
    • Update dependencies: cane, flay, flog, reek; switch from metric_fu-roodi to revived roodi (Benjamin Fleischer #130)
    • Update to fully ruby_parser-compatible rails_best_practices (Benjamin Fleischer #133)
    • Hotspots: remove legacy test code, reduce duplication (Benjamin Fleischer, #127, #77)
    • Remove a lot of dead code (Benjamin Fleischer, #77)

MetricFu 4.4.0 / 2013-08-15

  • Features
    • Metrics now configure themselves in a subclass of MetricFu::Metric ( Benjamin Fleischer / Robin Curry #91, #111)
    • Metrics can be configured individually via Metric.configuration.configure_metric(:some_metric) or Metric.configuration.configure_metrics {|metric| }. See .metrics file for examples ( Benjamin Fleischer / Robin Curry #91, #111)
    • Distinguish between an activated metric library and an enabled metric.
    • An enabled metric will be run.
    • An activated metric has had its library successfully required. (Benjamin Fleischer #125)
    • Code Statistics metrics always runs now, relies on the code_metrics gem extracted from Rails. Does not shell out. ( Benjamin Fleischer, #108 )
    • Rails Best Practices report now provides a link to the description and solution of the problem (Calveto #117)
    • Rails Best Practices now runs as a library. It is no longer shelled out. (Calveto #117)
    • Update flog to ~> 4.1.1, this is needed to use keyword parameters in ruby 2. (George Erickson, #122)
  • Fixes
    • Skip reek when no files are found to run against. Otherwise, reek hangs trying to read from STDIN (Benjamin Fleischer, #119, #121)
    • Reek will now find files on Windows. Remove *nix-specific '/' directory separators from Reek file glob. (Benjamin Fleischer, #119, #121)
    • Link to correct reek url on report. (Calveto #116)
    • Hack to accomodate Rails Best Practices dependency Code Analyzer monkey patch of Sexp (Benjamin Fleischer #123, #124)
  • Misc
    • Moved environmental concerns into an Environment module ( Benjamin Fleischer / Robin Curry #91, #111)
    • Exposed RubyParser patch ( Benjamin Fleischer / Robin Curry #91, #111)
    • Separated out io / filesystem /templating concerns into their own classes or modules. Thus, we removed all the metaprogrammatically defined methods and instance variables.( Benjamin Fleischer / Robin Curry #91, #111, #112, #115)
    • Generator subclasses can now be found by metric name. MetricFu::Generator.get_generator(:flog) (Benjamin Fleischer, #126)
    • Breaking change related to the above: removed configuration methods / MetricFu module methods: add_graph, add_metric, configure_graph, configure_metric, configure_graph_engine, graph_engine, metrics, formatters, graphs, graph_engines, rails?, code_dirs, base_directory, scratch_directory, output_directory, data_directory, file_globs_to_ignore, metric_fu_root_directory, template_directory, template_class, link_prefix, darwin_txmt_protocol_no_thanks, syntax_highlighting

MetricFu 4.3.1 / 2013-08-02

  • Features
  • Fixes
  • Misc
    • Don't set a default flay minimum score (was 100); use flay default (16) instead. (Robin Curry #110)
    • Loosen gem dependencies. Please report any bugs! (Benjamin Fleischer, #109)

MetricFu 4.3.0 / 2013-07-26

  • Features
    • Allow customization of reporting results using formatters (Robin Curry #94)
  • Fixes
    • obey --no-open option (Chris Mason)
    • Don't run the hotspots metric if it has been disabled (Chris Mason)
    • No longer crashes when rake stats outputs blank lines (Benjamin Fleischer #103, #24)
    • Run saikuro metrics the same way as the other metrics (Martin Gotink #100)
    • Add missing Cane Google Chart Grapher (Benjamin Fleischer)
    • Fix wrong arguments to display_location, split off line numbers from paths (Benjamin Fleischer #88)
    • Remove line numbers from direct file link so the browser can open it (Benjamin Fleischer #82)
    • Make the run specs work without the need to shell out (Robin Curry)
  • Misc
    • metric_fu runs with the -r option by default (Chris Mason #69)
    • Switch to metric_fu-Saikuro gem (Benjamin Fleischer)
    • Reduce Grapher code duplication (Benjamin Fleischer #89)

MetricFu 4.2.1 / 2013-05-23

  • Fixes
    • Remove ActiveSupport dependencies (Benjamin Fleischer #79)
    • Add MultiJson to ensure JSON support in rbx and jruby (Benjamin Fleischer)
  • Misc
    • Improve STDOUT to show which metric is running but hide the details by default

MetricFu 4.2.0 / 2013-05-20

  • Features
    • Allow setting of the --continue flag with flog (Eric Wollesen) *Fixes
    • Allow the 2.0.x point releases (Benjamin Fleischer #75)
  • Misc
    • Make Location and AnalyzedProblems code more confident (Avdi Grimm)

MetricFu 4.1.3 / 2013-05-13

  • Features
    • Tests now pass in JRuby and Rubinius! (Benjamin Fleischer)
  • Fixes
    • Line numbers now display and link properly in annotated code (Benjamin Fleischer)
    • No longer remove historical metrics when testing metric_fu
    • Churn metric handler won't crash when no source control found (Dan Mayer)
  • Misc (Benjamin Fleischer)
    • Removed StandardTemplate, had no additional value and needed to be maintained
    • Removed most template references to specific metrics

MetricFu 4.1.2 / 2013-04-17

  • Fixes
    • No longer load rake when running from the command line (Benjamin Fleischer)
    • Disable rails_best_practices in non-MRI rubies as it requires ripper (Benjamin Fleischer)
    • Ensure metric executables use the same version the gemfile requires (Benjamin Fleischer)

MetricFu 4.1.1 / 2013-04-16

  • Fixes
    • Fix Syck warning in Ruby > 1.9 (Todd A. Jacobs #58, Benjamin Fleischer)
    • Cane parser doesn't blow up when no output returned (Guilherme Souza #55)
    • Fix typo in readme (Paul Elliott #52)
    • Disable Flog and Cane in non-MRI rubies, as they require ripper (Benjamin Fleischer)
  • Refactor hotspots and graph code to live in its own metric (Benjamin Fleischer #54, #60)
  • Use RedCard gem to determine ruby version and ruby engine
  • Fix Gemfile ssl source warning

MetricFu 4.1.0 / 2013-03-06

  • Fix crash in cane when missing readme (Sathish, pull request #51)
  • Prevent future cane failures on unexpected violations (Sathish, pull request #51)

MetricFu 4.0.0 / 2013-03-05

  • Adding cane metrics (Sathish, pull request #49)
    • Not yet included in hotspots
    • Removed ruby 1.8 support
Reply all
Reply to author
Forward
0 new messages