




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































Instructor: David Longstreet [email protected] www.SoftwareMetrics.Com 816-220-1091 tel. Or 816-228-8259 fax.
The training booklet is provided complimentary to any company or individual interested in
Introduce the basic concepts of Function Point Analysis and to introduce and reinforce unit cost estimating. The exercises at the end of the section help the student demonstrate that they have gained the basic knowledge required.
Systems continue to grow in size and complexity, becoming increasingly difficult to understand. As improvements in coding tools allow software developers to produce larger amounts of software to meet ever-expanding user requirements, a method to understand and communicate that size must be used. A structured technique of problem solving, function point analysis is a method to break systems into smaller components, so they can be better understood and analyzed. This book describes function point analysis and industry trends using function points.
Human beings solve problems by breaking them into smaller, understandable pieces. Problems that may initially appear to be difficult are found to be simple when dissected into their components, or classes. When the objects to be classified are the contents of software systems, a set of definitions and rules, or a scheme of classification, must be used to place these objects into their appropriate categories. Function point analysis is one such technique: FPA is a method to break systems into smaller components, so they can be better understood and analyzed. It also provides a structured technique for problem solving.
Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature. Function Points are an ordinal measure much like other measures such as kilometers, Fahrenheit, hours, so on and so forth.
Function Points measure software by quantifying its functionality provided to the user based primarily on the logical design. Frequently the term end user or user is used without specifying what is meant. In this case, the user is a sophisticated user. Someone that would understand the system from a functional perspective --- more than likely someone that would provide requirements or does acceptance testing.
There are a variety of different methods used to count function point, but this book is based upon those rules developed by the Alan Albrecht and later revised by the International Function Point User Group (IFPUG). The IFPUG rules have much to be desired, so this book attempts to fill in gaps not defined by IFPUG.
A software application is in essence a defined set of elementary processes. When these
elementary processes are combined they interact to form what we call a software system or
software application. An elementary process is not totally independent existing alone, but the
elementary processes are woven together becoming interdependent. There are two basic types of elementary processes (data in motion and data at rest) in a software application. Data in motion has the characteristic of moving data inside to outside the application boundary or outside to inside the application boundary.
On a conceptual level, function point analysis helps define two abstract levels of data - data at rest and data in motion.
Data in motion
Data in motion is handled via transactional function types or simple transactions. All software applications will have numerous elementary processes or independent processes to move data. Transactions (or elementary processes) that bring data from outside the application domain (or application boundary) to inside that application boundary are referred to as external inputs. Transactions (or elementary processes) that take data from a resting position (normally on a file) to outside the application domain (or application boundary) are referred as either an external outputs or external inquiries (these will be defined later in this book).
Data at rest
Data at rest that is maintained by the application in question is classified as internal logical files. Data at rest that is maintained by another application are classified as external interface files.
A function point count has many uses. There are three types of function point counts. In the
section How are Function Point Useful the benefits of function point counting is discussed in great detail. The article can be found on www.SoftwareMetrics.Com.
By tracking enhancement size and associated costs a historical database for your organization
can be built. Additionally, it is important to understand how a Development project has changed over time.
Application Function Point Count
Application counts are done on existing production applications. This “baseline count” can be used with overall application metrics like total maintenance hours. This metric can be used to track maintenance hours per function point. This is an example of a normalized metric. It is not enough to examine only maintenance, but one must examine the ratio of maintenance hours to size of the application to get a true picture.
Additionally, application counts can assist organizations in understanding the size of the entire corporate portfolio (or inventory). This type of count is analogous to taking an inventory for a store. Like inventory, a dollar value can be associated with any application function point count and for the entire organization portfolio.
There are several problems with using LOC as a unit of measure for software. Imagine two applications that provide the same exact functionality (screens, reports, databases). One of the applications is written in C++ and the other application written a language like Clarion. The number of function points would be exactly the same, but aspects of the application would be different. The lines of code needed to develop the application would not be the same. The amount of effort required to develop the application would be different (hours per function point). We are able to compare the productivity of the languages. Unlike Lines of Code, the number of function points will remain constant (should remain constant).
With this in mind;
The standard economic definition of productivity is “Goods or services per unit of labor or
expenses until 1979, when A.J. Albrecht of IBM published a paper about Function Points, there was no definition of what “goods or services” were the output of software project.
While software productivity is “industrial productivity” has been a subject of interest for many years. One of the first individuals to study productivity was Frederick Taylor (1856-1912). Taylor’s major concern throughout most of his life was to increase efficiency in production. Taylor decided that the problem of productivity was a matter of ignorance on the part of
management. Taylor believed that application of scientific methods, instead of custom and rules of thumb could yield higher productivity.
Hawthorne Studies:
Several scientists undertook the famous experiments at the Hawthorne plant of the Western Electric Company in 1927 and 1932. They began a study to determine the effect of illumination on workers and their productivity. They found that productivity improved when illumination was either increased or decreased for a test group. They found that when people felt they were being noticed then their productivity increased. They also found that the improvement in productivity was due to such social factors as morale, satisfactory interrelationships and effective management. They also found that the best managers were those that managed via counseling, leading, and communicating. The phenomenon, arising basically from people being “noticed,” has been known as the Hawthorne effect.
Productivity:
The definition of productivity is the output-input ratio within a time period with due consideration for quality.
Productivity = outputs/inputs (within a time period, quality considered)
The formula indicates that productivity can be improved by (1) by increasing outputs with the same inputs, (2) by decreasing inputs but maintaining the same outputs, or (3) by increasing outputs and decreasing inputs change the ratio favorably.
Software Productivity = Function Points / Inputs
Effectiveness v. Efficiency:
Productivity implies effectiveness and efficiency in individual and organizational performance. Effectiveness is the achievement of objectives. Efficiency is the achievement of the ends with least amount of resources.
Function Points are the output of the software development process. Function points are the unit of software. It is very important to understand that Function Points remain constant regardless who develops the software or what language the software is develop in. Unit costs need to be
Is it correct to assume that unit costs are fixed for software? (Intuitively, do you expect the per unit cost to create reports the same as the per unit cost to build a data base.)
The objective of this chapter is to introduce the student to the high level steps necessary to count
function points and to perform function point analysis. Details of each step are discussed later in this book. The exercises at the end of the section help the student demonstrate that they have gained the basic knowledge required.
Even though there have been attempts by the National Bureau of Standards (NBS) and IEEE to standardize terms and definitions, there are no industry wide practiced terms and definitions related to software development. IFPUG has developed some standard terms and definitions related to function points, but these terms and definitions need to be applied to a variety of different software environments.
The overall objective is to determine adjusted function point count. There are several steps necessary to accomplish this. While you may not understand the mechanics of the following steps, they will be discussed in great detail in the remainder of the book. The actual sequence or order of steps is not necessary. Many counters will complete step 5 through out the entire count
The unadjusted function point (UFP) count is determined in steps 3 & 4. Steps 3 & 4 are discussed later in this chapter and discussed in detail later in the book. It is not important if step 3 or step 4 is completed first. In GUI and OO type applications it is easy to begin with step 3.
The final function point count (adjusted function point count) is a combination of both unadjusted function point count (UFP) and the general system characteristics (GSC’s).
Later in this document external inputs, external outputs and external inquiries are discussed in
detail. Each transaction must be an elementary process. An elementary process is the smallest unit of activity that is meaningful to the end user in the business. It must be self-contained and leave the business in consistent state.
T1. Application documentation and transaction rules are used to identify transactions.
T2. The application documentation and transaction rules are used to determine type of
transaction (external input, external output, or external inquiry).
T3. With the help of application documentation (data model and transaction model) and transaction rules the number data elements and file type referenced are determined.
T4. Each identified transaction is assigned a value of low, average or high based upon type, data elements, and files referenced.
T5. A distinct numerical value is assigned based upon type and value (low, average, or high).
T6. All transactions are summed to create a transaction unadjusted function point count.
Later in this document internal logical files and external interface files are discussed in detail.
F1. Application documentation and file rules are used to identify files.
F2. The application documentation (transaction model and data model) is used to determine type of transaction (either external interface file or internal logical file).
F3. With the help of application documentation (data model) and file rules the number data elements and record element types are determined.
F4. Each identified file is assigned a value of low, average or high based upon type, data elements and record types.
F5. A distinct numerical value is assigned based upon type and value (low, average, or high).
F6. All files are summed to create a file unadjusted function point count.
Is there any benefit to the sequence or order of counting function points? That is, is there a benefit to counting transactions prior to FTR’s?
Are transactions independent or dependent on FTR’s?
What about FTR’s? Are they counted independent or dependent of Transactions?