![]() |
|
ADSP 21xx
Have you found this site useful? Did we save you time? Did we cure your head-ache? Is your hair growing back now? Please make a donation to help with maintenance. |
Objective Real-Time Software on the ADSP21XXSLOC ver. 1.2, ADSP Source Lines Of Code counterIntroductionSLOC is a DOS utility, for use with Analog Devices ADSP Assembler code. SLOC counts the physical and source lines of code in ADSP assembler files in an intelligent fashion, to provide an accurate code and time estimation method. Physical lines of code corresponds to the number of line feed characters in a file. Source line lines of code are a tally of all the semi colon characters, excluding those that reside inside comments. UseageSLOC is intended to be command line or batch file driven. Use the DOS dir command to create a batch file called s.bat
Edit the list of files in s.bat and then run SLOC on all assembler files in rapid succession using this batch file. The count should include all .dsp assembler and .h include files. Software Size and Time EstimationUse SLOC to count old projects that are similar in nature to the new project, then you can extrapolate time and size estimates for new projects from that data. Estimation works best when you create a spread sheet with historic data, to use for new estimates. Your estimates should then become progressively more accurate. Rules of ThumbFor DSP code, the following rules of thumb can be used for time estimation: Assume you are planning a new project, in an ISO 9001 environment, then
The average time estimate includes all programming related activities:
|
|
Copyright © 1996-2008, Aerospace Software Ltd., GPL. |