Tutorial


Preface

I have attempted to make the tutorial as easy to follow as possible. After completion of the tutorial you will by no means be an expert in the use of USC COCOMO. The tutorial is an attempt to give the user knowledge on how to use the basic tool functions and provoke interest by the user to "play around" with the tool and see what all it can do. Good luck!

Note

When the tool is started up from your galaxy account a series of warning messages flash in the window. These are to be ignored but there are a few minor bugs with the interface of the tool. I will try to explain what they are when they arise in order to not confuse the user.

Starting up the tool

In order to use the tool on the HP700's you have to telnet into your galaxy account and cd into ~dbutler/bin From here you type the command run-cocomo & This will run the tool in the background and the tool window will appear on your screen. For those of you who need more information on how to start up the tool here are the steps:
  1. In an hpterm window type xhost + galaxy
  2. In an hpterm window type xterm
  3. In this newly formed xterm window type telnet galaxy and proceed to login.
  4. Once in your galaxy account type setenv DISPLAY (machine name):0.0. The machine name is the name of the machine your are stationed at. Example: setenv DISPLAY Adder:0.0
  5. Now type cd ~dbutler/bin
  6. Finally type run-cocomo &

Starting the tutorial

Load a sample project out of my directory. Here are the steps:
This will load three modules that I have inputted and changed some of the default values on. This tool looks at the modules in a project and the attributes of those modules in order to give a cost estimation. First I want you to delete the module delete me. Now it is time for you to add a module. Now try changing some of the fields in this module. The only editable fields are Rate($/M), AAF(Adaptation Adjusting Factor), EAF(Effort Adjustment Factor), and EDSI/ADSI(Adapted/Equivalent Delivered Source Instructions this field can be changed from the AAF field).
Look at the computed values on the module that you have created. The fields are:
Nominal Person-Month Development(NOM PM DEV)
This column holds the calculated schedule estimate without incorporating the adjusting factors.
Actual Person-Month Development(ACT PM DEV)
This column holds the calculated schedule estimate including the adjusting factors.
Productivity(PROD)
This column contains the calculated result of the individual EDSI divided by the calculated acutual scedule estimate in person-months. This gives the estimated number of lines of code per person-month.
Cost Column(Cost)
This column contains the calculated extimate of the development cost for a particular module.
Instruction Cost Column(Inst Cost)
This column contains the cost of each instruction. This figure is calculated from the EDSI/Cost * Number of modules.
Full-time Software Personnel(FSWP)
This column houses the calculated estimate for the number of full-time developers that would be needed to complete a module in the estimated development time.

Also look at the totals of these columns that are displayed at the bottom of the tool.

Now try looking at the Phase Distribution
Here is where the formal tutorial ends. To exit the tool pull down the file menu and choose exit. Warning messages will be displayed telling you that you have not saved your data. Change directories to your account (the same way you changed to load the information from my account) then same or don't save your work. Note that if you do save your work using the save as command... When you go to the field at the bottom of the pop-up window and click in it to insert the name of your project no cursor appears. If you are not saving your work just exit and have a nice day.
If you would like to find out more about the USC COCOMO tool you should take the time out to look at the other sections of it that were overlooked for time's sake. Here are some things to do.
  1. Add more modules and try to map out the PCM.
  2. Take a Snapshot(off of the edit window) then change some of the information in the modules. Then compare it to the information in the snapshot.(An option in snapshot)
  3. Change the Development Mode (Default is Organic) other settings are Semi-detached and Embedded.
  4. Look at the Maintenance menu. This allows you to figure out the cost of maintenance on the project for up to five years. If you would like to download the software or find out more information on the tool straight from the "horse's mouth" look at the Cocomo site.