texas instruments tms320f28335 maximum program size 256

32
System Metrics Project Metrics File Metrics Function Metrics Memory and Byte/Bit Metrics Maximum Program Size 256 Kbyes Clock freq / cycle time 150 MHz / 6.67-ns MFLOPS / MIPS 300 / 150 Pins Package size 164 Memory Architecture 16 x Single Access RAM Texas Instruments TMS320F28335 Real time sweep processing 40 msec 56 msec Embedded System Specifications: Static and Real Time Customer (RFQ) Requirements

Upload: others

Post on 16-Oct-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

● System Metrics

● Project Metrics● File Metrics● Function Metrics● Memory and Byte/Bit Metrics

Maximum Program Size 256 Kbyes

Clock freq / cycle time 150 MHz / 6.67-ns

MFLOPS / MIPS 300 / 150

Pins Package size 164

Memory Architecture 16 x Single Access RAM

Texas Instruments TMS320F28335

Real time sweep processing 40 msec 56 msec

Embedded System Specifications: Static and Real Time Customer (RFQ) Requirements

COCOMO analysis NB_Platform

Total files

48

Total lines

64216

●QA-C COCOMO 81 cost analysis report 'embedded'.

QA-C NB Project Analysis

Spreadsheet of QA-C Report Embedded COCOMO

=====================================================COCOMO COST ESTIMATION MODEL - mode is Embedded Reference Boehm, (1981) for COCOMO model. Savings computation performed using the COCOMO TOOL multiplier and the SEI Software Process Maturity Model for effectiveness of tool use.=====================================================

NB_Platform

Total files : 48Total lines : 64216ESTIMATED DEVELOPMENT STATISTICS, AND COSTS (Few tools - e.g. CMM level 1):Total programmer time (months): 659.016Elapsed time for development (months): 19.952Programmers required to complete on time : 34Total estimated costs ($ / ): 5491801.607�

ESTIMATED DEVELOPMENT STATISTICS, AND COSTS (Some tools - e.g. CMM level 2):Total programmer time (months): 531.465Elapsed time for development (months): 18.625Programmers required to complete on time : 29Total estimated costs ($ / ): 4428872.264�

Metric Name Metric Value

STNRA 0

STNEA 94

STNFA (functions) 1458

STCYA 4722

STNRA Number of Recursions Across ProjectSTNEA Number of Entry Points Across ProjectSTNFA Number of Functions Across ProjectSTCYA Cyclomatic Complexity Across Project

69 Project, File and Function Metrics values produced by PRQA QA-C 7.0

copyright 2009 Programming Research Ltd.

Project Metric Report

Project-Wide Metrics

Generated on 2012-01-25 08:17:42

MKS Integrity 'Metric for Project' Checkpoint 1.10 TL_Rel7 January 31th

e:/MKSProjects/Radar/NB/NB_Platform/NB_Platform.pj

1.11 Afrah Naik (anaik) Feb 6, 201210:50:31 AM

in_test ICRD1206-01

Internal Code Release: ICRD1206-01

1.10 Stephen Vachon(svachon)

Jan 30, 201211:33:44 AM

in_test TL_Rel7 TL release 7, added check for d1 boardsto switch the direction of the offset

1.9 Stephen Vachon(svachon)

Jan 28, 201212:10:36 PM

in_test TL_Rel6a TL release 6a

1.8 Stephen Vachon(svachon)

Jan 26, 20125:08:44 PM

in_test TL_Rel5d TL release 5

1.7 Stephen Vachon(svachon)

Jan 20, 20122:36:20 PM

in_test TL_rel3 Relese 3 for the TL, BSD detection andFeature working. RCTA detection workingand Feature is being worked on Modeswitching works, LED is only on/off, nodimming

1.6 Stephen Vachon(svachon)

Jan 18, 20124:46:25 PM

in_test TL_rel2 TL release 2

1.5 Stephen Vachon(svachon)

Jan 13, 20123:31:01 PM

in_test TL_rel1 Initial Release for TL vehicle.

1.4 Magnus Larsson(mlarsson)

Dec 10, 20114:11:15 PM

in_test This version of silver/gold standard isrunning BSD with some success. Pre splitof targdet.

1.3 Torbjorn Jacobsson(tjacobss)

Dec 7, 201110:13:08 AM

in_test Checkpoint before adding RCTAparameters.

1.2 Jorge Alejandro(jalejand)

Nov 11, 20116:21:23 PM

in_test Checkpoint before removing rangedet,fftspeed, and mttk from platform...

