SOFTWARE METRIC PROPOSAL FOR CONFORMITY CHECKING OF CLASS DIAGRAM TO SOLID DESIGN PRINCIPLES
The problem was found that there were no metrics to measure the suitability of class diagrams to the SOLID Principles, these measurements were needed to help developers get an indication of the level of quality of the design without having to examine one by one subjectively. The application of th...
Saved in:
Main Author: | |
---|---|
Format: | Theses |
Language: | Indonesia |
Online Access: | https://digilib.itb.ac.id/gdl/view/69616 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Institut Teknologi Bandung |
Language: | Indonesia |
Summary: | The problem was found that there were no metrics to measure the suitability of class
diagrams to the SOLID Principles, these measurements were needed to help
developers get an indication of the level of quality of the design without having to
examine one by one subjectively. The application of the design principle at the
beginning of the development phase is one way to produce quality software. The
principle of SOLID design is one of the guidelines for object-oriented software
design which consists of 5: Single Responsibility Principle (SRP), Open Closed
Principle (OCP), Liskov Substitution Principle (LSP), Interface Segregation
Principle (ISP) and Dependency Inversion Principle (DIP ) The application of this
principle to software development is able to meet quality factors to be more easily
understood, more flexible, easy to maintain and can be tested.
The operasi used in this study is to analyze the relationship between the concepts of
SOLID principles with class diagram metrics, the metrics for each principle are
produced and the measurement techniques for class diagrams fit. For SRP, a Value
of SRP is proposed, as well as other principles: OCP - VOCP (Value of OCP), LSP
- VLSP (Value of LSP), ISP - VISP (Value of ISP) and DIP - VDIP (Value of DIP).
Metric validation is done by using 15 class diagrams from 7 software applications.
The metric value is searched for correlation with the results by ahlis using
Spearman’s Rank Correlation. From the results of the validation, it was found that
4 metrics have a strong, significant and unidirectional correlation and metric that
weak and insignificant correlate metric, namely the SRP Metric. From the results
of the validation, also found the correlation between metrics, namely between SRP
Metrics and LSP Metrics and LSP and ISP Metrics. The correlation shows that the
value of one of the metrics increases so that other metrics also rise.
Based on the results of the validation, the conformity value produced can help
developers so that they can be re-checked and prevented as early as possible so as
to minimize errors at the next stage of development. |
---|