home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / educ / product.doc < prev    next >
Encoding:
Text File  |  1988-05-03  |  13.7 KB  |  322 lines

  1. Abstract from TI NOSC Technical Report
  2. Full Technical Report is Available from the DoD Ada Software Repository
  3.   on SIMTEL20
  4. Prepared by Richard Conn, TI Ada Technology Branch, 26 Sep 85
  5.  
  6.  
  7.                                CHAPTER 3
  8.  
  9.                    SOFTWARE PRODUCTIVITY INFORMATION
  10.  
  11.  
  12.  
  13.            In this chapter, Texas Instruments reports on  Software  life
  14.       cycle  labor  distribution  (as gathered from our labor collection
  15.       system), productivity (LOC) and experiences with software reuse.
  16.  
  17.  
  18.         < Detail Omitted >
  19.  
  20.  
  21.       3.2  SOFTWARE LIFE CYCLE LABOR DISTRIBUTION
  22.  
  23.            In order that proper  tracking  of  project  hours  could  be
  24.       accomplished, we established labor categories reflective of the SW
  25.       life cycle within our labor reporting system.   As  the  engineers
  26.       advanced  thru  the  life  cycle,  time  was charged to the charge
  27.       number corresponding to the phase.  Analysis of the data indicates
  28.       hours  were  spent  as  follows.  Several numbers in this data may
  29.       appear suspect; this is how the  labor  system  recorded  it;  the
  30.       accuracy  of  this data is subject to the normal problem of humans
  31.       inputting the correct data.
  32.  
  33.  
  34.                           Virtual  | Spelling  |   Style  |  Batch/Forms
  35.                           Terminal | Corrector |  Checker |   Generator
  36.                           ======== | ========= |  ======= |  ===========
  37.       Requirements                 |           |          |
  38.       System Spec                  |   11   1% |          |
  39.       Preliminary Design           |  458  30% | 416  28% |   397  29%
  40.       Users manual         16   1% |  100   7% |  35   2% |    35   3%
  41.       Detailed design     344  20% |   40   3% | 148  10% |   223  16%
  42.       Implementation      634  37% |  604  40% | 517  35% |   559  40%
  43.       Training              8   0% |    8   1% |  12   1% |     8   1%
  44.       Integration                  |           |          |     4   0%
  45.       Qaulity Assurance    26   2% |           |          |
  46.       Testing             594  35% |  226  15% | 273  18% |    79   6%
  47.       Data management       4   0% |           |          |
  48.       Configuration Mgt     1   0% |    3   0% |   3   0% |     1   0%
  49.       ------------------           |           |          |
  50.       Sub Total          1627      | 1450      |1404      |  1306
  51.       Program Management   76   4% |   76   5% |  75   5% |    75   5%
  52.       ------------------           |           |          |
  53.       Grand Total        1703      | 1526      |1479      |  1381
  54.       Manmonths          9.84      | 8.82      |8.58      |  7.98
  55.  
  56.     * Note: Percentages do not total to 100% due to roundoff errors
  57.  
  58.  
  59.            While a manmonth is contractually approximated at 173  hours,
  60.       many hours in excess of an 8 hour day were worked.
  61.  
  62.            Since this program was managed as  1  contract  with  4  task
  63.       elements, program management time was accumulated as an aggregate;
  64.       the hours spent are allocatable to the whole program, not any  one
  65.       tool  in  particular.  Total program management hours was 303.  In
  66.       the above table, these hours were allocated  equally  across  each
  67.       tool.
  68.  
  69.            Requirements and  System  specification  had  little  charges
  70.       because  the  proposals  written for these tools were written with
  71.       the intent that they serve as the requirements and  specifications
  72.       documents
  73.  
  74.            Configuration management  is  low  because  some  of  the  CM
  75.       function  was  handled  by  a support group (not allocated to this
  76.       project) and some was accomplished after the  data  was  extracted
  77.       for  this  report.   In  any case, all Software and documents have
  78.       been CM'd and a retrievable according to standard TI procedures.
  79.  
  80.       3.3  PRODUCTIVITY (LOC)
  81.  
  82.            TI used the PAGER tool from the Ada repository as  a  vehicle
  83.       by which to count Ada statements, comments and total text lines in
  84.       the tools.  This tool considers an Ada statement to be  terminated
  85.       by a semicolon.  As such, a text line can contain one Ada comment,
  86.       one or more Ada statements, or one or more Ada statements  and  an
  87.       Ada comment.
  88.  
  89.            Following is a table indicating  the  lines  of  Ada  source,
  90.       comments,  text  lines  and  testing  code  in  each  of the tools
  91.       written.  Note that in the batch/form generator  and  the  virtual
  92.       terminal,  testing  code had to be written to exercise the various
  93.       interfaces; this code was also written in Ada.
  94.  
  95.  
  96.                     Virtual     Spelling       Style         Batch/Forms
  97.                     Terminal    Corrector     Checker         Generator
  98.                     ========    =========     =======        ===========
  99.  
  100.       Ada Source:     2421        2743          3189          2869
  101.       Comments:        590        2626          2013          1707
  102.       Text Lines:     6300        9458          9762          8307
  103.  
  104.       Test Source     1218                                     163
  105.       Comments:        155                                     200
  106.       Text Lines:     1762                                    1398
  107.       ---------
  108.       Totals:
  109.         Ada Source:   3639        2743          3189          3032
  110.         Comments:      745        2626          2013          1907
  111.         Text Lines:   8062        9458          9762          9705
  112.  
  113.  
  114.            Any figures regarding lines of code/day must consider the way
  115.       lines  of  code is determined.  Some techiques consider every text
  116.       line in a program to be a line  for  measurement  purpose,  others
  117.       only  count  executable  statements  and exclude comments and data
  118.       definition.  Since there seems to be no universal agreement on the
  119.       proper technique, for the purposes of this report, we will compute
  120.       LOC based on both the total number of text  lines  and  the  total
  121.       number  of Ada source statements.  In all cases, testing code will
  122.       be counted.
  123.  
  124.  
  125.  
  126.                     Virtual     Spelling       Style         Batch/Forms
  127.                     Terminal    Corrector     Checker         Generator
  128.                     ========    =========     =======        ===========
  129.  
  130.       Ada Source:     3639        2743          3189          3032
  131.       manmonths        9.84        8.82          8.55          7.98
  132.       LOC/mm         369.8       311.0         372.98        379.9
  133.       LOC/day         17.2        14.46         17.34         17.67
  134.  
  135.       Text Lines:     8062        9458          9762          9705
  136.       manmonths        9.84        8.82          8.55          7.98
  137.       LOC/mm         819.3      1072.3        1141.75       1216.16
  138.       LOC/day         38.13       49.87         53.10         56.56
  139.  
  140.  
  141.  
  142.            LOC/day assumes 21.5 work days per month.  It should be noted
  143.       that  these  tools did require some Mil-Std documentation, such as
  144.       design specs, test plans/procedures, users manuals.  Where nothing
  145.       was mandated in the CDRL list, internal TI documentation standards
  146.       were used.
  147.  
  148.  
  149.  
  150.  
  151. Output Data from the Manpower Projection Tool, a NOSC Tool created by
  152. GTE West
  153.  
  154. The following charts and tables show projected manpower staffing based
  155. on the Cocomo model in Semidetached mode.  The data is based on the Line
  156. of Code count from each of the four NOSC tools.  Compare the projected
  157. staffing with the actual staffing which was required.  Only the nominal
  158. schedule is shown.
  159.  
  160.  
  161.  
  162.  
  163. 1. MANPOWER Projection Report for Virtual Terminal
  164.  
  165.                    Boehm / DeMarco / Estimated Staffing Profiles
  166.  
  167.  
  168.  
  169.    Lines of source code in thousands (KSLOC) =     8.0620
  170.  
  171.    Man-months of effort
  172.     (equation from Barry W. Boehm, pg.75, table 6-1) =    31.0697
  173.  
  174.    Most likely delivery time
  175.     (equation from Barry W. Boehm, pg.75, table 601) =     8.3226
  176.  
  177.    The impossible region
  178.     (equation from Tom DeMarco, pg.181) =   5.973 months or less
  179.  
  180.    Equation mode type used: SEMIDETACHED
  181.  
  182.                          Nominal     Schedule
  183.                          --------------------
  184.  
  185.  
  186.  **********     Acceleration rate =   0.033
  187.  *****   Peak staffing occurs around month   3.9     **********
  188.  
  189.  
  190.  Staffing Estimate:                                         Month      Est. Staff
  191.                                                             -----     ----------
  192.       5 |  **                                                 1         1.98404
  193.       4 | *  **                                               2         3.59405
  194.       3 |      *                                              3         4.57106
  195.       2 |*      *                                             4         4.83764
  196.       1 |                                                     5         4.49323
  197.         +--------                                             6         3.75051
  198.         0  3  6                                               7         2.84921
  199.                    Duration (months)                          8         1.98491
  200.  
  201.  
  202.  
  203. 2. MANPOWER Projection for Spelling Corrector
  204.  
  205.                    Boehm / DeMarco / Estimated Staffing Profiles
  206.  
  207.  
  208.  
  209.    Lines of source code in thousands (KSLOC) =     9.4580
  210.  
  211.    Man-months of effort
  212.     (equation from Barry W. Boehm, pg.75, table 6-1) =    37.1549
  213.  
  214.    Most likely delivery time
  215.     (equation from Barry W. Boehm, pg.75, table 601) =     8.8602
  216.  
  217.    The impossible region
  218.     (equation from Tom DeMarco, pg.181) =   6.340 months or less
  219.  
  220.    Equation mode type used: SEMIDETACHED
  221.  
  222.                          Nominal     Schedule
  223.                          --------------------
  224.  
  225.  
  226.  **********     Acceleration rate =   0.028
  227.  *****   Peak staffing occurs around month   4.2     **********
  228.  
  229.  
  230.  Staffing Estimate:                                         Month      Est. Staff
  231.                                                             -----     ----------
  232.       5 |  ****                                               1         2.02323
  233.       4 | *    *                                              2         3.72043
  234.       3 |       *                                             3         4.85158
  235.       2 |*       *                                            4         5.31742
  236.       1 |                                                     5         5.16617
  237.         +---------                                            6         4.55603
  238.         0  3  6  9                                            7         3.69361
  239.                    Duration (months)                          8         2.77357
  240.                                                               9         1.93851
  241.  
  242.  
  243. 3. MANPOWER Projection for Style Checker
  244.  
  245.                    Boehm / DeMarco / Estimated Staffing Profiles
  246.  
  247.  
  248.  
  249.    Lines of source code in thousands (KSLOC) =     9.7620
  250.  
  251.    Man-months of effort
  252.     (equation from Barry W. Boehm, pg.75, table 6-1) =    38.4950
  253.  
  254.    Most likely delivery time
  255.     (equation from Barry W. Boehm, pg.75, table 601) =     8.9708
  256.  
  257.    The impossible region
  258.     (equation from Tom DeMarco, pg.181) =   6.415 months or less
  259.  
  260.    Equation mode type used: SEMIDETACHED
  261.  
  262.                          Nominal     Schedule
  263.                          --------------------
  264.  
  265.  
  266.  **********     Acceleration rate =   0.029
  267.  *****   Peak staffing occurs around month   4.2     **********
  268.  
  269.  
  270.  Staffing Estimate:                                         Month      Est. Staff
  271.                                                             -----     ----------
  272.       6 |   *                                                 1         2.16889
  273.       5 |  * **                                               2         3.97635
  274.       4 | *    *                                              3         5.15945
  275.       3 |       *                                             4         5.61539
  276.       2 |*       *                                            5         5.40679
  277.       1 |                                                     6         4.71607
  278.         +---------                                            7         3.77397
  279.         0  3  6  9                                            8         2.79172
  280.                    Duration (months)                          9         1.91830
  281.  
  282.  
  283.  
  284. 4. MANPOWER Projection for Batch/Forms Generator
  285.  
  286.                    Boehm / DeMarco / Estimated Staffing Profiles
  287.  
  288.  
  289.  
  290.    Lines of source code in thousands (KSLOC) =     9.7050
  291.  
  292.    Man-months of effort
  293.     (equation from Barry W. Boehm, pg.75, table 6-1) =    38.2434
  294.  
  295.    Most likely delivery time
  296.     (equation from Barry W. Boehm, pg.75, table 601) =     8.9502
  297.  
  298.    The impossible region
  299.     (equation from Tom DeMarco, pg.181) =   6.401 months or less
  300.  
  301.    Equation mode type used: SEMIDETACHED
  302.  
  303.                          Nominal     Schedule
  304.                          --------------------
  305.  
  306.  
  307.  **********     Acceleration rate =   0.028
  308.  *****   Peak staffing occurs around month   4.2     **********
  309.  
  310.  
  311.  Staffing Estimate:                                         Month      Est. Staff
  312.                                                             -----     ----------
  313.       5 |  ****                                               1         2.08250
  314.       4 | *    *                                              2         3.82942
  315.       3 |       *                                             3         4.99371
  316.       2 |*       *                                            4         5.47319
  317.       1 |                                                     5         5.31751
  318.         +---------                                            6         4.68950
  319.         0  3  6  9                                            7         3.80181
  320.                    Duration (months)                          8         2.85482
  321.                                                               9         1.99529
  322.