LCOV - code coverage report
Current view: top level - src/microsim/traffic_lights - NEMAController.cpp (source / functions) Coverage Total Hit
Test: lcov.info Lines: 95.5 % 780 745
Test Date: 2025-01-03 15:34:42 Functions: 95.4 % 65 62

Function Name Sort by function name Hit count Sort by function hit count
_ZN9NEMALogic16setShowDetectorsEb 0
_ZN9NEMALogic17deactivateProgramEv 0
_ZN9NEMALogic17setNewCycleLengthEd 0
_ZN9NEMALogic15setNewMaxGreensESt6vectorIdSaIdEE 4
_ZN9NEMALogic12setNewSplitsESt6vectorIdSaIdEE 8
_ZN9NEMALogic25calculateInitialPhasesTS2Ev 22
_ZN9NEMALogic25calculateInitialPhases170Ev 33
_ZN9NEMALogic12setNewOffsetEd 40
_ZN9NEMALogic12setParameterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ 52
_ZN9NEMALogic15validate_timingEv 67
_ZN9NEMALogic21calculateForceOffsTS2Ev 72
_ZN9NEMALogic21calculateForceOffs170Ev 91
_ZN9NEMALogic15activateProgramEv 93
_ZN9NEMALogic19parseControllerTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 93
_ZN9NEMALogic27constructTimingAndPhaseDefsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_S6_ 93
_ZN9NEMALogic4initER17NLDetectorBuilder 93
_ZN9NEMALogicC2ER16MSTLLogicControlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_xRKSt6vectorIP17MSPhaseDefinitionSaISC_EEixRKSt3mapIS7_S7_St4lessIS7_ESaISt4pairIS8_S7_EEES9_ 93
_ZNK9NEMALogic8hasMajorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIP6MSLaneSaISA_EE 101
_ZN9NEMALogicD0Ev 130
_ZN9NEMALogicD0Ev 65
_ZN9NEMALogicD2Ev 65
_ZN9NEMALogic20getDefaultTransitionEP20PhaseTransitionLogicS1_ 176
_ZN9NEMAPhase13getTransitionEi 176
_ZN9NEMAPhaseD2Ev 341
_ZN9NEMAPhase17recalculateTimingEv 354
_ZN9NEMAPhase4initEP9NEMALogiciib 354
_ZN9NEMALogic20error_handle_not_setENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ 372
_ZN9NEMALogic24getLaneInfoFromNEMAStateENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS5_SaIS5_EERS6_IiSaIiEE 381
_ZN9NEMAPhase15setMyNEMAStatesEv 381
_ZN9NEMAPhaseC2EibbbbbbiiSt6vectorIiSaIiEEP17MSPhaseDefinition 381
_ZN9NEMALogic11getPhaseObjEii 619
_ZN9NEMALogic18readParaFromStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 625
_ZNK9NEMALogic14isLeftTurnLaneEPK6MSLane 881
_ZN20PhaseTransitionLogicC2EP9NEMAPhaseS1_ 1022
_ZN9NEMALogic19measureRingDistanceEiii 1022
_ZN9NEMALogic10string2intENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 1231
_ZN9NEMALogic15getPhasesByRingEi 1600
_ZN9NEMALogic21implementTraciChangesEv 3048
_ZNK9NEMALogic17getDetectorStatesB5cxx11Ev 3761
_ZN9NEMALogic19vectorContainsPhaseESt6vectorIiSaIiEEi 3888
_ZNK9NEMALogic12getParameterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ 4484
_ZN9NEMAPhase11enterYellowEP9NEMALogic 5911
_ZN9NEMALogic14setActivePhaseEP9NEMAPhase 6249
_ZN9NEMAPhase5enterEP9NEMALogicPS_ 6249
_ZN9NEMAPhase24handleRedXferOrNextPhaseEP9NEMALogicPP20PhaseTransitionLogic 6353
_ZN9NEMAPhase17getTransitionTimeEP9NEMALogic 13475
_ZN9NEMALogic9ModeCycleExx 14534
_ZN9NEMAPhase25handleGreenRestOrTransferEP9NEMALogicPP20PhaseTransitionLogic 28228
_ZN20PhaseTransitionLogic11fromBarrierEP9NEMALogic 33071
_ZN9NEMALogic13getNextPhasesERSt6vectorINS_14transitionInfoESaIS1_EE 34343
_ZN9NEMALogic18composeLightStringB5cxx11Ev 34410
_ZN9NEMAPhase20calcVehicleExtensionEx 44379
_ZN9NEMAPhase4exitEP9NEMALogicPP20PhaseTransitionLogic 65349
_ZN9NEMAPhase9trySwitchEP9NEMALogic 68686
_ZN20PhaseTransitionLogic11getDistanceEPS_ 68862
_ZN20PhaseTransitionLogic9fromCoordEP9NEMALogic 84779
_ZN9NEMALogic9trySwitchEv 87012
_ZN20PhaseTransitionLogic9coordBaseEP9NEMALogic 88807
_ZN20PhaseTransitionLogic8freeBaseEP9NEMALogic 119649
_ZNK9NEMALogic18getCurrentPhaseDefEv 124863
_ZN20PhaseTransitionLogic4okayEP9NEMALogic 150685
_ZN9NEMAPhase6updateEP9NEMALogic 174024
_ZN9NEMALogic13getOtherPhaseEP9NEMAPhase 298509
_ZN9NEMAPhase16checkMyDetectorsEv 496530
_ZN9NEMAPhase16clearMyDetectorsEv 496530
_ZN9NEMAPhase11getNEMACharEi 1028580

Generated by: LCOV version 2.0-1