Automated Program Control Flow Summarization of Source Code
Automated Program Control Flow Summarization of Source Code
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
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
8
Research Plan
Code Anatomy
Program Prediction
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,
The authors would like to thank and acknowledge the DST-FIST (Govt. of India) for funding to set up
10