scholarly journals A New Metric for Class Cohesion for Object Oriented Software

2019 ◽  
Vol 17 (3) ◽  
pp. 411-421
Author(s):  
Anjana Gosain ◽  
Ganga Sharma

Various class cohesion metrics exist in literature both at design level and source code level to assess the quality of Object Oriented (OO) software. However, the idea of cohesive interactions (or relationships) between instance variables (i.e., attributes) and methods of a class for measuring cohesion varies from one metric to another. Some authors have used instance variable usage by methods of the class to measure class cohesion while some focus on similarity of methods based on sharing of instance variables. However, researchers believe that such metrics still do not properly capture cohesiveness of classes. Therefore, measures based on different perspective on the idea of cohesive interactions should be developed. Consequently, in this paper, we propose a source code level class cohesion metric based on instance variable usage by methods. We first formalize three types of cohesive interactions and then categorize these cohesive interactions by providing them ranking and weights in order to compute our proposed measure. To determine the usefulness of the proposed measure, theoretical validation using a property based axiomatic framework has been done. For empirical validation, we have used Pearson correlation analysis and logistic regression in an experimental study conducted on 28 Java classes to determine the relationship between the proposed measure and maintenance-effort of classes. The results indicate that the proposed cohesion measure is strongly correlated with maintenance-effort and can serve as a good predictor of the same.

2020 ◽  
Vol 19 (3) ◽  
pp. 236-242
Author(s):  
Daniele Cristina de Lima ◽  
Tais Silvino Bastos ◽  
Camilla Mariane Menezes Souza ◽  
Juarez Ribeiro da Silva ◽  
Simone Gisele de Oliveira ◽  
...  

Controlling the factors that influence the conservation of extruded dog foods can increase shelf life and/or guarantee the quality of shelf life of diets for these animals. Therefore, the objective was to evaluate the relationship among water activity (Aw), moisture (M), acidity, lipid peroxidation, crude protein (CP), ether extract (EE), and kibble size of extruded dog foods stored in sealed and open packages for 60 days (Experiment I). We also evaluated the stability of the Aw for up to 6.5 hours after coating with palatant (Experiment II). We manufactured four extruded dry dog foods: high CP and EE (HPE); low CP and EE (LPE); small kibble (SK); and large kibble (LK). In experiment I, the foods were stored in sealed 1 kg packages and 10 kg open packages, for a period of 60 days. We measured Aw, M, acidity, peroxide, CP, and EE of foods and the relative humidity (RH). Data were subjected to Pearson correlation analysis. For experiment II, samples were collected immediately after coating with palatant. Sub samples were collected every half hour to measure Aw. In experiment I, positive correlations were observed (P0.05) among kibble size, M, and Aw; acidity, CP, EE, and M; and between Aw and RH, for open and sealed packages. There was also a positive correlation (P0.05) for open packages among time, Aw, and peroxide. In experiment II, LK and LPE food presented Aw stabilized in less time. Diets with higher kibble size and high CP and EE levels are more unstable if kept in open packages. Extruded dry food with higher protein and lipid and smaller kibble size needs more time to stabilize its Aw.


2017 ◽  
Vol 33 (23) ◽  
pp. 3575-3588 ◽  
Author(s):  
Habib Niyaraq Nobakht ◽  
Karl Yngvar Dale

This study aimed to ascertain the prevalence of different types of Religious/Ritual Abuse (RA) among Iranian young adults and to investigate the relationships between RA, childhood and recent trauma, and different patterns of dissociativity. A total of 100 male and 100 female university students completed and returned a 51-item questionnaire designed to detect the extent of dissociation, childhood and recent trauma history, and RA; 12.5% of participants reported history of RA. Pearson correlation analysis showed that RA strongly correlated with dissociativity. The most notable finding of this study is that RA and being victim of violence within the last 3 years are the most important traumatic predictors of dissociativity. More research on the nature of the relationship between RA and dissociation is suggested.


Author(s):  
Tran Thanh Luong ◽  
Le My Canh