1.1 Afrah Naik (anaik) Nov 7, 20113:57:50 PM

in_test

STBME COCOMO Embedded Programmer MonthsSTBMO COCOMO Organic Programmer MonthsSTBMS COCOMO Semi-detached Programmer MonthsSTBUG Residual Bugs (token-based estimate)STCDN Comment o Code RatioSTDEV Estimated Development TimeSTDIF Program DifficultySTECT Number of External VariablesSTEFF Program EffortSTFCO Estimated Function CouplingSTFNC Number of Function DefinitionsSTHAL Halstead Prediction Of STTOTSTM20 Number of Operand OccurrencesSTM21 Number of Operator OccurrencesSTM22 Number of StatementsSTM28 Number of Non-Header CommentsSTM33 Number of Internal CommentsSTMOB Code MobilitySTOPN Halstead Distinct OperandsSTOPT Halstead Distinct OperatorsSTPRT Estimated Porting TimeSTSCT Number of Static VariablesSTSHN Shannon Information ContentSTTDE COCOMO Embedded Total MonthsSTTDO COCOMO Organic Total MonthsSTTDS COCOMO Semi-detached Total MonthsSTTLN Total Preprocessed Source LinesSTTOT Total Number of TokensSTTPP Total Unpreprocessed Source LinesSTVAR Number of IdentifiersSTVOL Program VolumeSTZIP Zipf Prediction of STTOT

PRQA QA-C 7.0

File-Based Metrics (32)172: QA C Users Guide Unix

Define Location STM22 STBME STBMO STBMS STBUG STCDN STDEV STDIF

Feature\Development\tectrm\tectrm.c 2373 50.91 24.37 35.56 55 0.17 2161.63 30.97

Driver\radar\fmradarhw.c 989 9.11 5.41 7.14 22 0.4 560.74 30.07

Feature\Platform\sigproc\targdet.c 921 18.8 10.2 14.03 22 0.46 534.05 25.38

Driver\radar\swpgen.c 864 9.92 5.83 7.73 19 0.65 434.81 28.7

Feature\Platform\sigproc\fmdetect.c 827 10.33 6.04 8.02 26 0.34 714.15 35.57

Feature\Platform\radar\radar.c 749 23.52 12.4 17.29 16 1.15 344.3 21.49

Feature\Development\tectrm\PrintInfo.c 643 7.56 4.59 5.99 17 0.28 378.53 22.83

Driver\CAN\canhw.c 627 8.77 5.23 6.89 16 0.57 329.18 21.95

Feature\Platform\EEPROM\eeprom.c 607 12.44 7.1 9.55 10 0.54 154.68 12.59

Feature\Platform\sigproc\mtt.c 547 10.01 5.87 7.79 12 0.86 221.71 23.44

Driver\system\system.c 500 10.34 6.04 8.03 9 0.91 138.73 15.58

Feature\Platform\sigproc\sigproc.c 474 9.19 5.45 7.2 14 0.67 269.11 23.93

Feature\Platform\EEPROM\evu.c 446 3.8 2.51 3.15 12 0.28 228.25 25.98

Driver\radar\radarhw.c 389 5.82 3.65 4.7 6 1.14 70.61 11.53

Feature\Platform\common\MathUtil.c 369 8.61 5.15 6.77 16 1.19 328.42 34.49

PRQA QA-C “File-Based Metric Browser” CSV file export (15x 9 subset) 44 file rows by 32 metrics columns

File Name Lines Statements

% Branches Comments Functions Avg Stmts/Function

Max Complexity

Max Depth

Avg Depth Avg Complexity

Feature\Development\tectrm\tectrm.c 9,341 4,020 34.2 15 228 26.4 253 7 2.23 6.78

Driver\radar\fmradarhw.c 5,953 2,662 10.6 39.8 129 33.1 25 5 1.31 2.91

Feature\Platform\sigproc\targdet.c 5,609 1,799 19.5 29.5 92 29.9 19 8 1.66 4.92

Feature\Platform\radar\radar.c 4,793 1,185 21.4 48 161 10.6 46 4 1.45 2.86

Driver\radar\swpgen.c 2,324 1,047 9.6 43.2 39 45.4 25 5 1.26 3.97

Feature\Platform\sigproc\fmdetect.c 2,190 1,044 23.9 17.9 8 212.6 202 9+ 3.12 38.63

Feature\Platform\sigproc\mtt.c 2,475 875 19.8 38.5 46 27.6 20 9+ 2.08 5

