scholarly journals What do class comments tell us? An investigation of comment evolution and practices in Pharo Smalltalk

2021 ◽  
Vol 26 (6) ◽  
Author(s):  
Pooja Rani ◽  
Sebastiano Panichella ◽  
Manuel Leuenberger ◽  
Mohammad Ghafari ◽  
Oscar Nierstrasz

Abstract Context Previous studies have characterized code comments in various programming languages, showing how high quality of code comments is crucial to support program comprehension activities, and to improve the effectiveness of maintenance tasks. However, very few studies have focused on understanding developer practices to write comments. None of them has compared such developer practices to the standard comment guidelines to study the extent to which developers follow the guidelines. Objective Therefore, our goal is to investigate developer commenting practices and compare them to the comment guidelines. Method This paper reports the first empirical study investigating commenting practices in Pharo Smalltalk. First, we analyze class comment evolution over seven Pharo versions. Then, we quantitatively and qualitatively investigate the information types embedded in class comments. Finally, we study the adherence of developer commenting practices to the official class comment template over Pharo versions. Results Our results show that there is a rapid increase in class comments in the initial three Pharo versions, while in subsequent versions developers added comments to both new and old classes, thus maintaining a similar code to comment ratio. We furthermore found three times as many information types in class comments as those suggested by the template. However, the information types suggested by the template tend to be present more often than other types of information. Additionally, we find that a substantial proportion of comments follow the writing style of the template in writing these information types, but they are written and formatted in a non-uniform way. Conclusion The results suggest the need to standardize the commenting guidelines for formatting the text, and to provide headers for the different information types to ensure a consistent style and to identify the information easily. Given the importance of high-quality code comments, we draw numerous implications for developers and researchers to improve the support for comment quality assessment tools.

2021 ◽  
Vol 13 (24) ◽  
pp. 13884
Author(s):  
Lei Li ◽  
Xue Song ◽  
Shujun Liu ◽  
Kun Huang

Travel Question and Answer (Q&A) platforms are widely used by travelers to exchange information online. This paper examined one such platform, Ctrip Q&A, to better understand the features of high-quality answers. The questions were first categorized into four types of information required by tourists (knowledge, efficiency, risk, and hedonic types) and then subdivided into more concrete elements, such as accommodation, food, and climate. The characteristics of high-quality answers on the platform were identified and a regression analysis was conducted to determine their importance. The study found that negative emotional expressions negatively impacted the quality of answers while the usefulness, richness, and amount of information had a positive effect. The usefulness of the answer content and quantity of information consistently predicted high-quality answers, whereas richness and conciseness were inconsistently related. Finally, the characteristics of high-quality answers to questions about different elements of tourism in the same category of tourist information varied significantly. This study may help travelers select and provide high-quality answers on tourism Q&A platforms. It may also assist platform operators in optimizing the features of their platforms, thereby improving user satisfaction and overall quality.


Author(s):  
A. T. Kunakbaeva ◽  
A. M. Stolyarov ◽  
M. V. Potapova

Free-cutting steel gains specific working properties thanks to the high content of sulfur and phosphorus. These elements, especially sulfur, have a rather high tendency to segregation. Therefore, segregation defects in free-cutting steel continuously cast billets can be significantly developed. The aim of the work was to study the influence of the chemical composition of freecutting steel and casting technological parameters on the quality of the macrostructure of continuously cast billets. A metallographic assessment of the internal structure of cast metal made of free-cutting steel and data processing by application of correlation and regression analysis were the research methods. The array of production data of 43 heats of free-cutting steel of grade A12 was studied. Steel casting on a five-strand radial type continuous casting machine was carried out by various methods of metal pouring from tundish into the molds. Metal of 19 heats was poured with an open stream, and 24 heats – by a closed stream through submerged nozzles with a vertical hole. High-quality billets had a cross-sectional size of 150×150 mm. The macrostructure of high-quality square billets made of free-cutting steel of A12 grade is characterized by the presence of central porosity, axial segregation and peripheral point contamination, the degree of development of which was in the range from 1.5 to 2.0 points, segregation cracks and strips – about 1.0 points. In the course of casting with an open stream, almost all of these defects are more developed comparing with the casting by a closed stream. As a result of correlation and regression analysis, linear dependences of the development degree of segregation cracks and strips both axial and angular on the sulfur content in steel and on the ratio of manganese content to sulfur content were established. The degree of these defects development increases with growing of sulfur content in steel of A12 grade. These defects had especially strong development when sulfur content in steel was of more than 0.10%. To improve the quality of cast metal, it is necessary to have the ratio of the manganese content to the sulfur content in the metal more than eight.


