core/gtfs_rt_request_collector.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method GtfsRequestCollector.handleAlert has 83 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (connector *GtfsRequestCollector) handleAlert(events *CollectUpdateEvents, a *gtfs.Alert, id string, timestamp uint64) {
    entities := a.GetInformedEntity()
    if len(entities) == 0 {
        logger.Log.Debugf("%d affects for this Alert, skipping message", len(entities))
        return
Severity: Major
Found in core/gtfs_rt_request_collector.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status