JavaScript has become more and more popular in recent years because its wealthy features as being dynamic, interpreted and object-oriented with first-class functions. Furthermore, JavaScript is designed with event-driven and I/O non-blocking model that boosts the performance of overall application especially in the case of Node.js. To take advantage of these characteristics, many design patterns that implement asynchronous programming for JavaScript were proposed. However, choosing a right pattern and implementing a good asynchronous source code is a challenge and thus easily lead into less robust application and low quality source code. Extended from our previous works on exception handling code smells in JavaScript and exception handling code smells in JavaScript asynchronous programming with promise, this research aims at studying the impact of three JavaScript asynchronous programming patterns on quality of source code and application.


2016 ◽  
Vol 1 (1) ◽  
pp. 27-42
Author(s):  
Hazlin Kadir @ Shahar ◽  
Razaleigh Muhamat @ Kawangit ◽  
Rosmawati Mohamad Rasit ◽  
Badlihisham Mohd Nasir

This article examines the relationship between learning and behavioural evaluation among religious officers in Malaysia after attending the Manual on HIV/AIDS in Islam Training Programmes organized by the Islamic Development Department of Malaysia (JAKIM). The training programmes were implemented to deliver the most accurate and the latest information on HIV / AIDS as well as to train religious officers in Malaysia to address the issues among Muslims. The training programmes apply the theoretical and practical activities where participants had the opportunity to carry out outreach activities with People Living with HIV / AIDS (ODHA). Quantitative methods through questionnaires were used to obtain data. A total of 350 religious officers who had attended the training programmes were selected as respondents by simple random sampling technique. Pearson correlation analysis was conducted to determine the relationship between the learning and behavioural evaluation. The results of the Pearson correlation analysis found that there was a significant relationship between learning evaluation in terms of the information obtained from programmes’ contents and behaviour evaluation with r = 0.489 and sig = 0.000 (p <0.05) at the medium positive range.. While the relationship between learning evaluation in terms of the information obtained from outreach activities with behavioural evaluation showed a strong positive correlation with the strength values obtained were r = 0.539 and sig = 0.000 (p <0.05). This analysis shows that the information acquired through the training program Manual Islam and HIV / AIDS has been successful in changing the behaviour of religious officers’ awareness in terms of the role of dakwah to ODHA. ABSTRAK Artikel ini bertujuan melihat hubungan antara penilaian pembelajaran dengan penilaian tingkah laku dalam kalangan Pegawai Agama di Malaysia setelah mengikuti Program Latihan Manual Islam dan HIV/AIDS anjuran Jabatan Kemajuan Islam Malaysia (JAKIM). Program latihan ini dilaksanakan untuk menyampaikan maklumat yang tepat serta informasi terkini isu HIV/AIDS di samping melatih Pegawai-pegawai Agama di Malaysia untuk menangani isu tersebut dalam kalangan umat Islam. Program latihan ini berbentuk teori dan praktikal di mana peserta program berpeluang melaksanakan dakwah secara temu seru (outreach) dengan Orang Yang Hidup dengan HIV/AIDS (ODHA) secara langsung. Kaedah kuantitatif melalui soal selidik telah digunakan untuk memperoleh data. Seramai 350 orang Pegawai Agama yang telah mengikuti program latihan ini dipilih sebagai responden melalui teknik pensampelan rawak mudah. Analisis korelasi Pearson dijalankan bagi mengenal pasti hubungan di antara penilaian pembelajaran dengan penilaian tingkah laku peserta yang mengikuti Program Latihan Manual Islam dan HIV/AIDS. Hasil analisis ujian korelasi Pearson tersebut mendapati bahawa terdapat hubungan yang signifikan di antara penilaian pembelajaran dari segi maklumat yang diperoleh daripada kandungan program dengan penilaian tingkah laku dengan nilai r = 0.489 dan sig = 0.000 (p<0.05). Kekuatan hubungan ialah positif sederhana. Manakala hubungan antara penilaian pembelajaran dari segi maklumat yang diperoleh daripada program temu seru dengan penilaian tingkah laku pula menunjukkan kekuatan hubungan positif kuat dengan nilai yang diperoleh ialah r = 0.539 dan sig = 0.000 (p<0.05). Analisis ini menunjukkan bahawa pembelajaran yang diperoleh melalui program latihan Manual Islam dan HIV/AIDS ini telah berjaya mengubah tingkah laku Pegawai Agama dari segi kesedaran peranan berdakwah kepada ODHA.