Vendor\TI\include\DSP2833x_ECan.h 1,176 873 0 63.3 0 0 0 1 0.91 0

Driver\CAN\canhw.c 2,009 832 21.2 33.5 38 33 17 6 1.8 4.42

Feature\Development\tectrm\PrintInfo.c 1,875 832 14.9 33.4 49 28.7 43 3 1.28 3.27

Feature\Platform\EEPROM\eeprom.c 2,744 816 12.9 39.1 75 16.3 14 5 1.22 2.73

Feature\Platform\sigproc\sigproc.c 2,178 747 23 35.5 72 15 32 6 1.7 3.43

Driver\system\system.c 2,433 667 12.9 43.8 107 6.6 8 3 0.64 1.82

Feature\Platform\EEPROM\evu_structs.h 844 616 0 54.6 0 0 0 1 0.93 0

Feature\Platform\sigproc\detparams.c 2,754 584 19.9 48.2 132 5.9 5 3 1.01 2.29

Feature\Platform\EEPROM\evu.c 1,186 562 7.5 30.7 20 48.3 9 5 1.82 4.6

Feature\Platform\common\MathUtil.c 1,946 523 19.3 41.1 48 16.9 12 5 1.44 3.25

Vendor\TI\include\DSP2833x_McBSP.h 723 513 0 66.3 0 0 0 1 0.87 0

Driver\radar\radarhw.c 1,475 499 7.4 47.8 53 14.8 7 3 1.01 1.74

Source Monitor spreed sheet output http://campwoodsw.com/sourcemonitor.html 10 Metrics Columns subset of 120 file rows

PRQA QA-C 7.0 File Metric Description Source Monitor

STTPP Total Unpreprocessed Source Lines

Lines

STM22 Number of Statements Statements

STVOL Program Volume Avg Complexity

Suggested Cross Reference of the tool language

PRQA analysis did not clearly identify the complexity difference between the Technicians Terminal Interface program techterm.c and the essential signal Processing Function 'Detection-Beamforming' fmdetect.c

The Value of PRQA is in the interactive GUI interface and multiple Graphic views. Not the Metrics data.

Define Location STBME STBMO STBMS STBUG STCDN STDEV STDIF STECT STEFF

53.56 25.48 37.28 56 0.17 2236.31 30.72 2 13417844

11.21 6.49 8.66 27 0.38 721.6 33.13 34 4329610

19.28 10.42 14.36 23 0.45 597.92 26.77 2 3587520

26.27 13.66 19.18 18 1.05 413.24 21.37 2 2479429

9.93 5.83 7.73 19 0.65 438.88 28.57 18 2633276

10.38 6.06 8.06 27 0.34 720.43 35.72 12 4322558

7.76 4.7 6.15 17 0.28 378.84 22.39 0 2273034

13.23 7.5 10.11 10 0.54 162.62 12.51 0 975728

8.83 5.26 6.93 16 0.55 329.88 21.81 10 1979261

10.28 6.01 7.99 19 0.56 429.28 29.03 0 2575685

10.01 5.87 7.79 12 0.86 221.71 23.44 0 1330273

10.34 6.04 8.03 9 0.91 138.73 15.58 58 832388

4.25 2.77 3.5 13 0.29 241.71 25.35 2 1450253

5.79 3.64 4.67 6 1.14 71.32 11.62 12 427909

8.78 5.24 6.89 16 1.2 333.61 34.57 0 2001644

11.93 6.84 9.18 6 1.4 69.74 11.99 0 418443

3.16 2.14 2.65 5 0.55 60.06 15.13 0 360353

2.44 1.71 2.08 7 0.43 95.95 25.71 9 575680

3.46 2.32 2.89 5 1.49 50.43 16.38 4 302605

\Feature\Development\tectrm\tectrm.c

\Driver\radar\fmradarhw.c

\Feature\Platform\sigproc\targdet.c

\Feature\Platform\radar\radar.c

\Driver\radar\swpgen.c

\Feature\Platform\sigproc\fmdetect.c

\Feature\Development\tectrm\PrintInfo.c

\Feature\Platform\EEPROM\eeprom.c

\Driver\CAN\canhw.c

\Feature\Platform\sigproc\sigproc.c

\Feature\Platform\sigproc\mtt.c

\Driver\system\system.c

\Feature\Platform\EEPROM\evu.c

\Driver\radar\radarhw.c

\Feature\Platform\common\MathUtil.c

\Feature\Platform\sigproc\detparams.c

\Driver\system\selftest.c

\Feature\Platform\sigproc\bsdclassifier.c

