Bayu Priyambadha
Brawijaya University

Published : 2 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 2 Documents
Search

Identifying Thresholds for Distance Design-based Direct Class Cohesion (D3C2) Metrics Denny Sagita; Fajar Pradana; Bayu Priyambadha
International Journal of Electrical and Computer Engineering (IJECE) Vol 8, No 6: December 2018
Publisher : Institute of Advanced Engineering and Science

Show Abstract | Download Original | Original Source | Check in Google Scholar | Full PDF (787.071 KB) | DOI: 10.11591/ijece.v8i6.pp5318-5325

Abstract

In the several phases of activity in developing a software system, there is design phase. This phase has a purpose to determine and ensure that a software requirement can be realized in accordance with customer needs. The quality of design must be a guarantee at this phase. One of an indicator of quality design is cohesion. Cohesion is the level of relatedness between elements in one component. A Higher value of cohesion can indicate that a component are more modular, has own resources, and less dependent on another component. More independent, components are easy to maintenance. There are many metrics to count how many values of cohesion in a component. One of metric is The Distance Design-Based Direct Class Cohesion (D3C2). But, many practitioners are unable to apply them. Because there is no threshold that can categories the value of cohesion. This study aims to determine the threshold of cohesion metric based on the class diagram. The result showed that the threshold of D3C2 metric is 0.41. 0.41 is the value that has the highest level of agreement with the design expert.
Behavioral Analysis for Detecting Code Clones Bayu Priyambadha; Siti Rochimah
TELKOMNIKA (Telecommunication Computing Electronics and Control) Vol 16, No 3: June 2018
Publisher : Universitas Ahmad Dahlan

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.12928/telkomnika.v16i3.4442

Abstract

The activities of copy and paste fragments of code from a source code into the other source code is often done by software developers because it's easier than generate code manually. This behavior leads to the increase of effort to maintain the code. One of the detection methods of semantic cloning is based on the behavior of the code. The code behavior detected by observing at an input, output and the effects of the method. Methods with the same value of input, output, and effect will indicate that semantically the same. However, the detection method based on the input, output, and effect could not be used in a void method or method without parameters, another side comprehensively detection is required. The challenge is how to detect which variable in a method that acts as input, output, and effect. Detection of the variable input, output, and effects in a void method done using Program Dependence Graph. The use of clone detection methods semantically based on behavior can increase the agreement value.