rubymetric-fu

Skip files in Metric_fu Analysis


Is it possible to ignore some of my files (i.e. lib/*) in reports generated by metric_fu?

I searched in the docs and others soucers and found nothing but to exclude metrics from being generated, not files from being skipped in analysis.

Thanks in advance!


Solution

  • MetricFu maintainer here. There's currently no way to do that, besides any metric-specific configuration. However, since the reports break down by file, we could add a config to remove those records from the report. Would that be what you want? Otherwise, if you mean a global ignore 'lib*', that might be possible in per-metric configs in addition to the previous suggestion.