2020 ◽  
pp. 52-58 ◽  
Author(s):  
A. A. Eryomenko ◽  
N. V. Rostunova ◽  
S. A. Budagyan ◽  
V. V. Stets

The experience of clinical testing of the personal telemedicine system ‘Obereg’ for remote monitoring of patients at the intensive care units of leading Russian clinics is described. The high quality of communication with the remote receiving devices of doctors, the accuracy of measurements, resistance to interference from various hospital equipment and the absence of its own impact on such equipment were confirmed. There are significant advantages compared to stationary patient monitors, in particular, for intra and out-of-hospital transportation of patients.


2018 ◽  
pp. 26-35
Author(s):  
Z. A. Agaeva ◽  
K. B. Baghdasaryan

The transthoracic echocardiography made by multifrequency probes with support of the mode of the second harmonic imaging, is a competitive method for visualization of the main coronary arteries and allows to estimate coronary blood flow with high quality. Of course, the method has considerable restrictions, most important of which is the low spatial resolution of a method, due to small acoustic window. Because of this the transthoracic visualization of coronary arteries perhaps will not become the leading method of anatomic reconstruction of separately taken coronary artery and especially all coronary arteries system. However uniqueness and indisputable advantage of this method is an opportunity to noninvasively estimate a coronary blood flow both once, and in dynamics.


2020 ◽  
Vol 18 (4) ◽  
pp. 739-752 ◽  
Author(s):  
R.M. Sadykov

Subject. This article deals with the issues of social justice and a high quality of life, creating favorable economic and social conditions. Objectives. The article aims to assess the rate and changes in poverty in Russia and the Republic of Bashkortostan and develop complementary measures to reduce it. Methods. For the study, I used the methods of logical, comparative, economic and statistical analyses, the results of sociological studies, and official statistics. Results. The article highlights additional measures to reduce poverty in the region, including the establishment of a minimum social standard of living in each particular region that determines the poverty rate. Conclusions. Various factors, such as economic sanctions, economic slowdowns, territorial and regional imbalances, lead to living standards decline and poverty rise.


Author(s):  
La Duc Minh ◽  
Nguyen Thi Hao ◽  
Vu Thi Thuy

Ethnic affairs play an important role in socio of ethnic groups’ solidarity, assurance of security and national defense stability. In -economic development, maintenanceorder to improve the quality of ethnic affairs, it is practical to carry out postgraduate training of officer implementing ethnic affairs using state budget with the aim of encouraging and enhancing officer quality to satisfy high-quality human resource in international integration.


2018 ◽  
Author(s):  
V.A. Borisov ◽  
A.M. Menshikh ◽  
V.S. Sosnov ◽  
G.F. Monakhos

Показано действие минеральных удобрений, микрокристаллического комплексного водорастворимого удобрения «Мастер» и органоминерального наноудобрения с ростостимулирующей активностью «Арксойл» при капельном орошении на урожайность и качество сладкого перца нового гибрида F1 Темп. Сочетание основного удобрения с листовой и корневой подкормками позволяет получить до 65 т/га плодов перца высокого качества.The action of mineral fertilizers, microcrystalline complex water soluble fertilizer Master and organic mineral nano-fertilizer with growth-stimulating activity Arksoil under drip irrigation on the productivity and quality of sweet pepper of the new hybrid F1 Temp is shown. The combination of basic fertilizer with leaf and root fertilizing allows to obtain up to 65 t/ha of pepper fruits of high quality.


Sign in / Sign up

Export Citation Format

Share Document