2015 ◽  
Vol 28 (2) ◽  
pp. 319-326 ◽  
Author(s):  
Vanessa Patrícia Soares de Sousa ◽  
Silvia Oliveira Ribeiro ◽  
Carla Monique Ribeiro de Aquino ◽  
Elizabel de Souza Ramalho Viana

Introduction Pregnancy is characterized by several changes in her body. These changes contribute to the emergence of low back pain, which may influence the quality of sleep during pregnancy. Objective To compare the quality of sleep among pregnant women with and without low back pain during pregnancy, examining the relationship between two variables. Materials methods Thirty volunteers aged between 19 and 36 years, divided into control group (CG – n = 16) and Study Group (SG – n = 14), residents in the cities of Natal, were evaluated in the second trimester of pregnancy. To sleep evaluation were used to index the Pittsburgh Sleep Quality and the Epworth Sleepiness Scale. Low back pain was evaluated using the pressure algometer, Visual Analogue Scale (VAS) and Oswestry Disability Index. Statistical analysis used the Shapiro Wilk test, Student’s T test for independent samples and Pearson correlation test. Results The mean gestational and chronological ages were 28.2 ± 3.4 years and 19.9 ± 3.7 weeks, respectively. Sleep quality was lower in SG (8.21 ± 4.8) when compared to CG (5.94 ± 1.7) and was statistically significant (P = 0.021). Analyzing the relationship between sleep quality and pain intensity, it was observed that the variables have a positive correlation between them (r = 0.372, P = 0.043). Conclusion Our findings indicate that sleep quality is decreased in women with low back pain compared to those without pain.


2021 ◽  
Vol 8 (7) ◽  
pp. 14-27
Author(s):  
Anwar Sholeh ◽  
Alwi Thamrin Nasution ◽  
Radar Radius Tarigan

Background: Chronic kidney disease (CKD) is characterized by structural and functional disorder of the kidney with irreversible and gradual characteristics with one of the modalities of renal replacement therapy such as hemodialysis (HD). The role of inflammation in HD patients by uremic toxin and dialysis can be assessed by the marker of High Sensitive C Reactive Protein (HsCRP). Several studies have examined the relationship between HsCRP and red cell distribution width (RDW) in regular HD patients which leads to increase patient morbidity and mortality, but until now, there has been no study in Indonesia regarding the correlation between HsCRP and RDW in regular HD patients. This study aims to determine the correlation HsCRP as a marker of inflammation and RDW values in regular HD patients. Methods: This is a cross-sectional study in Regular HD patients at Dialysis Unit-H. Adam Malik General Hospital. A total of 20 subjects were included. Bivariate and multivariate analysis was conducted to analyze the relationship of HsCRP, ureum, creatinin, hemoglobin, and eGFR to RDW. Results: There were 20 Regular HD patients analyzed. The proportion of patients with increased RDW was 80%. In pearson correlation test, there is a strong correlation between HsCRP and RDW (r= 0.667, p<0.001). Discussion: Majority of regular HD patients at H. Adam Malik General Hospital were assessed with increased RDW. Pearson correlation analysis revealed HsCRP was significantly associated with RDW. Conclusion: Increased RDW was found in 80% of regular HD patients at H. Adam malik General Hospital. From pearson correlation analysis, we found HsCRP was significantly associated with RDW. Keywords: inflammation, high sensitive c reactive protein, red blood cell distribution width, regular hemodialysis.


2019 ◽  
Vol 7 (4) ◽  
pp. 371-376
Author(s):  
Syarul Azman Shaharuddin ◽  
Muhammad Yusuf Marlon ◽  
Mariam Abd Majid ◽  
Abur Hamdi Usman ◽  
Fakhri Sungit ◽  
...  

