[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655818-105":59,"doc-detail-655818-en":130,"doc-similar-655818":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","designing-and-implementing-a-tool-to-transform-source-code-to-uml-diagrams","Designing and implementing a tool to transform source code to UML diagrams","","Reverse engineering enables extracting a system’s design information and abstractions from existing software by converting source code into analyzable structures. This work targets reverse engineering of Python and Java toward UML behavior models, specifically use case and activity diagrams, to support software maintenance. A dedicated tool, RCUML, uses Python to visualize and help understand Python/Java source code, improving representation of software behavior and facilitating development decisions.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/designing-and-implementing-a-tool-to-transform-source-code-to-uml-diagrams/655818/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/designing-and-implementing-a-tool-to-transform-source-code-to-uml-diagrams/655818.png","ImageObject",300,407,{"name":92,"@type":93},"Fahsai","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":52},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the study address in software maintenance?","Question",{"text":112,"@type":113},"It addresses the difficulty of understanding long-term software systems due to outdated or insufficient saved information and limited knowledge for maintainers, making reverse engineering necessary.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which UML diagram types does the proposed RCUML tool generate?",{"text":117,"@type":113},"RCUML focuses on extracting UML activity diagrams and use case diagrams from Python and Java source codes for behavior visualization.",{"name":119,"@type":110,"acceptedAnswer":120},"How does reverse engineering support the approach used in this study?",{"text":121,"@type":113},"The approach applies reverse engineering to transform Python and Java source code into UML models, aiming to increase the abstraction level for better comprehension of software behavior.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},655818,1793142538,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":52,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},549768702563,"https://ap-avatar.wpscdn.com/avatar/8000c4aa63b76e948b?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786536092046926083","Designing and implementing a tool to transform source code to UML  \ndiagrams  \nRasha Gh. Alsarraj1, Atica M. Altaie2, Anfal A. Fadhil 3  \n1, 2, 3 College of Computer Science and Mathematics, University of Mosul, Mosul, Iraq  \n\n| ABSTRACT |  |  |  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| Currently, reverse engineering is considered as a significant process to extract the design information and abstractions of a system from the present software. The extracted source codes have been converted into a certain structure to be easily analyzed in the following procedure. For facilitating the software process development, it might be optimum to have tools beingcertain which generate automatically or help UML generating models from the codes as a source. The current study focuses on the reverse engineering process regarding the python and java source codes to the behavior diagrams: the use case and the activity diagrams which might be of high importance in the process of software maintenance. This approach is carried out in the current study in the application referred to as the RCUML tool with the use of the python language which helped in understanding python and java source codes in the software application, and enabling visualization regarding the software behavior. |  |  |  |  |  |  |  |  |\n| Keywords: | Activity diagram, Engineering | Reverse | Engineering, | UML, | Use | case | diagram, | Software |\n| Corresponding Author:\u003Cbr>Rasha Gh. Alsarraj\u003Cbr>College of Computer Science and Mathematics, University of Mosul, Mosul, Iraq Email: [rasha.alsarraj@uomosul.edu.iq](rasha.alsarraj@uomosul.edu.iq) |  |  |  |  |  |  |  |  |\n\n1. Introduction  \nReverse engineering (RE) can be defined as the procedure used to analyze the subject systems to identify the components of the system and their inter-relationships and also to create system representations in other forms or at high abstraction levels. Reverse engineering is required in the case of understanding long-term software systems because of out-of-date, inadequate software saved information, system complexity, and insufficient knowledge regarding the system's maintainer. Moreover, it is utilized for recovering the missed data, or enhance the provided one, detect effects as side ones, reutilize the components in addition to reduce attempts of maintenance. Concerning the field of computer sciences, reverse engineering dynamic models convert codes to models like UML (Unified Modeling Language) state diagrams, sequence diagrams, and so on. The essential aim is to increase the abstraction's level for excellently understanding the software's behavior. The communities of software engineering focus on generating tools that help the analysts of the system gaining insight into the system structure . Also, the significant role related to the reverse tools of engineering in engineering software has been as followings [2]:  \n(1) Objectives of program analysis are to analyze the source codes as well as extracting associated information, such as methods and classes.  \n(2) Plan recognition will identify the patterns which might reflect the system structures or behaviors.  \n(3) Concept assignment has been developed for searching the patterns of systems and source code structures and identifying the relations among the system components.  \n(4) System’s re-documentation.  \nThis study specifies the diagrams of UML as target behavior models concerning reverse engineering. The chief study aim of the current is to provide the tool support to automatically extract the UML activity and the use case diagrams from the python and java source codes. To realize such aim, RCUML has been developed and estimated by using the method of reverse engineering for transforming python and java source codes into the models of UML. The contributions of the present study were as follows:  \n• A tool helping the developers of Computational Science and Engineering (CSE) extract the behavior diagrams o","cbCaiuQquXbiTbid","https://ap.wps.com/l/cbCaiuQquXbiTbid","pdf",422802,11,"English","# 1. Introduction\n## 1.1 Related work","[{\"question\":\"What problem does the study address in software maintenance?\",\"answer\":\"It addresses the difficulty of understanding long-term software systems due to outdated or insufficient saved information and limited knowledge for maintainers, making reverse engineering necessary.\"},{\"question\":\"Which UML diagram types does the proposed RCUML tool generate?\",\"answer\":\"RCUML focuses on extracting UML activity diagrams and use case diagrams from Python and Java source codes for behavior visualization.\"},{\"question\":\"How does reverse engineering support the approach used in this study?\",\"answer\":\"The approach applies reverse engineering to transform Python and Java source code into UML models, aiming to increase the abstraction level for better comprehension of software behavior.\"}]","Designing and implementing a tool to transform source code to UML diagrams | PDF",1792964070,28,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d857319e1ebcc0ce8e6300223ca9932c.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1b062e0f40d2f36ff1d28c934db8083a.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/80ebdba337f646c12d684c03edbf4aea.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ba49ae0135f1269bfdcb6a700f3b0ab6.webp",980,1385,{"list":164,"token":66},[165,171,177,183,189,196,202,208,214,220],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":34,"category_name":40,"create_tm":170},655808,"Systematic teaching of UML and behavioral diagrams - Version 1 - paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778001/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=jgemswIRw%2Fs6lDcHgDMaoMXPs7A%3D","systematic-teaching-of-uml-and-behavioral-diagrams-version-1-paper",1792964028,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":39,"category_name":40,"create_tm":176},423016,"Mining Programming Language Vocabularies from Source Code - Proceedings","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922611455/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=DUXJJRb0NxWdqc9tmgE3UMZa4iE%3D","mining-programming-language-vocabularies-from-source-code-proceedings",1790629755,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":29,"category_name":40,"create_tm":182},655834,"AUTOMATIC CODE GENERATION FROM UML DIAGRAMS: THE STATE-OF-THE-ART","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778535/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=WIO6Rhd7KHegVq757XxMFnF5iKY%3D","automatic-code-generation-from-uml-diagrams-the-state-of-the-art",1792964169,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":19,"category_name":40,"create_tm":188},725545,"Reverse Engineering techniques for Android systems - A Systematic approach","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028533818/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=ahV%2FzbVDNUlgg8VC2SoAYiQubkc%3D","reverse-engineering-techniques-for-android-systems-a-systematic-approach",1795209074,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":40,"create_tm":195},83570,"RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescue","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808868669/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=g8jFqH%2B7mdozEv3qIlovKFR5Sjg%3D","reporescue-an-empirical-study-of-llm-agents-on-whole-repository-compatibility-rescue",32,1784188910,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":44,"category_name":40,"create_tm":201},655546,"UNIFIED MODELING LANGUAGE (UML) OVERVIEW - Document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284951/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=1mwMMV34je%2BHqcJtGcO%2BmCIZjMQ%3D","unified-modeling-language-uml-overview-document",1792962562,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":39,"category_name":40,"create_tm":207},665443,"Query2Diagram - Answering Developer Queries with UML Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983494381/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=daQUFZfxKHSxOGCD%2FoPQhhJeqbQ%3D","query2diagram-answering-developer-queries-with-uml-diagrams",1793304176,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":52,"category_name":40,"create_tm":213},655642,"Enhanced Classification of UML Class Diagram Components Using Deep Learning for IT and Engineering Solutions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286523/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=Doef%2BajCtD3bPpHRqUUJ5Y7eC%2Bk%3D","enhanced-classification-of-uml-class-diagram-components-using-deep-learning-for-it-and-engineering-solutions",1792962987,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":44,"category_name":40,"create_tm":219},655814,"A Complete Traceability Methodology Between UML Diagrams and Source Code Based on Enriched Use Case Textual Description","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778104/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=J4gN0ZuOqEB3UXhKwkrOU3T7OXQ%3D","a-complete-traceability-methodology-between-uml-diagrams-and-source-code-based-on-enriched-use-case-textual-description",1792964061,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":44,"category_name":40,"create_tm":225},655839,"Unified Modeling Language Code Generation from Diagram Images Using Multimodal Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778811/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=iiqvQBEOmRx%2BFeuvb68dd4X9%2B%2B8%3D","unified-modeling-language-code-generation-from-diagram-images-using-multimodal-large-language-models",1792964223]