Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Rekayasa Perangkat Lunak

Presentasi serupa


Presentasi berjudul: "Rekayasa Perangkat Lunak"— Transcript presentasi:

1 Rekayasa Perangkat Lunak

2 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Bagian 8 FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8 2

3 Outline of this presentation
What is SM The Need for SM Type of SM Size Oriented Metric Function Oriented Metric FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

4 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric A metric is a measurement of some aspect of the software product or the software process FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

5 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric What is SM We take metrics for a variety of reasons to measure the quality of a product to assess the productivity of the people building the product to assess the benefits (productivity and quality) of new software tools to form a baseline so we can estimate for new tools to help justify requests for new tools or additional training FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

6 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric The Need for SM Software Development in general has excessive costs (especially in maintenance) low productivity poor quality lack of standards FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

7 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric The Need for SM Reasons being that we fail to: set measurable targets measure the real costs in projects quantify the quality properly evaluate new tools and techniques FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

8 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Types of Metric Size-oriented Metrics Function-oriented Metrics Technical Metrics Human-oriented Metrics Productivity Metrics Quality Metrics FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

9 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Types of Metric Size-oriented Metrics direct measures of the output and quality of the SE process Function-oriented Metrics indirect measures of the output and quality of the SE process FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

10 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Types of Metric Technical Metrics focus on the character of the software, e.g. coupling and cohesion Human-oriented Metrics information about the method by which people build and use systems FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

11 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Types of Metric Productivity Metrics focus on the output of the software engineering process Quality Metrics focus on the conformance of the software to the implicit and explicit user requirements (fitness for use) FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

12 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Size Oriented Metric Built on the past experiences of organisations Direct measures of the software Generally based on the idea of Line of Code or Source Line of Code FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

13 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Size Oriented Metric (cont.) Primary Examples: Size of a product = Kilo Lines of Code (KLOC) Productivity = KLOC/person-month Quality = number of faults/KLOC Cost = $/KLOC Documentation = Pages of Documentation/KLOC FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

14 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Size Oriented Metric Comments on Line of Code Defined as one line of text in a source file Modified by a number of factors depending upon your Source Line of Code (SLOC) Counting Standard Simplest Standard Don’t count blank lines Don’t count comments Count everything else FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

15 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Size Oriented Metric Advantages on Line of Code Artifact of software development which is easily counted Many existing methods use LOC as a key input A large body of literature and data based on LOC already exists FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

16 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric Size Oriented Metric Disadvantages of Line of Code Programming language-dependent Well-designed, but shorter programs are penalised Does not easily accommodate non-procedural languages Reuse can be difficult to factor in Difficult to develop a figure for LOC early in the development FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

17 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Concentrate on measuring the functionality of a system Are generally independent of the programming language used The first and by far the most popular is the Function Point & Feature Point FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

18 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric FUNCTION POINT Developed by Albrecht in 1979 for IBM Function points are derived using countable measures of the software requirements domain assessments of the software complexity FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

19 where Fi are the 14 complexity adjustment values
Software Metric FUNCTION Oriented Metric Calculating Function Point FP = COUNT-TOTAL X [ x Fi ] where Fi are the 14 complexity adjustment values (gives ±35%) FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

20 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Calculating Count Total for Function Point based on: Number of user inputs Number of user outputs Number of user inquiries Number of files Number of external interfaces FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

21 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Number of user inputs each user input which provides distinct application data to the software is counted Number of user outputs each user output that provides application data to the user is counted, e.g. screens, reports, error messages FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

22 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Number of user inquiries An on-line input that results in the generation of some immediate software response in the form of an output Number of files each logical master file, i.e. a logical grouping of data that may be part of a database or a separate file Number of external interfaces all machine-readable interfaces that are used to transmit information to another system are counted FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

23 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Calculating Count Total Weighting Factor Measurement parameter Count Simple Average Complex Total Number of user Inputs x x x = Number of user outputs x x x = Number of user Inquiries x x x = Number of files x x x = Number of external interfaces x x x = COUNT TOTAL = + ? FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

24 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Calculating Complexity Adjustment We now assess the software complexity Rate each of the factors on the next 2 slides according to the following scale: 0 - No influence 1 - Incidental 2 - Moderate 3 - Average 4 - Significant 5 - Essential FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

25 14 Complexity Adjustment Questions
Software Metric FUNCTION Oriented Metric 14 Complexity Adjustment Questions Does the system require reliable backup and recovery? Are data communications required? Are there distributed processing functions? Is performance critical? Will the system run in an existing, heavily utilised operational environment? Does the system require on-line data entry? Does the on-line data entry require the input transaction to be built over multiple screens or operations? FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

26 Software Metric 14 Complexity Adjustment Questions
FUNCTION Oriented Metric 14 Complexity Adjustment Questions Are the master files updated on-line? Are the inputs, outputs, files or inquiries complex? Is the internal processing complex? Is the code designed to be reusable? Are conversion and installation included in the design? Is the system designed for multiple installations in different organisations? Is the application designed to facilitate change and ease of use by the user? FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

27 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Advantage Programming language-independent Based on data which are known early in the project Significant bodies of data available FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

28 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Disadvantages Developed for business systems and therefore only valid for that domain ( Feature Points which extend Function Points by also measuring algorithmic numbers solves this to some extent ) Many aspects are subjective and have not been validated Function Points have no physical meaning, it’s just a number FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

29 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Some Figures Language Lines of Code per Function Point ADA 83 71 C 128 C++ 49 CLOS 27 COBOL 85 91 Eiffel 21 Smalltalk Visual Basic 32 Small project : < 2000 Function Points Medium Project : 2,000 to 10,000 Function Points Large Project : > 10,000 Function Points FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

30 where Fi are the 14 complexity adjustment values
Software Metric FUNCTION Oriented Metric Calculating Feature Point FP = COUNT-TOTAL X [ x Fi ] where Fi are the 14 complexity adjustment values (gives ±35%) FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

31 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Calculating Count Total for Feature Point base on Number of user inputs Number of user outputs Number of user inquiries Number of files Number of external interfaces Number of algorithm FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

32 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Calculating Count Total for Feature Point Number of algorithm all complex algorithm in creating program and in every aspect of Inputs Outputs Inquiries Files External interfaces FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

33 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Software Metric FUNCTION Oriented Metric Calculating Count Total for Feature Point Weighting Measurement parameter Count Factor Total Number of user Inputs x = Number of user outputs x = Number of user Inquiries x = Number of files x = Number of external interfaces x = Number of algorithm x = Count total + ? FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8

34 REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8
Finished, Questions? FAKULTAS TEKNOLOGI INFORMASI REKAYASA PERANGKAT LUNAK – KP146 – 3 SKS – BAG 8


Download ppt "Rekayasa Perangkat Lunak"

Presentasi serupa


Iklan oleh Google