Purpose and problem of the study: This study to identify the level of impact of zakat distribution and the level of religious practice among the mualaf (convert) in Selangor. The aim is also to analyse the relationship between the level of impact of zakat distribution and the level of religious practice of mualaf in Selangor. The problem of the study is issues which related to the granting of zakat rights to Muslims and its impact on strengthening the faith of these groups and their appreciation of Islamic teachings. Methodology: This study applies quantitative methodology which involves 454 Muslim converts as respondents and they were randomly selected to get the data of this study. Main Findings: The descriptive analysis findings demonstrate that the level of impact of zakat distribution and the level of religious practice of mualaf in Selangor is at high level, where each has a mean value (4.20 and 4.63). The result of the Pearson correlation analysis proves that there is a significant relationship between the impact of the distribution (r = 0.643, p < 0.01) and religious practice (r = 0.677, p < 0.01).       Applications of this study: This study involves respondents from the mualaf group in Selangor. Selangor has chosen to be the area of study as the total number of muallaf registered in this state is greater than those in other states in Malaysia. Novelty/Originality of this study: The implementation of zakat distribution based on the principals and concepts dictated by Islamic law will give a great impact to the group of mualaf (convert). 


2018 ◽  
Vol 6 (2) ◽  
pp. 121-126
Author(s):  
Zawiah Mat ◽  
Nooraini Sulaiman ◽  
Sazelin Arif ◽  
Safiah Sidek ◽  
Norain Ismail ◽  
...  

Purpose: The aim of this study is to identify the relationship between professional and universal ethics of engineers. Methodology:This study used quantitative methods to distribute the questionnaire by using random sampling to get data from 248 respondents of engineers from government and private sectors in Melaka. Respondents were required to valuate agreement to statement about work ethics that used a five-point Likert scale. Meanwhile, the scales used for measuring correlation were given as 0.000-0.2000 “negligible”, 0.201-0.400 “low”, 0.401-0.600, “moderate”, 0.601-0.800 “high”, and 0.801-1.000 “very high”. The Pearson correlation analysis was used to obtain these correlation results. In this research, we analysed the data collected using SPSS Ver.22 to identify the relationship between professional and universal ethics of engineers in Melaka. Main Findings:The findings showed that all variables of professional of engineers correlated significantly with universal ethics. The significant level (p-value) was found to be less than 0.05, the study findings indicate a significant relationship between independent variables and dependent variable. Results obtained in this study confirmed that there were significant positive relationships between all variables that could influence professional and universal ethics. Implications:This study contributes towards the improvement of Board of Engineers Malaysia (BEM’S) existing policy. Based on the study’s findings, the policy implication of this study includes: responsible bodies such as the governing institutions of engineers need to ensure that ethical practices are made as the main core in their profession by increasing knowledge and awareness about ethical practices in the engineering profession. Originality:This study only focus on the relationship between professional and universal ethics of engineers and the results will be useful towards the improvement of Board of Engineers Malaysia (BEM’S) existing policy.


2016 ◽  
Vol 6 (2) ◽  
pp. 181 ◽  
Author(s):  
Zeinab Sirous Jahedi ◽  
Ali Pouladi Reyshahri

<p>The present study was conducted with the aim of representing the relationship between quality of work and work attachment of employees in Chamran hospital in Saveh in 2015. The research was practical in terms of objective and descriptive-correlational in terms of data collection. The population consisted of 300 employees of Chamran hospital in Saveh among whom 169 individuals were chosen as a sample size using simple random sampling method and Morgan table. Data collection was carried out through standard questionnaire. Analysis of the obtained data was performed using SPSS 21 software in two parts of descriptive and inferential (Regression and Pearson Correlation). The results indicated that there is a significant and positive relationship between quality of working life and its dimensions including fair payment, safe and healthy working environment, providing opportunities for continuous growth and security, legalism, social solidarity and cohesion, and development of human capabilities with job involvement of employees in Chamran hospital in Saveh.</p>


Sign in / Sign up

Export Citation Format

Share Document