scholarly journals Towards Visualizing Code Annotations Distribution

Author(s):  
Phyllipe Lima ◽  
Eduardo Guerra ◽  
Paulo Meirelles

Java developers make extensive use of code annotations sincetheir introduction in version 5 of the language. They areinserted directly on the source code for custom metadata configuration,similar to C# attributes. The software engineeringcommunity has few works investigating their usage and impacton source code. Being able to visualize characteristics ofcode annotations might aid developers in detecting potentialmisuse, outliers as well as increase the comprehensibility andreadability of the source code. In this paper, we present anapproach to use software metrics to generate a 2D polymetricview targeting the visualization of code annotations in Javaclasses. We developed a prototype tool using the Unity GameEngine. It displays classes and packages as rectangles andannotations as circles. We demonstrated the tool with a smallsample Java program.

2012 ◽  
Vol 3 (4) ◽  
pp. 27-44
Author(s):  
Bernard Spitz ◽  
Riccardo Scandariato ◽  
Wouter Joosen

This paper presents the design and implementation of a prototype tool for the extraction of the so-called Task Execution Model directly from the source code of a software system. The Task Execution Model is an essential building block for the analysis of the least privilege violations in a software architecture (presented in previous work). However, the trustworthiness of the analysis results relies on the correspondence between the analyzed model and the implementation of the system. Therefore, the tool presented here is a key ingredient to provide assurance that the analysis results are significant for the system at hand.


A number of software metrics estimate the complexity of software program by a couple of substantial software attributes and trends. Metric for measuring the reliability is extraordinary among the presently available complexity metrics by contemplating a non-physical attributes i.e. readability. Readability may be a key quality attribute for managing software source codes. Readability of the source code is mainly concerned with code maintainability which is a significant characteristic of software quality, mainly from the developers’ perspective. As the code is readable, the easier it is to modify, lesser errors, copious maintainable, easy to reuse and even more reliable. Readability is employed to enhance source codes for subsequent maintenance and extensibility. But code readability is not simply computable while dealing with open source software as contributors access the code and modify its structure according to his/her style of coding. This nature of development begins problems for the new contributors to understand the code structure. To enhance code readability, In this paper, we proposed a conceptual model of mining software repositories for software metrics in which we proposed a set of metrics for readability of the code that is easier to use and helpful to understand the code structure. We also mention a mechanism to validate the proposed metrics by the data extracted from the mining software repositories and comparing it with a survey conducting from experts working in industries


2010 ◽  
Vol 13 (2) ◽  
Author(s):  
Diego A. A. Correia ◽  
Eduardo M. Guerra ◽  
Fabio F. Silveira ◽  
Clovis T. Fernandes

In order to customize their behavior at runtime, a wide sort of modern frameworks do use code annotations at the applications‟ classes as metadata configuration. However, despite its popularity, this type of metadata definition inserts complexity and semantic coupling that is ignored by traditional software metrics. This paper presents identified bad smells in annotated code and defines new metrics that help in their detection by enabling a quantitative assessment of complexity and coupling in this type of code. Moreover, it proposes some strategies to detect those bad smells by using the defined metrics and introduces an open-source tool created to automate the process of bad smell discovery on annotated code.


2018 ◽  
Vol 34 (4) ◽  
pp. 961-979
Author(s):  
Rain Opik ◽  
Toomas Kirt ◽  
Innar Liiv

Abstract This article presents a visual method for representing the complex labor market internal structure from the perspective of similar occupations based on shared skills; and a prototype tool for interacting with the visualization, together with an extended description of graph construction and the necessary data processing for linking multiple heterogeneous data sources. Since the labor market is not an isolated phenomenon and is constantly impacted by external trends and interventions, the presented method is designed to enable adding extra layers of external information. For instance, what is the impact of a megatrend or an intervention on the labor market? Which parts of the labor market are the most vulnerable to an approaching megatrend or planned intervention? A case study analyzing the labor market together with the megatrend of job automation and computerization is presented. The source code of the prototype is released as open source for repeatability.


Sign in / Sign up

Export Citation Format

Share Document