\Feature\Development\serial\serial.c

Function Name File Name Size Dec

tectrm_decode_message ../Feature/Development/tectrm/tectrm.c 11335

pairing ../Feature/Platform/sigproc/fmdetect.c 3598

RCP_Rev10_ModelBlo_RCPAlgorithm ../Feature/Platform/algo/rcta/RCPAlgorithm.c 2458

XY_BSD_Interface_KF_Bus_Packing ../Feature/Platform/algo/bsd/BSD_Interface_KF_Bus_Packing.c 2258

radar_compensate_bias_for_drift ../Feature/Platform/radar/radar.c 1930

tectrm_command_help ../Feature/Development/tectrm/tectrm.c 1840

XY_Filter_BSD_ModelBl_BSD_MODEL ../Feature/Platform/algo/bsd/BSD_MODEL.c 1675

XY_Filter_BSD_ModelBl_XY_Filter ../Feature/Platform/algo/bsd/XY_Filter.c 1671

XY_Fi_BSD_RCTA_Model_JP_Honda_1

../Feature/Platform/algo/bsd/BSD_RCTA_Model_JP_Honda_1.c 1667

RCP_Rev10_Mode_CreateRangeTrack ../Feature/Platform/algo/rcta/TargetXChaser.c 1288

XY_Fil_meas_update_2nd_constvel ../Feature/Platform/algo/bsd/XY_Filter.c 1287

RCP_Rev10_ModelBlo_updateParams ../Feature/Platform/algo/rcta/RCPAlgorithm.c 1287

RCP_Rev10_ModelBlock_v1_RCP_TTC

../Feature/Platform/algo/rcta/RCPAlgorithm.c 1274

RCP_Rev10_ModelBl_MakeTwoDimTrk ../Feature/Platform/algo/rcta/TargetXChaser.c 1144

RCP_Rev10_Mo_SetAlgorithmInputs ../Feature/Platform/algo/rcta/SetAlgorithmInputs.c 1092

est_ambig_ranges ../Feature/Platform/sigproc/fmdetect.c 981

Texas Instruments Code Generation tools function information. Total 1441 functions

Texas Instruments Code Generation tools section information

The Texas Instruments tools are augmented with scripts provided by TI as well asthe Eclipse IDE & GNU tools support common scripting languages and plug-in extensibility.

***************************************************************************** TMS320C2000 Linker PC v6.0.2 ******************************************************************************>> Linked Mon Feb 06 14:30:45 2012

MEMORY CONFIGURATION name origin length used unused attr fill---------------------- -------- --------- -------- -------- ---- --------PAGE 0: RAMFUNC 00000400 00000400 000001c7 00000239 RWIX ZONE0 00004000 00001000 00000000 00001000 RWIX ZONE6 00100000 00100000 00000000 00100000 RWIX SHARC_RES 00300000 00000005 00000000 00000005 RWIX SHARC_MAIN 00300005 00000002 00000002 00000000 RWIX FLASH 00300007 00037ff9 00034d9d 0000325c RWIX FLASHLO_RES 00338000 00000005 00000000 00000005 RWIX FLASHA 00338005 00007f7b 00000000 00007f7b RWIX CSM_RSVD 0033ff80 00000076 00000000 00000076 RWIX BEGIN 0033fff6 00000002 00000000 00000002 RWIX CSM_PWL 0033fff8 00000008 00000000 00000008 RWIX --------- total unused Flash 45665

Texas Instruments Code Generation tools link map information

The Texas Instruments tools are augmented with scripts provided by TI as well asthe Eclipse IDE & GNU tools support common scripting languages and plug-in extensibility.

************************************************************REPORT FOR FILE: SRR-NB.out ( condensed )************************************************************

Flash bytes remaining 432958 X 16 216479Flash sects bytes 45665

section name Size (Dec) Type Load Run Size (Hex) .switch : 408 DATA 0x00334cda 0x00334cda 0x00000198

.cinit : 4246 DATA 0x0033448f 0x0033448f 0x00001096 ramfuncs : 910 CODE 0x003342c8 0x00000400 0x0000038e

.econst : 155020 DATA 0x00321402 0x00321402 0x00025d8c .text : 272370 CODE 0x00300008 0x00300008 0x000427f2

codestart : 4 CODE 0x00300005 0x00300005 0x00000004

● System Metrics

● Project Metrics● File Metrics● Function Metrics● Memory and Byte/Bit Metrics

Maximum Program Size 256 Kbyes

