app/admin/dashboard.rb
Complex method content(title)::panel#Info (22.5) Open
Open
panel 'Info' do
para "Total Teams: #{Team.count}"
para "Total Active Teams: #{Team.not_archived.count}"
para "Total Projects: #{Project.count}"
para "Total Active Projects: #{Project.not_archived.count}"
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool