可视化类信息
Visualizing Class Information
摘要:
在面向对象的编程中,类用来描述系统中的每个对象。它就像一个模板,包含了每个对象的方法和属性。类中的信息量在其实现、测试和理解类所需的时间中起作用。开发人员正在处理包含大量代码行(Lines Of Code,简写为CODE)的大型项目。因此,提取关于类的信息需要开发人员花费大量时间和精力。为了解决这个问题,我们提出了一个可视化的方法来显示类的信息,为开发人员。我们的方法假设每个类都是一个圆锥图,每个圆锥都代表一个类度量,包括方法数量,属性和代码行数(行数)。每个圆锥体的高度表示在类中发现的方法,属性和代码行数(行数)的总数。此外,每个锥体有一个不同的颜色,从其他方便他们之间的区别
英文摘要:
A class is used in object oriented programming to describe each object in the system. It is as a template contains the methods and attributes for each object. The volume of information within the class has a role in the time required for its implementation, testing and understanding the class. Developers are dealing with large projects that contain a large number of Lines Of Code (LOC). So that, extracting information about the classes requires time and big effort from the developers. To solve this problem, we present a visualization approach to display class information for developers. Our method assumed each class is a cone chart and each cone represents one of the class metrics that include number of methods, attributes and the number of Lines Of Code (LOC). The height of each cone indicates the total number of methods, attributes and number of Lines Of Code (LOC) which found in a class. Also, each cone has a different color from the other to facilitate the distinction among them
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。