Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fred@cheetah:~/workspaces/eclipse/freeems-vanilla/src$ find . -name "*.h" -or -name "*.c" | xargs pmccabe -vtf
- Modified McCabe Cyclomatic Complexity
- | Traditional McCabe Cyclomatic Complexity
- | | # Statements in function
- | | | First line of function
- | | | | # lines in function
- | | | | | filename(definition line number):function
- | | | | | |
- 35 35 116 60 276 ./coreVarsGenerator.c(60): generateCoreVars
- 35 35 117 1 335 ./coreVarsGenerator.c
- 0 0 0 1 39 ./xgateGlobals.c
- 0 0 0 1 41 ./StaticBenchTest.c
- 23 23 83 48 220 ./outputScheduler.c(48): scheduleOutputs
- 23 23 84 1 267 ./outputScheduler.c
- 0 0 1 1 64 ./staticInit.c
- 0 0 0 1 45 ./decoders/MissingTeeth-Crank-30minus2.c
- 0 0 0 1 45 ./decoders/MissingTeeth-Cam-24minus1.c
- 0 0 0 1 104 ./decoders/HallOrOptical-Distributor-4of64.c
- 0 0 0 1 39 ./decoders/AUniqueName-Location-Pattern.c
- 1 1 1 59 3 ./decoders/code/MissingTeeth-Either-XminusY.c(59): decoderInitPreliminary
- 1 1 1 64 3 ./decoders/code/MissingTeeth-Either-XminusY.c(64): perDecoderReset
- 42 42 116 69 199 ./decoders/code/MissingTeeth-Either-XminusY.c(69): PrimaryRPMISR
- 44 44 124 1 270 ./decoders/code/MissingTeeth-Either-XminusY.c
- 1 1 1 70 3 ./decoders/code/HallOrOptical-Distributor-XofY.c(70): decoderInitPreliminary
- 1 1 0 73 1 ./decoders/code/HallOrOptical-Distributor-XofY.c(73): perDecoderReset
- 13 13 65 76 130 ./decoders/code/HallOrOptical-Distributor-XofY.c(76): PrimaryRPMISR
- 15 15 71 1 208 ./decoders/code/HallOrOptical-Distributor-XofY.c
- 1 1 0 49 1 ./decoders/code/VR-Distributor-X-Cylinders.c(49): decoderInitPreliminary
- 1 1 0 50 1 ./decoders/code/VR-Distributor-X-Cylinders.c(50): perDecoderReset
- 2 2 4 1 57 ./decoders/code/VR-Distributor-X-Cylinders.c
- 1 1 0 41 1 ./decoders/code/EvenTeeth-Both-Xand1.c(41): decoderInitPreliminary
- 1 1 0 42 1 ./decoders/code/EvenTeeth-Both-Xand1.c(42): perDecoderReset
- 13 13 47 45 97 ./decoders/code/EvenTeeth-Both-Xand1.c(45): PrimaryRPMISR
- 8 8 23 144 61 ./decoders/code/EvenTeeth-Both-Xand1.c(144): SecondaryRPMISR
- 23 23 74 1 204 ./decoders/code/EvenTeeth-Both-Xand1.c
- 0 0 1 1 68 ./decoders/code/NipponDenso-24and1and1.c
- 0 0 0 1 45 ./decoders/MissingTeeth-Crank-12minus1.c
- 1 1 0 54 1 ./decoders/Listener.c(54): decoderInitPreliminary
- 1 1 0 55 1 ./decoders/Listener.c(55): perDecoderReset
- 1 1 4 62 8 ./decoders/Listener.c(62): PrimaryRPMISR
- 1 1 4 73 8 ./decoders/Listener.c(73): SecondaryRPMISR
- 4 4 14 1 80 ./decoders/Listener.c
- 1 1 3 58 13 ./decoders/BenchTest.c(58): decoderInitPreliminary
- 1 1 0 73 1 ./decoders/BenchTest.c(73): perDecoderReset
- 22 22 68 87 131 ./decoders/BenchTest.c(87): PrimaryRPMISR
- 24 24 76 1 220 ./decoders/BenchTest.c
- 1 1 3 89 12 ./decoders/GM-LT1-CAS-360and8.c(89): decoderInitPreliminary
- 1 1 2 103 4 ./decoders/GM-LT1-CAS-360and8.c(103): perDecoderReset
- 21 21 67 115 152 ./decoders/GM-LT1-CAS-360and8.c(115): PrimaryRPMISR
- 23 23 85 1 269 ./decoders/GM-LT1-CAS-360and8.c
- 0 0 0 1 45 ./decoders/MissingTeeth-Crank-8minus1.c
- 0 0 0 1 45 ./decoders/MissingTeeth-Cam-6minus2.c
- 0 0 0 1 45 ./decoders/MissingTeeth-Crank-36minus1.c
- 0 0 0 1 45 ./decoders/MissingTeeth-Crank-60minus2.c
- 0 0 0 1 46 ./decoders/MissingTeeth-TestFile.c
- 0 0 2 1 58 ./decoders/EvenTeeth-Both-12and1.c
- 1 1 0 31 1 ./decoders/MitsiAndMazda-CAS-4and1.c(31): decoderInitPreliminary
- 1 1 1 32 3 ./decoders/MitsiAndMazda-CAS-4and1.c(32): perDecoderReset
- 22 22 72 363 132 ./decoders/MitsiAndMazda-CAS-4and1.c(363): PrimaryRPMISR
- 14 14 59 497 112 ./decoders/MitsiAndMazda-CAS-4and1.c(497): SecondaryRPMISR
- 38 38 136 1 608 ./decoders/MitsiAndMazda-CAS-4and1.c
- 1 1 4 38 6 ./decoders/inc/defaultPrimaryRPMISR.c(38): PrimaryRPMISR
- 1 1 5 1 43 ./decoders/inc/defaultPrimaryRPMISR.c
- 0 0 5 1 78 ./decoders/inc/MitsiAndMazda-CAS-4and1.h
- 1 1 4 38 6 ./decoders/inc/defaultSecondaryRPMISR.c(38): SecondaryRPMISR
- 1 1 5 1 43 ./decoders/inc/defaultSecondaryRPMISR.c
- 0 0 5 1 94 ./decoders/inc/BenchTest.h
- 0 0 4 1 664 ./decoders/inc/MissingTeeth.h
- 0 0 0 1 68 ./decoders/inc/GM-LT1-CAS-360and8.h
- 0 0 2 1 58 ./decoders/EvenTeeth-Both-8and1.c
- 0 0 0 1 50 ./decoders/HallOrOptical-Distributor-4of69.c
- 0 0 0 1 64 ./doxy/tuneSwitching.h
- 0 0 0 1 52 ./doxy/changeLogs.h
- 0 0 0 1 47 ./doxy/strategies.h
- 0 0 0 1 53 ./doxy/unlisted.h
- 0 0 0 1 143 ./doxy/codingStyle.h
- 0 0 0 1 85 ./doxy/contributors.h
- 0 0 0 1 98 ./doxy/glossary.h
- 0 0 0 1 134 ./doxy/groups.h
- 0 0 0 1 48 ./doxy/releaseNotes.h
- 0 0 0 1 148 ./doxy/directories.h
- 0 0 0 1 78 ./doxy/mainPage.h
- 1 1 3 53 5 ./miscISRs.c(53): UISR
- 1 1 4 66 7 ./miscISRs.c(66): PortPISR
- 1 1 4 81 7 ./miscISRs.c(81): PortJISR
- 2 2 7 96 85 ./miscISRs.c(96): PortHISR
- 1 1 3 189 7 ./miscISRs.c(189): IRQISR
- 1 1 3 204 7 ./miscISRs.c(204): XIRQISR
- 1 1 4 219 7 ./miscISRs.c(219): LowVoltageISR
- 8 8 35 1 225 ./miscISRs.c
- 0 0 0 1 47 ./freeEMS.c
- 1 1 13 70 27 ./commsCore.c(70): populateBasicDatalog
- 10 10 22 156 58 ./commsCore.c(156): finaliseAndSend
- 145 172 551 224 1163 ./commsCore.c(224): decodePacketAndRespond
- 2 2 4 1403 8 ./commsCore.c(1403): sendErrorIfClear
- 1 1 6 1453 34 ./commsCore.c(1453): sendErrorInternal
- 2 2 4 1499 8 ./commsCore.c(1499): sendDebugIfClear
- 1 1 11 1544 49 ./commsCore.c(1544): sendDebugInternal
- 162 189 618 1 1654 ./commsCore.c
- 1 1 10 3 31 ./default/datalogPopulator.c(3): populateCustomDatalog
- 1 1 11 1 33 ./default/datalogPopulator.c
- 1 1 12 65 17 ./init.c(65): init
- 2 2 7 100 19 ./init.c(100): initPLL
- 1 1 52 122 97 ./init.c(122): initIO
- 1 1 4 229 6 ./init.c(229): initLookupAddresses
- 1 1 8 245 11 ./init.c(245): initFuelAddresses
- 1 1 10 264 13 ./init.c(264): initPagedRAMFuel
- 1 1 8 287 11 ./init.c(287): initTimingAddresses
- 1 1 10 306 13 ./init.c(306): initPagedRAMTime
- 1 1 34 330 49 ./init.c(330): initTunableAddresses
- 1 1 6 384 21 ./init.c(384): initPagedRAMTune
- 1 1 4 420 8 ./init.c(420): initAllPagedAddresses
- 1 1 5 442 12 ./init.c(442): initAllPagedRAM
- 1 1 43 458 54 ./init.c(458): initVariables
- 1 1 3 540 5 ./init.c(540): initFlash
- 1 1 12 548 55 ./init.c(548): initECTTimer
- 1 1 0 606 20 ./init.c(606): initPITTimer
- 1 1 3 628 42 ./init.c(628): initSCIStuff
- 3 3 8 672 48 ./init.c(672): initConfiguration
- 1 1 8 723 30 ./init.c(723): initInterrupts
- 22 22 256 1 752 ./init.c
- 0 0 0 1 45 ./decodePacketAndRespond.c
- 0 0 0 1 70 ./data/tables/lambda/originalCurve.h
- 0 0 0 1 70 ./data/tables/lambda/flatStoichiometric.h
- 0 0 0 1 103 ./data/tables/lambda/SeansLT1Lambda.h
- 0 0 0 1 96 ./data/tables/lambda/FredsTruckLambda.h
- 0 0 0 1 48 ./data/tables/axis/SimsVolvo-RPM.h
- 0 0 0 1 46 ./data/tables/axis/mainTable-RPM.h
- 0 0 0 1 45 ./data/tables/axis/mainTable-Load.h
- 0 0 0 1 48 ./data/tables/axis/HotelHyundai-RPM.h
- 0 0 0 1 48 ./data/tables/axis/FredsTruck-RPM.h
- 0 0 0 1 47 ./data/tables/axis/HotelHyundai-Load.h
- 0 0 0 1 48 ./data/tables/axis/SeansLT1-RPM.h
- 0 0 0 1 49 ./data/tables/axis/FredsTruck-Load.h
- 0 0 0 1 49 ./data/tables/axis/SimsVolvo-Load.h
- 0 0 462 1 71 ./data/tables/ign/flat10degrees.h
- 0 0 462 1 72 ./data/tables/ign/flat0degrees.h
- 0 0 462 1 71 ./data/tables/ign/flat15degrees.h
- 0 0 462 1 110 ./data/tables/ign/SimsVolvoIgnitionTiming.h
- 0 0 462 1 103 ./data/tables/ign/SeansLT1IgnitionTiming.h
- 0 0 462 1 105 ./data/tables/ign/HotelHyundaiIgnitionTiming.h
- 0 0 462 1 108 ./data/tables/ign/FredsTruckIgnitionTiming.h
- 0 0 0 1 69 ./data/tables/ve/flat80Percent.h
- 0 0 0 1 97 ./data/tables/ve/SeansLT1VE.h
- 0 0 0 1 69 ./data/tables/ve/flat20Percent.h
- 0 0 0 1 69 ./data/tables/ve/flat60Percent.h
- 0 0 0 1 69 ./data/tables/ve/flat40Percent.h
- 0 0 0 1 97 ./data/tables/ve/FredsTruckVE.h
- 0 0 0 1 69 ./data/tables/ve/flat100Percent.h
- 0 0 0 1 69 ./data/tables/ve/flat30Percent.h
- 0 0 0 1 69 ./data/tables/ve/flat50Percent.h
- 0 0 0 1 115 ./data/thermistors/Denso-2k6Bias.h
- 0 0 0 1 115 ./data/thermistors/Denso-2k7Bias.h
- 0 0 0 1 115 ./data/thermistors/Denso-2k4Bias.h
- 0 0 0 1 105 ./data/thermistors/Bosch.h
- 0 0 0 1 115 ./data/thermistors/Denso-2k0Bias.h
- 0 0 0 1 115 ./data/thermistors/BoschM12H-2k6Bias.h
- 0 0 0 1 115 ./data/thermistors/GM-2k0Bias.h
- 0 0 0 1 115 ./data/thermistors/GM-2k2Bias.h
- 0 0 0 1 115 ./data/thermistors/BoschM12H-2k7Bias.h
- 0 0 0 1 115 ./data/thermistors/GM-2k7Bias.h
- 0 0 0 1 115 ./data/thermistors/BoschM12H-2k4Bias.h
- 0 0 0 1 115 ./data/thermistors/GM-2k49Bias.h
- 0 0 0 1 115 ./data/thermistors/GM-2k6Bias.h
- 0 0 0 1 115 ./data/thermistors/Denso-2k49Bias.h
- 0 0 0 1 115 ./data/thermistors/BoschM12H-2k49Bias.h
- 0 0 0 1 115 ./data/thermistors/GM-2k4Bias.h
- 0 0 0 1 115 ./data/thermistors/BoschM12H-2k2Bias.h
- 0 0 0 1 115 ./data/thermistors/Denso-2k2Bias.h
- 0 0 0 1 115 ./data/thermistors/BoschM12H-2k0Bias.h
- 11 11 33 54 101 ./realtimeISRs.c(54): RTIISR
- 1 1 4 168 8 ./realtimeISRs.c(168): TimerOverflow
- 12 12 39 1 188 ./realtimeISRs.c
- 10 10 57 116 80 ./tableLookup.c(116): lookupMainTable
- 5 5 22 209 31 ./tableLookup.c(209): lookupTwoDTableUS
- 8 8 19 253 29 ./tableLookup.c(253): validateMainTable
- 3 3 7 295 10 ./tableLookup.c(295): validateTwoDTable
- 26 26 109 1 304 ./tableLookup.c
- 0 0 1 1 131 ./interrupts.c
- 0 0 1 1 173 ./xgateVectors.c
- 10 77 404 65 524 ./blockDetailsLookup.c(65): lookupBlockDetails
- 10 77 405 1 588 ./blockDetailsLookup.c
- 2 2 3 55 7 ./utils.c(55): safeAdd
- 5 5 9 73 18 ./utils.c(73): safeTrim
- 3 3 4 104 12 ./utils.c(104): safeScale
- 2 2 8 128 13 ./utils.c(128): setupPagedRAM
- 1 1 8 149 10 ./utils.c(149): adjustPWM
- 1 1 16 169 21 ./utils.c(169): sampleEachADC
- 2 2 7 200 18 ./utils.c(200): sampleLoopADC
- 3 3 7 245 7 ./utils.c(245): sleep
- 3 3 7 264 7 ./utils.c(264): sleepMicro
- 2 2 4 284 7 ./utils.c(284): checksum
- 2 2 6 304 8 ./utils.c(304): stringCopy
- 3 3 7 318 9 ./utils.c(318): compare
- 29 29 98 1 326 ./utils.c
- 0 0 16 1 129 ./globalConstants.c
- 0 0 0 1 38 ./xgateScheduler.c
- 16 26 96 61 231 ./main.c(61): main
- 16 26 97 1 291 ./main.c
- 3 3 11 52 27 ./decoderInterface.c(52): resetToNonRunningState
- 7 7 28 86 75 ./decoderInterface.c(86): schedulePortTPin
- 10 10 41 1 160 ./decoderInterface.c
- 0 0 0 1 38 ./xgateTests.c
- 1 1 1 52 5 ./injectionISRs.c(52): StagedOnISR
- 1 1 1 59 5 ./injectionISRs.c(59): StagedOffISR
- 2 2 4 1 108 ./injectionISRs.c
- 0 0 0 1 40 ./inc/xgateGlobals.h
- 0 0 1 1 62 ./inc/outputScheduler.h
- 0 0 0 1 304 ./inc/syncLossIDs.h
- 0 0 1 1 77 ./inc/tableLookup.h
- 0 0 9 1 88 ./inc/xgateVectors.h
- 0 0 54 1 149 ./inc/pagedLocationBuffers.h
- 0 0 1 1 89 ./inc/generalTypes.h
- 0 0 0 1 191 ./inc/scalerDefines.h
- 0 0 0 1 49 ./inc/unitTestIDs.h
- 0 0 1 1 62 ./inc/derivedVarsGenerator.h
- 0 0 53 1 170 ./inc/globalConstants.h
- 0 0 1 1 65 ./inc/main.h
- 0 0 5 1 156 ./inc/TunableConfigs.h
- 0 0 0 1 114 ./inc/packetTypes.h
- 0 0 0 1 170 ./inc/locationIDs.h
- 0 0 1 1 201 ./inc/commsCore.h
- 9 9 45 69 95 ./inc/injectorISR.c(69): InjectorXISR
- 9 9 46 1 163 ./inc/injectorISR.c
- 0 0 0 1 154 ./inc/errorDefines.h
- 0 0 0 1 156 ./inc/globalDefines.h
- 0 0 1 1 115 ./inc/init.h
- 0 0 34 1 341 ./inc/freeEMS.h
- 0 0 1 1 51 ./inc/flashBurn.h
- 0 0 1 1 109 ./inc/typeChecks.h
- 0 0 1 1 61 ./inc/blockDetailsLookup.h
- 0 0 0 1 62 ./inc/decodePacketAndRespond.h
- 0 0 13 1 242 ./inc/FixedConfigs.h
- 0 0 6 1 204 ./inc/containerTypes.h
- 0 0 2 1 127 ./inc/interrupts.h
- 0 0 0 1 209 ./inc/memory.h
- 0 0 1 1 74 ./inc/flashWrite.h
- 0 0 51 1 487 ./inc/decoderInterface.h
- 0 0 2 1 88 ./inc/tableTypes.h
- 0 0 1 1 87 ./inc/commsISRs.h
- 0 0 1 1 100 ./inc/fuelAndIgnitionCalcs.h
- 0 0 0 1 45 ./inc/flashGlobals.h
- 0 0 3 1 153 ./inc/counterTypes.h
- 0 0 1 1 62 ./inc/coreVarsGenerator.h
- 0 0 4 1 77 ./inc/utils.h
- 0 0 0 1 1016 ./inc/9S12XDP512.h
- 2 2 10 65 17 ./flashWrite.c(65): eraseSector
- 9 9 45 110 79 ./flashWrite.c(110): writeBlock
- 5 5 21 209 41 ./flashWrite.c(209): writeSector
- 2 2 7 269 13 ./flashWrite.c(269): writeWord
- 18 18 87 1 281 ./flashWrite.c
- 0 0 0 1 47 ./initialisers/FuelTables2.c
- 0 0 4 1 219 ./initialisers/TunableConfig.c
- 0 0 1 1 232 ./initialisers/FixedConfig1.c
- 0 0 1 1 68 ./initialisers/CHTTransferTable.c
- 0 0 4 1 160 ./initialisers/TimingTables.c
- 0 0 4 1 194 ./initialisers/FuelTables.c
- 0 0 0 1 47 ./initialisers/TimingTables2.c
- 0 0 1 1 172 ./initialisers/TestTransferTable.c
- 0 0 1 1 68 ./initialisers/IATTransferTable.c
- 0 0 1 1 138 ./initialisers/FixedConfig2.c
- 0 0 1 1 115 ./initialisers/MAFTransferTable.c
- 0 0 0 1 54 ./initialisers/TunableConfig2.c
- 0 0 0 1 37 ./xgateInit.c
- 21 21 49 57 133 ./fuelAndIgnitionCalcs.c(57): calculateFuelAndIgnition
- 21 21 50 1 189 ./fuelAndIgnitionCalcs.c
- 3 3 10 68 33 ./commsISRs.c(68): resetReceiveState
- 27 27 73 115 138 ./commsISRs.c(115): SCI0ISR
- 30 30 85 1 252 ./commsISRs.c
- 10 10 29 56 85 ./derivedVarsGenerator.c(56): generateDerivedVars
- 10 10 30 1 140 ./derivedVarsGenerator.c
- 619 723 6346 n/a 23412 Total
Add Comment
Please, Sign In to add comment