2013
DOI: 10.1002/smr.1581
|View full text |Cite
|
Sign up to set email alerts
|

Automatic Segmentation of Method Code into Meaningful Blocks: Design and Evaluation

Abstract: SUMMARYGood programming practice and guidelines suggest that programmers use both vertical and horizontal spacing to visibly delineate between code segments that represent different algorithmic steps or high-level actions. Unfortunately, programmers do not always follow these guidelines. Editors and integrated development environments (IDEs) can easily indent codes based on syntax, but they do not currently support automatic blank line insertion, which presents more significant challenges involving the semanti… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3

Citation Types

0
4
0

Year Published

2013
2013
2024
2024

Publication Types

Select...
5
1
1

Relationship

0
7

Authors

Journals

citations
Cited by 9 publications
(4 citation statements)
references
References 25 publications
0
4
0
Order By: Relevance
“…Refactoring, when carried out correctly, can enhance software quality by improving readability, maintainability, and extensibility [16]. In addition, studies suggest that simple blank lines are more critical than comments when assessing software readability [17]. Furthermore, a readable coding strategy is beneficial for future maintenance and facilitates the understanding and transfer of rules in different domains and pipelines [18].…”
Section: Related Workmentioning
confidence: 99%
“…Refactoring, when carried out correctly, can enhance software quality by improving readability, maintainability, and extensibility [16]. In addition, studies suggest that simple blank lines are more critical than comments when assessing software readability [17]. Furthermore, a readable coding strategy is beneficial for future maintenance and facilitates the understanding and transfer of rules in different domains and pipelines [18].…”
Section: Related Workmentioning
confidence: 99%
“…Here, we compare our proposed technique with some of the existing work. Wang et al (2014) have developed a tool called SEGMENT that inserts blank lines into the given method to increase the readability of the program. They tried to identify the important points in a program where there is a need of vertical space between the lines of code to improve readability.…”
Section: Related Workmentioning
confidence: 99%
“…Wang et al . proposed an approach that automatically segments source code methods into meaningful blocks for the purpose of automatic blank line insertion . The approach uses the program structure and identifiers to identify consecutive statements that logically implement a high‐level action.…”
Section: Related Workmentioning
confidence: 99%