A large-scale empirical study of code smells in JavaScript projects

2019 ◽  
Vol 27 (3) ◽  
pp. 1271-1314 ◽  
Author(s):  
David Johannes ◽  
Foutse Khomh ◽  
Giuliano Antoniol
2012 ◽  
Vol 7 (2) ◽  
pp. 676-690 ◽  
Author(s):  
Seungwon Shin ◽  
Guofei Gu ◽  
Narasimha Reddy ◽  
Christopher P. Lee
Keyword(s):  

Author(s):  
Xin (Shane) Wang ◽  
Shijie Lu ◽  
X I Li ◽  
Mansur Khamitov ◽  
Neil Bendle

Abstract Persuasion success is often related to hard-to-measure characteristics, such as the way the persuader speaks. To examine how vocal tones impact persuasion in an online appeal, this research measures persuaders’ vocal tones in Kickstarter video pitches using novel audio mining technology. Connecting vocal tone dimensions with real-world funding outcomes offers insight into the impact of vocal tones on receivers’ actions. The core hypothesis of this paper is that a successful persuasion attempt is associated with vocal tones denoting (1) focus, (2) low stress, and (3) stable emotions. These three vocal tone dimensions—which are in line with the stereotype content model—matter because they allow receivers to make inferences about a persuader’s competence. The hypotheses are tested with a large-scale empirical study using Kickstarter data, which is then replicated in a different category. In addition, two controlled experiments provide evidence that perceptions of competence mediate the impact of the three vocal tones on persuasion attempt success. The results identify key indicators of persuasion attempt success and suggest a greater role for audio mining in academic consumer research.


2021 ◽  
Author(s):  
Aleksandar Kovačević ◽  
Jelena Slivka ◽  
Dragan Vidaković ◽  
Katarina-Glorija Grujić ◽  
Nikola Luburić ◽  
...  

<p>Code smells are structures in code that often have a negative impact on its quality. Manually detecting code smells is challenging and researchers proposed many automatic code smell detectors. Most of the studies propose detectors based on code metrics and heuristics. However, these studies have several limitations, including evaluating the detectors using small-scale case studies and an inconsistent experimental setting. Furthermore, heuristic-based detectors suffer from limitations that hinder their adoption in practice. Thus, researchers have recently started experimenting with machine learning (ML) based code smell detection. </p><p>This paper compares the performance of multiple ML-based code smell detection models against multiple traditionally employed metric-based heuristics for detection of God Class and Long Method code smells. We evaluate the effectiveness of different source code representations for machine learning: traditionally used code metrics and code embeddings (code2vec, code2seq, and CuBERT).<br></p><p>We perform our experiments on the large-scale, manually labeled MLCQ dataset. We consider the binary classification problem – we classify the code samples as smelly or non-smelly and use the F1-measure of the minority (smell) class as a measure of performance. In our experiments, the ML classifier trained using CuBERT source code embeddings achieved the best performance for both God Class (F-measure of 0.53) and Long Method detection (F-measure of 0.75). With the help of a domain expert, we perform the error analysis to discuss the advantages of the CuBERT approach.<br></p><p>This study is the first to evaluate the effectiveness of pre-trained neural source code embeddings for code smell detection to the best of our knowledge. A secondary contribution of our study is the systematic evaluation of the effectiveness of multiple heuristic-based approaches on the same large-scale, manually labeled MLCQ dataset.<br></p>


Author(s):  
Emanuele Iannone ◽  
Roberta Guadagni ◽  
Filomena Ferrucci ◽  
Andrea De Lucia ◽  
Fabio Palomba

Author(s):  
Juliana Padilha ◽  
Juliana Pereira ◽  
Eduardo Figueiredo ◽  
Jussara Almeida ◽  
Alessandro Garcia ◽  
...  
Keyword(s):  

1998 ◽  
Vol 16 (1) ◽  
pp. 119-134 ◽  
Author(s):  
Carol L. Krumhansl

This study examines possible parallels between large-scale organization in music and discourse structure. Two experiments examine the psychological reality of topics in the first movements of W. A. Mozart's String Quintet No. 3 in C major, K. 515, and L. van Beethoven's String Quartet No. 15 in A minor, Op. 132. Listeners made real-time judgments on three continuous scales: memorability, openness, and amount of emotion. All three kinds of judgments could be accounted for by the topics identified in these pieces by Agawu (1991) independently of the listeners' musical training. The results showed hierarchies of topics. However, these differed for the three tasks and for the two pieces. The topics in the Mozart piece appear to function as a way of establishing the musical form, whereas the topics in the Beethoven piece are more strongly associated with emotional content.


Sign in / Sign up

Export Citation Format

Share Document