0% found this document useful (0 votes)
6 views10 pages

Automated Program Control Flow Summarization of Source Code

Uploaded by

cshod
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
0% found this document useful (0 votes)
6 views10 pages

Automated Program Control Flow Summarization of Source Code

Uploaded by

cshod
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1/ 10

Automated Program Control Flow

Summarization of Source Code Using


Autofolding

Presented @ International Conference on Advances in Computing,


Communication, Automation and Biomedical Technology (ICACCABT),
organized by KPR Institute of Engineering & Technology, Coimbatore.
Introduction
 Source code comprehension is the foremost task that
involves more navigation through code and is a time
consuming one
 Summarization is a process of summing up the main
points in the given code
 Which explores incipient challenges for developing
better code summarization practices

2
Introduction
 This increases apertures for making innovative source code
summarizations.
 To better comprehend software artifacts documentation plays a
vital which provides inclusive summarization of each artifact in
software at different phases of software life cycle.
 It avails developers and learners to navigate and agnize core code
segments at a first look up. Testers make utilization of it to
investigate major modifications afore doing review process.

3
Idea
 We propose a novel method of autofolding which creates a route
map of flow sequence in code utilizing which one can easily
understand and verify execution flow in code.
 We propose the formulated method acts as an utilizable and
subsidiary implementation useful for developers and also useful

for naïve learners and testing teams to comprehend source


code and its flow transfer at first walkthrough.

4
Algorithm
 Auto folding Method
Algorithm: Flow Summarization
Input : Source code S
Construct Flow Tree F for S
Turn S into S using F
Output : Flow summarization code S

5
Results
2. class Demo
22. public static void main(String args[])
3. { 23. {
5. public void set_a(int a) {…} 24. Demo d = new Demo();
9. public void get_a() {…} 25. d.set_a(100) ;
13. public void display() 26. d.display();
27. show();
14. {
28. }
15. System.out.println(get_a());
29. }
16. }
31. class Sample
17. static void show() 32. {
18. { 33. public sample() {…}
19. Sample s = new Sample(); 37. public void callme() {…}
20. s.calleme(); 41. }

21. }
6
Result

7
Conclusion
 A new documentation model which is used in accordance with traditional

documentation model is proposed. It helps user to understand and visualize entire

software modules and their interactions.


 Auto folding method that transforms source code into summarized source codes which

represents execution flow details.


 We hope our tool becomes a usable for developers, testers and learners and

accelerates learners and instructors workflows with transparency and trustworthiness.

8
Research Plan

Code Anatomy
Program Prediction

Phase - I Phase - II Phase - III Phase - IV

Auto Folding Testing and Delivery

9
Acknowledgements
 The authors would like to thank and acknowledge RVR & JC College of Engineering Management,

Guntur, for funding and providing Computing facilities at RVR & JC College of Engineering, Guntur,

Andhra Pradesh to carryout this research ,

 The authors would like to thank and acknowledge the DST-FIST (Govt. of India) for funding to set up

the research computing facilities at RVR & JC College of Engineering.

10

You might also like