Clock freq / cycle time 150 MHz / 6.67-ns

MFLOPS / MIPS 300 / 150

Pins Package size 164

Memory Architecture 16 x Single Access RAM

Texas Instruments TMS320F28335

Real time sweep processing 40 msec 56 msec

Embedded System Specifications: Static and Real Time Customer (RFQ) Requirements

Click to add title

➲ Click to add an outline

COCOMO analysis NB_Platform

Total files

48

Total lines

64216

●QA-C COCOMO 81 cost analysis report 'embedded'.

QA-C NB Project Analysis

Project Metric LOC

PRQA QA-C 7.0 offers Project, File, and Function Metrics browser graphics and csv output.

Spreadsheet of QA-C Report Embedded COCOMO

=====================================================COCOMO COST ESTIMATION MODEL - mode is Embedded Reference Boehm, (1981) for COCOMO model. Savings computation performed using the COCOMO TOOL multiplier and the SEI Software Process Maturity Model for effectiveness of tool use.=====================================================

NB_Platform

Total files : 48Total lines : 64216ESTIMATED DEVELOPMENT STATISTICS, AND COSTS (Few tools - e.g. CMM level 1):Total programmer time (months): 659.016Elapsed time for development (months): 19.952Programmers required to complete on time : 34Total estimated costs ($ / ): 5491801.607�

ESTIMATED DEVELOPMENT STATISTICS, AND COSTS (Some tools - e.g. CMM level 2):Total programmer time (months): 531.465Elapsed time for development (months): 18.625Programmers required to complete on time : 29Total estimated costs ($ / ): 4428872.264�

End of Reports->Project Metric-> Em-bedded

Metric Name Metric Value

STNRA 0

STNEA 94

STNFA (functions) 1458

STCYA 4722

STNRA Number of Recursions Across ProjectSTNEA Number of Entry Points Across ProjectSTNFA Number of Functions Across ProjectSTCYA Cyclomatic Complexity Across Project

69 Project, File and Function Metrics values produced by PRQA QA-C 7.0

copyright 2009 Programming Research Ltd.

Project Metric Report

Project-Wide Metrics

Generated on 2012-01-25 08:17:42

MKS Integrity 'Metric for Project' Checkpoint 1.10 TL_Rel7 January 31th

MKS tracks revisions using 'Checkpoints' and 'Label' using history and views in-formation from previous revisions can be accessed. Silver and Gold are not refer-enced in MKS

e:/MKSProjects/Radar/NB/NB_Platform/NB_Platform.pj

1.11 Afrah Naik (anaik) Feb 6, 201210:50:31 AM

in_test ICRD1206-01

Internal Code Release: ICRD1206-01

1.10 Stephen Vachon(svachon)

Jan 30, 201211:33:44 AM

in_test TL_Rel7 TL release 7, added check for d1 boardsto switch the direction of the offset

1.9 Stephen Vachon(svachon)

Jan 28, 201212:10:36 PM

in_test TL_Rel6a TL release 6a

1.8 Stephen Vachon(svachon)

Jan 26, 20125:08:44 PM

in_test TL_Rel5d TL release 5

1.7 Stephen Vachon(svachon)

Jan 20, 20122:36:20 PM

in_test TL_rel3 Relese 3 for the TL, BSD detection andFeature working. RCTA detection workingand Feature is being worked on Modeswitching works, LED is only on/off, nodimming

1.6 Stephen Vachon(svachon)

Jan 18, 20124:46:25 PM

in_test TL_rel2 TL release 2

1.5 Stephen Vachon(svachon)

Jan 13, 20123:31:01 PM

in_test TL_rel1 Initial Release for TL vehicle.

1.4 Magnus Larsson(mlarsson)

Dec 10, 20114:11:15 PM

in_test This version of silver/gold standard isrunning BSD with some success. Pre splitof targdet.

1.3 Torbjorn Jacobsson(tjacobss)

Dec 7, 201110:13:08 AM

in_test Checkpoint before adding RCTAparameters.

1.2 Jorge Alejandro(jalejand)

Nov 11, 20116:21:23 PM

in_test Checkpoint before removing rangedet,fftspeed, and mttk from platform...

1.1 Afrah Naik (anaik) Nov 7, 20113:57:50 PM

in_test

