Remove unused constant Users::CalloutsHelper::TABS_POSITION_HIGHLIGHT

Summary

Removes the unused constant TABS_POSITION_HIGHLIGHT from app/helpers/users/callouts_helper.rb.

Related to #542966

Verification

This constant was verified as unused by:

  • bundle exec keela --type constants flagged it as unused
  • Grep search found no callers (only the definition)
  • No metaprogramming patterns reference it (:TABS_POSITION_HIGHLIGHT, const_get)
  • Not referenced in views, JavaScript, or other files
  • No specs test this constant

Cascade Removals

None - this was a standalone removal.

Metrics

Source File Complexity (flog)

Metric Before After Improvement
File flog total 129.6 129.6 0 (constants have no flog)
Constant flog score 0 N/A N/A (constants have no complexity)

Spec File Complexity (flog)

Metric Before After Improvement
Spec file flog total N/A N/A N/A
Spec block flog score N/A N/A N/A (no specs for this constant)

Combined Flog Summary

File Flog Removed
app/helpers/users/callouts_helper.rb 0
Total 0

Note: Constants have no flog complexity score. The value is in reducing dead code and maintenance burden.

Test Suite Impact

  • Specs removed: 0 examples
  • Spec file: N/A (no specs existed for this constant)
  • Time saved per run: 0.00 seconds

Estimated CI Savings

Estimate Pipelines/Month Time Saved Cost Saved/Month Cost Saved/Year
Pessimistic 15,000 0 hrs/month $0.00 $0.00
Moderate 30,000 0 hrs/month $0.00 $0.00
Optimistic 50,000 0 hrs/month $0.00 $0.00

This constant had no specs, so there is no CI time savings. The value is in code hygiene.

Files Modified

  • app/helpers/users/callouts_helper.rb (constant removed - 1 line)
  • scripts/lint/keela_baseline.yml (entry removed - 1 line)
  • Related to #542966 (Improve unused helper methods workflow)
  • Part of dead code cleanup effort
  • Constant was listed in scripts/lint/keela_baseline.yml under constants:

Merge request reports

Loading
Loading