Browse > Article

Coding Style Score Visualization Using Facial Expression  

Ji, Jeong-Hoon (부산대학교 컴퓨터공학과)
Lee, Yun-Jung (부산대학교 컴퓨터공학과)
Woo, Gyun (부산대학교 컴퓨터공학과)
Abstract
This paper presents an automated visualization system, called StyleVisualizer, which checks the coding style of source codes and visualizes the coding style score using facial expression. Our system represents some kinds of facial expressions according to the evaluated score of the code style: A smile face means that the source code follows coding standards correctly. To measure the effectiveness of the StyleVisualizer, some experiments have been conducted on two class students in an applied computer course. In the experiments, we have compared the error ratio for obeying the coding standards when the StyleVisualizer was used or not. According to the experimental results, the error ratio with the StyleVisualizer was reduced above 30% than that without it. We expect that our system can encourage the students to obey the coding standards by providing the feedback of the visualized faces corresponding to their programs, resulting in high readable programs.
Keywords
Visualization; Coding Standard; Coding Style; Program Readability; Facial Expression;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 G. Greeno, "The Structure of Memory and the Process of Problem Solving," Contemporary Issues in Cognitive Psychology, pp.23-45, 1973.
2 R. Mayer and B. Shnejderman, "Syntactic/Semantic Interactions in Programmer Behavior: Model and Experimental Result," International Journal of Computer and Information Sciences, vol.8, pp.213-238, 1979.
3 Y. Moon, J. Kim, H. Cho, C. Yoo, Y. Kim, O. Chang, "A Reverse Engineering Visualization Tool for Increasing Understandability of C++ Programs," Journal of KIISE(C), vol.1, no.2, pp.160-171, 1995
4 P.W. Oman, C.R. Cook, "A Taxonomy for programming style," Proceedings of the 1990 ACM Annual Conference Cooperation, pp.244-250, 1990.
5 H. Cho, M. Hwang, "A Study on the C Source Code Restructuring for Effective Maintenance," Proc of the KIISE Korea Computer Congress 1996, vol.23, no.2, pp.1573-1576, 1996. (in Korean)
6 T. Tenny, "Program Readability: Procedures Versus Comments," IEEE Transactins on Software Engineering, vol.14, no.9, pp.1271-1279, 1988.   DOI   ScienceOn
7 H. Sutter, A. Alexandresuc, "C++ Coding Standards: Rules and Guidelines for Writing Programs," Addison Wesley, 2004.
8 R. Stallman, et al., "GNU Coding Standards," 2007.
9 L. Hatton, "Language Subsetting in an Industrial Context: A Comparison of MISRA C 1998 and MISRA C 2004," Information Software Technology, vol.49, no.5, pp.475-482, 2007.   DOI   ScienceOn
10 X. Li and C. Prasad, "Effectively teaching coding standards in programming," In Proceedings of the 6th Conference on Information Technology Education, pp.239-244, 2005.
11 L.W. Cannon, et al., "Recommend C Style and Coding Standards," AT&T Bell Labs, 1997.
12 X. Fang, "Using a Coding Standard to Improve Program Quality," In Proceedings of the 2nd Asia-Pacific Conference on Quality Software (APAQS'01), pp.73-78, 2001.
13 S. Cho, Y. Moon, C. Yoo, Y. Kim, O. Chang, "Object-Orented Design and C++ Programming Style Guidelines Offer Tool," Proc of the KIISE Korea Computer Congress, 1996, vol.23, no.2, pp.1445-1448, 1996. (in Korean)
14 J. Hwang, "Design and Implementation of a C Coding Style Checker," Journal of KSCI, vol.13, no.2, pp.31-40, 2008.   과학기술학회마을
15 Y. Moon, C. Yoo, O. Chang, "Object-Orient Design and Programming Style Guidelines based on Congnitive Psychology Theories," Journal of KIISE(B), vol.25, no.3, pp.530-542, 1998.