STBME COCOMO Embedded Programmer MonthsSTBMO COCOMO Organic Programmer MonthsSTBMS COCOMO Semi-detached Programmer MonthsSTBUG Residual Bugs (token-based estimate)STCDN Comment o Code RatioSTDEV Estimated Development TimeSTDIF Program DifficultySTECT Number of External VariablesSTEFF Program EffortSTFCO Estimated Function CouplingSTFNC Number of Function DefinitionsSTHAL Halstead Prediction Of STTOTSTM20 Number of Operand OccurrencesSTM21 Number of Operator OccurrencesSTM22 Number of StatementsSTM28 Number of Non-Header CommentsSTM33 Number of Internal CommentsSTMOB Code MobilitySTOPN Halstead Distinct OperandsSTOPT Halstead Distinct OperatorsSTPRT Estimated Porting TimeSTSCT Number of Static VariablesSTSHN Shannon Information ContentSTTDE COCOMO Embedded Total MonthsSTTDO COCOMO Organic Total MonthsSTTDS COCOMO Semi-detached Total MonthsSTTLN Total Preprocessed Source LinesSTTOT Total Number of TokensSTTPP Total Unpreprocessed Source LinesSTVAR Number of IdentifiersSTVOL Program VolumeSTZIP Zipf Prediction of STTOT

PRQA QA-C 7.0

File-Based Metrics (32)172: QA C Users Guide Unix

Masters Thesis “Automatic Measurement of Source Code Complexity” Hassan Raza Bhatti January 2010

Resulting csv or spread sheet output 44 file rows by 32 file metrics columns which can then be sor-ted.

Interactive graphic provides scope data on mouse over interaction.

Metrics (32) File (44) selectable.

Many “views” can be crated to display various perspectives or views of the data set.

Define Location STM22 STBME STBMO STBMS STBUG STCDN STDEV STDIF

Feature\Development\tectrm\tectrm.c 2373 50.91 24.37 35.56 55 0.17 2161.63 30.97

Driver\radar\fmradarhw.c 989 9.11 5.41 7.14 22 0.4 560.74 30.07

Feature\Platform\sigproc\targdet.c 921 18.8 10.2 14.03 22 0.46 534.05 25.38

Driver\radar\swpgen.c 864 9.92 5.83 7.73 19 0.65 434.81 28.7

Feature\Platform\sigproc\fmdetect.c 827 10.33 6.04 8.02 26 0.34 714.15 35.57

Feature\Platform\radar\radar.c 749 23.52 12.4 17.29 16 1.15 344.3 21.49

Feature\Development\tectrm\PrintInfo.c 643 7.56 4.59 5.99 17 0.28 378.53 22.83

Driver\CAN\canhw.c 627 8.77 5.23 6.89 16 0.57 329.18 21.95

Feature\Platform\EEPROM\eeprom.c 607 12.44 7.1 9.55 10 0.54 154.68 12.59

Feature\Platform\sigproc\mtt.c 547 10.01 5.87 7.79 12 0.86 221.71 23.44

Driver\system\system.c 500 10.34 6.04 8.03 9 0.91 138.73 15.58

Feature\Platform\sigproc\sigproc.c 474 9.19 5.45 7.2 14 0.67 269.11 23.93

Feature\Platform\EEPROM\evu.c 446 3.8 2.51 3.15 12 0.28 228.25 25.98

Driver\radar\radarhw.c 389 5.82 3.65 4.7 6 1.14 70.61 11.53

Feature\Platform\common\MathUtil.c 369 8.61 5.15 6.77 16 1.19 328.42 34.49

PRQA QA-C “File-Based Metric Browser” CSV file export (15x 9 subset) 44 file rows by 32 metrics columns

File Name Lines Statements

% Branches Comments Functions Avg Stmts/Function

Max Complexity

Max Depth

Avg Depth Avg Complexity

Feature\Development\tectrm\tectrm.c 9,341 4,020 34.2 15 228 26.4 253 7 2.23 6.78

Driver\radar\fmradarhw.c 5,953 2,662 10.6 39.8 129 33.1 25 5 1.31 2.91

Feature\Platform\sigproc\targdet.c 5,609 1,799 19.5 29.5 92 29.9 19 8 1.66 4.92

Feature\Platform\radar\radar.c 4,793 1,185 21.4 48 161 10.6 46 4 1.45 2.86

Driver\radar\swpgen.c 2,324 1,047 9.6 43.2 39 45.4 25 5 1.26 3.97

Feature\Platform\sigproc\fmdetect.c 2,190 1,044 23.9 17.9 8 212.6 202 9+ 3.12 38.63

Feature\Platform\sigproc\mtt.c 2,475 875 19.8 38.5 46 27.6 20 9+ 2.08 5

