You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to metric_fu
I am just getting started with metric_fu for the first time. I ran
metrics yesterday, then deleted a bunch of files from the project.
Today when metrics ran again I noticed that all the metrics except
flog reflected that change. Flog was still displaying stats about
parts of the code that had been deleted.
Here is my config:
MetricFu::Configuration.run do |config|
#removed reek because it was taking too long.
#removed saikuro because it was bombing
config.metrics = [:churn, :stats, :flog, :flay, :roodi, :rcov]
config.graphs = [:flog, :flay, :roodi, :rcov]
end
I'm not sure if this is a flog issue or is related to metric_fu,
thought I would ask here first. Deleting the scratch directory and
running again made it work, but I wonder if I need to do this every
time?
Dan Mayer
unread,
Dec 10, 2009, 10:23:46 AM12/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to metric_fu
There is currently a bug in the cache used for metric_fu. Not all the
projects use this but I know that deleted files continue to show up in
flog scores.
We patched this in our fork of metric_fu, so feel free to apply this
to your metric_fu code and it should fix the deleted files issue.
We have found another error occurring for the metric_fu cache that
also effects the flog project, but we haven't been able to isolate the
other issue and fix it yet.
Jake feel free to grab this patch and merge it in, or wait awhile and
perhaps we will be able to track down the other cache bug.