تبليغاتX
Software Technology
 
papers about software Engineer
 

The COCOMO cost estimation model is used by thousands of software project managers, and is based on a study of hundreds of software projects. Unlike other cost estimation models, COCOMO is an open model, so all of the details are published, including:

  • The underlying cost estimation equations
  • Every assumption made in the model (e.g. "the project will enjoy good management")
  • Every definition (e.g. the precise definition of the Product Design phase of a project)
  • The costs included in an estimate are explicitly stated (e.g. project managers are included, secretaries aren't)

Because COCOMO is well defined, and because it doesn't rely upon proprietary estimation algorithms, Costar offers these advantages to its users:

  • COCOMO estimates are more objective and repeatable than estimates made by methods relying on proprietary models
  • COCOMO can be calibrated to reflect your software development environment, and to produce more accurate estimates

Costar is a faithful implementation of the COCOMO model that is easy to use on small projects, and yet powerful enough to plan and control large projects.

Typically, you'll start with only a rough description of the software system that you'll be developing, and you'll use Costar to give you early estimates about the proper schedule and staffing levels. As you refine your knowledge of the problem, and as you design more of the system, you can use Costar to produce more and more refined estimates.

Costar allows you to define a software structure to meet your needs. Your initial estimate might be made on the basis of a system containing 3,000 lines of code. Your second estimate might be more refined so that you now understand that your system will consist of two subsystems (and you'll have a more accurate idea about how many lines of code will be in each of the subsystems). Your next estimate will continue the process -- you can use Costar to define the components of each subsystem. Costar permits you to continue this process until you arrive at the level of detail that suits your needs.

One word of warning: It is so easy to use Costar to make software cost estimates, that it's possible to misuse it -- every Costar user should spend the time to learn the underlying COCOMO assumptions and definitions from Software Engineering Economics and Software Cost Estimation with COCOMO II.

Introduction to the COCOMO Model

The most fundamental calculation in the COCOMO model is the use of the Effort Equation to estimate the number of Person-Months required to develop a project. Most of the other COCOMO results, including the estimates for Requirements and Maintenance, are derived from this quantity.

Source Lines of Code

The COCOMO calculations are based on your estimates of a project's size in Source Lines of Code (SLOC). SLOC is defined such that:

  • Only Source lines that are DELIVERED as part of the product are included -- test drivers and other support software is excluded
  • SOURCE lines are created by the project staff -- code created by applications generators is excluded
  • One SLOC is one logical line of code
  • Declarations are counted as SLOC
  • Comments are not counted as SLOC

The original COCOMO 81 model was defined in terms of Delivered Source Instructions, which are very similar to SLOC.  The major difference between DSI and SLOC is that a single Source Line of Code may be several physical lines.  For example, an "if-then-else" statement would be counted as one SLOC, but might be counted as several DSI.

The Scale Drivers

In the COCOMO II model, some of the most important factors contributing to a project's duration and cost are the Scale Drivers. You set each Scale Driver to describe your project; these Scale Drivers determine the exponent used in the Effort Equation.

The 5 Scale Drivers are:

  • Precedentedness
  • Development Flexibility
  • Architecture / Risk Resolution
  • Team Cohesion
  • Process Maturity

Note that the Scale Drivers have replaced the Development Mode of COCOMO 81.  The first two Scale Drivers, Precedentedness and Development Flexibility actually describe much the same influences that the original Development Mode did.

Cost Drivers

COCOMO II has 17 cost drivers – you assess your project, development environment, and team to set each cost driver. The cost drivers are multiplicative factors that determine the effort required to complete your software project. For example, if your project will develop software that controls an airplane's flight, you would set the Required Software Reliability (RELY) cost driver to Very High. That rating corresponds to an effort multiplier of 1.26, meaning that your project will require 26% more effort than a typical software project.

Click here to see which Cost Drivers are in which Costar models.

COCOMO II defines each of the cost drivers, and the Effort Multiplier associated with each rating. Check the Costar help for details about the definitions and how to set the cost drivers.

COCOMO II Effort Equation

The COCOMO II model makes its estimates of required effort (measured in Person-Months – PM) based primarily on your estimate of the software project's size (as measured in thousands of SLOC, KSLOC)):

  
  Effort = 2.94 * EAF * (KSLOC)E

Where
    EAF   Is the Effort Adjustment Factor derived from the Cost Drivers
    E        Is an exponent derived from the five Scale Drivers

As an example, a project with all Nominal Cost Drivers and Scale Drivers would have an EAF of 1.00 and exponent, E, of 1.0997. Assuming that the project is projected to consist of 8,000 source lines of code, COCOMO II estimates that 28.9 Person-Months of effort is required to complete it:

    Effort = 2.94 * (1.0) * (8)1.0997 = 28.9 Person-Months

Effort Adjustment Factor

The Effort Adjustment Factor in the effort equation is simply the product of the effort multipliers corresponding to each of the cost drivers for your project.

For example, if your project is rated Very High for Complexity (effort multiplier of 1.34), and Low for Language & Tools Experience (effort multiplier of 1.09), and all of the other cost drivers are rated to be Nominal (effort multiplier of 1.00), the EAF is the product of 1.34 and 1.09.

    Effort Adjustment Factor = EAF = 1.34 * 1.09 = 1.46

    Effort = 2.94 * (1.46) * (8)1.0997 = 42.3 Person-Months

COCOMO II Schedule Equation

The COCOMO II schedule equation predicts the number of months required to complete your software project. The duration of a project is based on the effort predicted by the effort equation:

    Duration = 3.67 * (Effort)SE

Where
    Effort   Is the effort from the COCOMO II effort equation
    SE        Is the schedule equation exponent derived from the five Scale Drivers

Continuing the example, and substituting the exponent of 0.3179 that is calculated from the scale drivers, yields an estimate of just over a year, and an average staffing of between 3 and 4 people:

    Duration = 3.67 * (42.3)0.3179 = 12.1 months

    Average staffing = (42.3 Person-Months) / (12.1 Months) = 3.5 people

The SCED Cost Driver

The COCOMO cost driver for Required Development Schedule (SCED) is unique, and requires a special explanation.

The SCED cost driver is used to account for the observation that a project developed on an accelerated schedule will require more effort than a project developed on its optimum schedule. A SCED rating of Very Low corresponds to an Effort Multiplier of 1.43 (in the COCOMO II.2000 model) and means that you intend to finish your project in 75% of the optimum schedule (as determined by a previous COCOMO estimate). Continuing the example used earlier, but assuming that SCED has a rating of Very Low, COCOMO produces these estimates:

    Duration = 75% * 12.1 Months = 9.1 Months

    Effort Adjustment Factor = EAF = 1.34 * 1.09 * 1.43 = 2.09

    Effort = 2.94 * (2.09) * (8)1.0997 = 60.4 Person-Months

    Average staffing = (60.4 Person-Months) / (9.1 Months) = 6.7 people

Notice that the calculation of duration isn't based directly on the effort (number of Person-Months) – instead it's based on the schedule that would have been required for the project assuming it had been developed on the nominal schedule. Remember that the SCED cost driver means "accelerated from the nominal schedule".

The Costar command Constraints | Constrain Project displays a dialog box that lets you trade off duration vs. effort (SCED is set for you automatically).  You can use the dialog box to constrain your project to have a fixed duration, or a fixed cost

http://www.softstarsystems.com/overview.htm.

  نوشته شده در  یکشنبه یازدهم مرداد 1388ساعت 23:39  توسط Ali  | 

In many software application areas,it is often more cost -effective to acquire ,rather than develop,computer software.Software engineering managers are faced with a make-buy decesion that can be further complicated by a number of acquisition option :1 software may be purchased or licensed off-the shelf , 2 off - the - shelf software may be purchased and then modified to meet specific needs , or 3 software may be custom - built by an outside contractor to meet the purchase specifications . the steps involved in the acquisition of software are defined by the criticality of the software to be purchased and the end cost

  نوشته شده در  یکشنبه یازدهم مرداد 1388ساعت 22:17  توسط Ali  | 

Transparency means fooling everyone into thinking that the client/server system is totally seamless.It really means hiding the network and its srversfrom the users and even the application programmers.Here are some of the types of tranparencies the NOS middleware is expected to provide as part of its "network disappearing act": Location transparency -  , Namespace transparency - , Logon transparency - , Replication transparency - , Local/remote access transparency - , Distributed time transparency - , Failure transparency - , administration  transparency

  نوشته شده در  چهارشنبه هفتم مرداد 1388ساعت 23:4  توسط Ali  | 

 

 

 

Topology Supports up to 8 simultaneous links in a piconet
Flexibility Goes through walls, bodies, clothes, ...
Data Rate 1 MSPS, 721 Kbps
Power 0.1 Watts active power
Size/Weight 25 mm × 13 mm × 2 mm, several grams
Cost Long term $5 per endpoint
Range 10 meters or less; up to 100 meters with PA
Universal Intended to work worldwide
Security Very, link layer security, SS radio

Table 1: Bluetooth features at a glance.

 

 

  نوشته شده در  چهارشنبه سی و یکم تیر 1388ساعت 0:34  توسط Ali  | 

Multiple Access with collision Avoidance

The basic idea of MACA is a wireless network node makes an announcement before it sends the data frame to inform other nodes to keep silent. When a node wants to transmit, it sends a signal called Request-To-Send (RTS) with the length of the data frame to send. If the receiver allows the transmission, it replies the sender a signal called Clear-To-Send (CTS) with the length of the frame that is about to receiveMeanwhile, a node that hears RTS should remain silent to avoid conflict with CTS; a node that hears CTS should keep silent until the data transmission is complete

WLAN data transmission collisions may still occur, and the MACA for Wireless (MACAW) is introduced to extend the function of MACA. It requires nodes sending acknowledgements after each successful frame transmission, as well as the additional function of Carrier sense


  نوشته شده در  یکشنبه بیست و هشتم تیر 1388ساعت 23:43  توسط Ali  | 

GUI  versus  OOUI

Application Structure

GUI  : Graphical User Interface  

A graphical application consists of an icon , a primary window with a menu bar , and one or more secondary windows .the focus is on the main task.

 

OOUI  : Object – Oriented User Interface  

A graphic application consists of a collection of cooperating user objects .Everything that you see is an object . Each object is represented by an icon and has at least one view .Objects can be reused in many tasks. The application’s is boundaries are fuzzy.

 

Icons

 

GUI  : Graphical User Interface

Icon  represent a running application.

 

OOUI (Object – Oriented User Interface  )

Icons represent objects that may be directly manipulated

 

Starting an application

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

Windows

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

Menus

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

Active Application Visual

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

Direct Manipulation

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

Creating New Objects

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

Actions

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

Containers

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

Focus

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

Who is in control?

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

Product Examples

GUI (Graphical User Interface  )

OOUI (Object – Oriented User Interface  )

 

  نوشته شده در  چهارشنبه هفدهم تیر 1388ساعت 0:16  توسط Ali  | 

Internet Control Message Protocol is part of the Internet Protocol Suite as defined in RFC 792. ICMP messages are typically generated in response to errors in IP datagrams (as specified in RFC 1122) or for diagnostic or routing purposes.

ICMP messages are constructed at the IP layer, usually from a normal IP datagram that has generated an ICMP response. IP encapsulates the appropriate ICMP message with a new IP header (to get the ICMP message back to the original sending host) and transmits the resulting datagram in the usual manner.

For example, every machine (such as an intermediate router) that forwards an IP datagram has to decrement the time to live (TTL) field of the IP header by one; if the TTL reaches 0, an ICMP Time to live exceeded in transit message is sent to the source of the datagram.

Each ICMP message is encapsulated directly within a single IP datagram, and thus, like UDP, ICMP is unreliable.

Although ICMP messages are contained within standard IP datagrams, ICMP messages are usually processed as a special case, distinguished from normal IP processing, rather than processed as a normal sub-protocol of IP. In many cases, it is necessary to inspect the contents of the ICMP message and deliver the appropriate error message to the application that generated the original IP packet, the one that prompted the sending of the ICMP message.

Many commonly-used network utilities are based on ICMP messages. The traceroute command is implemented by transmitting UDP datagrams with specially set IP TTL header fields, and looking for ICMP Time to live exceeded in transit (above) and "Destination unreachable" messages generated in response. The related ping utility is implemented using the ICMP "Echo request" and "Echo reply" messages.

  نوشته شده در  چهارشنبه دهم تیر 1388ساعت 23:35  توسط Ali  | 

UML 2.1 Tutorial


UML 2.1 advances the successful UML 2.0 specification, and is quickly becoming the accepted standard for specifying, documenting and visualizing software systems. The Unified Modeling Language (UML) is also used for the modeling of non-software systems, and is extensively implemented in most industry sectors including finance, military and engineering.

If you are new to the Unified Modeling Language, our Introduction to UML is a recommended starting point.

UML 2 defines thirteen basic diagram types, divided into two general sets

Continue  

http://www.sparxsystems.com

  نوشته شده در  چهارشنبه دهم تیر 1388ساعت 12:50  توسط Ali  | 

Accuracy in scheduling can sometimes be more important than accuracy in costing

  نوشته شده در  چهارشنبه بیست و هفتم خرداد 1388ساعت 20:39  توسط Ali  | 

Assume that you are project leader for an online reservation system.Identify project risks that are likely.How would you estimate the impact of the risks on the project

  نوشته شده در  چهارشنبه بیست و هفتم خرداد 1388ساعت 20:30  توسط Ali  | 
 
  POWERED BY BLOGFA.COM