Vendor\TI\include\DSP2833x_ECan.h 1,176 873 0 63.3 0 0 0 1 0.91 0

Driver\CAN\canhw.c 2,009 832 21.2 33.5 38 33 17 6 1.8 4.42

Feature\Development\tectrm\PrintInfo.c 1,875 832 14.9 33.4 49 28.7 43 3 1.28 3.27

Feature\Platform\EEPROM\eeprom.c 2,744 816 12.9 39.1 75 16.3 14 5 1.22 2.73

Feature\Platform\sigproc\sigproc.c 2,178 747 23 35.5 72 15 32 6 1.7 3.43

Driver\system\system.c 2,433 667 12.9 43.8 107 6.6 8 3 0.64 1.82

Feature\Platform\EEPROM\evu_structs.h 844 616 0 54.6 0 0 0 1 0.93 0

Feature\Platform\sigproc\detparams.c 2,754 584 19.9 48.2 132 5.9 5 3 1.01 2.29

Feature\Platform\EEPROM\evu.c 1,186 562 7.5 30.7 20 48.3 9 5 1.82 4.6

Feature\Platform\common\MathUtil.c 1,946 523 19.3 41.1 48 16.9 12 5 1.44 3.25

Vendor\TI\include\DSP2833x_McBSP.h 723 513 0 66.3 0 0 0 1 0.87 0

Driver\radar\radarhw.c 1,475 499 7.4 47.8 53 14.8 7 3 1.01 1.74

Source Monitor spreed sheet output http://campwoodsw.com/sourcemonitor.html 10 Metrics Columns subset of 120 file rows

Large spreed sheets can be difficult to scale to a slide format.

A spreadsheet generated from the sourcemonitor tools

Average Complexity 'fmdetect.c'' clearly differen-tiated.(38.63).

PRQA QA-C 7.0 File Metric Description Source Monitor

STTPP Total Unpreprocessed Source Lines

Lines

STM22 Number of Statements Statements

STVOL Program Volume Avg Complexity

Suggested Cross Reference of the tool language

PRQA analysis did not clearly identify the complexity difference between the Technicians Terminal Interface program techterm.c and the essential signal Processing Function 'Detection-Beamforming' fmdetect.c

The Value of PRQA is in the interactive GUI interface and multiple Graphic views. Not the Metrics data.

Define Location STBME STBMO STBMS STBUG STCDN STDEV STDIF STECT STEFF

53.56 25.48 37.28 56 0.17 2236.31 30.72 2 13417844

11.21 6.49 8.66 27 0.38 721.6 33.13 34 4329610

19.28 10.42 14.36 23 0.45 597.92 26.77 2 3587520

26.27 13.66 19.18 18 1.05 413.24 21.37 2 2479429

9.93 5.83 7.73 19 0.65 438.88 28.57 18 2633276

10.38 6.06 8.06 27 0.34 720.43 35.72 12 4322558

7.76 4.7 6.15 17 0.28 378.84 22.39 0 2273034

13.23 7.5 10.11 10 0.54 162.62 12.51 0 975728

8.83 5.26 6.93 16 0.55 329.88 21.81 10 1979261

10.28 6.01 7.99 19 0.56 429.28 29.03 0 2575685

10.01 5.87 7.79 12 0.86 221.71 23.44 0 1330273

10.34 6.04 8.03 9 0.91 138.73 15.58 58 832388

4.25 2.77 3.5 13 0.29 241.71 25.35 2 1450253

5.79 3.64 4.67 6 1.14 71.32 11.62 12 427909

8.78 5.24 6.89 16 1.2 333.61 34.57 0 2001644

11.93 6.84 9.18 6 1.4 69.74 11.99 0 418443

3.16 2.14 2.65 5 0.55 60.06 15.13 0 360353

2.44 1.71 2.08 7 0.43 95.95 25.71 9 575680

3.46 2.32 2.89 5 1.49 50.43 16.38 4 302605

\Feature\Development\tectrm\tectrm.c

\Driver\radar\fmradarhw.c

\Feature\Platform\sigproc\targdet.c

\Feature\Platform\radar\radar.c

\Driver\radar\swpgen.c

\Feature\Platform\sigproc\fmdetect.c

\Feature\Development\tectrm\PrintInfo.c

\Feature\Platform\EEPROM\eeprom.c

\Driver\CAN\canhw.c

\Feature\Platform\sigproc\sigproc.c

\Feature\Platform\sigproc\mtt.c

\Driver\system\system.c

\Feature\Platform\EEPROM\evu.c

\Driver\radar\radarhw.c

\Feature\Platform\common\MathUtil.c

\Feature\Platform\sigproc\detparams.c

\Driver\system\selftest.c

\Feature\Platform\sigproc\bsdclassifier.c

\Feature\Development\serial\serial.c

Function Name File Name Size Dec

tectrm_decode_message ../Feature/Development/tectrm/tectrm.c 11335

pairing ../Feature/Platform/sigproc/fmdetect.c 3598

RCP_Rev10_ModelBlo_RCPAlgorithm ../Feature/Platform/algo/rcta/RCPAlgorithm.c 2458

XY_BSD_Interface_KF_Bus_Packing ../Feature/Platform/algo/bsd/BSD_Interface_KF_Bus_Packing.c 2258

radar_compensate_bias_for_drift ../Feature/Platform/radar/radar.c 1930

tectrm_command_help ../Feature/Development/tectrm/tectrm.c 1840

XY_Filter_BSD_ModelBl_BSD_MODEL ../Feature/Platform/algo/bsd/BSD_MODEL.c 1675

XY_Filter_BSD_ModelBl_XY_Filter ../Feature/Platform/algo/bsd/XY_Filter.c 1671

XY_Fi_BSD_RCTA_Model_JP_Honda_1

../Feature/Platform/algo/bsd/BSD_RCTA_Model_JP_Honda_1.c 1667

RCP_Rev10_Mode_CreateRangeTrack ../Feature/Platform/algo/rcta/TargetXChaser.c 1288

XY_Fil_meas_update_2nd_constvel ../Feature/Platform/algo/bsd/XY_Filter.c 1287

RCP_Rev10_ModelBlo_updateParams ../Feature/Platform/algo/rcta/RCPAlgorithm.c 1287

RCP_Rev10_ModelBlock_v1_RCP_TTC

../Feature/Platform/algo/rcta/RCPAlgorithm.c 1274

RCP_Rev10_ModelBl_MakeTwoDimTrk ../Feature/Platform/algo/rcta/TargetXChaser.c 1144

RCP_Rev10_Mo_SetAlgorithmInputs ../Feature/Platform/algo/rcta/SetAlgorithmInputs.c 1092

est_ambig_ranges ../Feature/Platform/sigproc/fmdetect.c 981

Texas Instruments Code Generation tools function information. Total 1441 functions

Texas Instruments Code Generation tools section information

The Texas Instruments tools are augmented with scripts provided by TI as well asthe Eclipse IDE & GNU tools support common scripting languages and plug-in extensibility.

***************************************************************************** TMS320C2000 Linker PC v6.0.2 ******************************************************************************>> Linked Mon Feb 06 14:30:45 2012

MEMORY CONFIGURATION name origin length used unused attr fill---------------------- -------- --------- -------- -------- ---- --------PAGE 0: RAMFUNC 00000400 00000400 000001c7 00000239 RWIX ZONE0 00004000 00001000 00000000 00001000 RWIX ZONE6 00100000 00100000 00000000 00100000 RWIX SHARC_RES 00300000 00000005 00000000 00000005 RWIX SHARC_MAIN 00300005 00000002 00000002 00000000 RWIX FLASH 00300007 00037ff9 00034d9d 0000325c RWIX FLASHLO_RES 00338000 00000005 00000000 00000005 RWIX FLASHA 00338005 00007f7b 00000000 00007f7b RWIX CSM_RSVD 0033ff80 00000076 00000000 00000076 RWIX BEGIN 0033fff6 00000002 00000000 00000002 RWIX CSM_PWL 0033fff8 00000008 00000000 00000008 RWIX --------- total unused Flash 45665

Texas Instruments Code Generation tools link map information

The Texas Instruments tools are augmented with scripts provided by TI as well asthe Eclipse IDE & GNU tools support common scripting languages and plug-in extensibility.

************************************************************REPORT FOR FILE: SRR-NB.out ( condensed )************************************************************

Flash bytes remaining 432958 X 16 216479Flash sects bytes 45665

section name Size (Dec) Type Load Run Size (Hex) .switch : 408 DATA 0x00334cda 0x00334cda 0x00000198

.cinit : 4246 DATA 0x0033448f 0x0033448f 0x00001096 ramfuncs : 910 CODE 0x003342c8 0x00000400 0x0000038e

.econst : 155020 DATA 0x00321402 0x00321402 0x00025d8c .text : 272370 CODE 0x00300008 0x00300008 0x000427f2

codestart : 4 CODE 0x00300005 0x00300005 0x00000004