# INTRODUCTION oday public sector is an integral part of Govt. and performance of it, has considerable scope for improvement. However, these sector such as govt. hospital, depends on information system, which have been engineered in earlier days, such legacy system using procedural methodology, db handling , GUI etc. As services grow in size or the requirement of public increases continuously, due to this there is accelerating need software maintenance. It has been observed that, the cost of the maintenance is much higher than the cost of reengineering of the software. And also continue maintenance of such system become tedious and cost approach and occurrence of software failure is more due to poor documentation, poorly structured & transparency, and also changes technology infra structured in hardware and software, complexity of module increases continuously, and finally logic code written is outdated hardware and software. Therefore, maintenance is not a good choice. Reengineering, is much better than maintenance. It is an approach to solve problem of legacy system. Its aim is the qualitative improvement of existing software and the extension of its life expectancy. It consists of examination (reverse engineering) and alteration (forward engineering) of legacy system. # II. # PURPOSED WORK The purposed methodology, used to reengineering of module of public sector i.e. more suitable, for available tools and techniques. It will create significant improvement to measure the complexity and Author : Professor, Department of Computer Science & Application Kurukshetra University, Kurukshetra, India. E-mail : Anilbest2005@gmail.com Author : Asst. Professor, Computer Science & Engg. Vaish College of Engineering, Rohtak, India. E-mail : Bestanil2005@rediffmail.com effort of module individually by using Excel Template [9]. The Excel Template that is used to measure complexity of each and every modules of hospital are Modified Method Hiding Factor It also specifies causes of errors and the use of the safety design concepts, to prevent minimize errors by detecting them, before undesirable effect takes place. The excel template provides facility to reengineering the modules in such a way that help enables the doctors to better serve their patients, Reducing the time spent by staff filling out forms, Control over the costs incurred by diagnosis -related groups, Increased nursing productivity, Faster and informed decision-making by doctors, Improve decision support for the management, Cost-effective patient transactions. # III. # PROBLEM DESCRIPTION HMS is powerful, flexible, easy to use and has designed & developed to deliver real conceivable benefits to hospitals and clinics. It is designed for multi specialty hospitals, to cover a wide range of hospital administration and management processes. Hospital Management System is a product of our deep experience in delivering successful solutions to various customers in the healthcare space and our expertise in developing unique Intellectual Property in the form of products and re-usable components for the Healthcare Industry. Conventional methodology, based on SDLC, there is no way to measurement of complexity and effort of module during reengineering of module as well as this methodology not support reusability and also productivity of module not very much effective. Structured Methodology is slightly improvement of conventional methodology. If we reengineering the module by using this methodology, it help to measure control but not support reusability, but help in productivity and quality of analysis and design. It will provide more effective analysis & more stable or maintainable design. However, both these methodology not support today's available tool and techniques. # IV. # RESULTS AND DISCUSSION There are twelve excel template that are used to determine complexity of module that are more efficient as compared to other methodologies. Six excel template [9] such as M-MHF, M-AHF, M-MIF, M-AIF, M-PF & M-CF are used to determine complexity of each and every module of the system, as well as it also provides facilities to hide information, to increase reusability & productivity of modules, measure the degree of method overriding in class inheritance and also measure degree of coupling among different types of modules. Other six excel template [9] , such as M-WMC, M-DIT, M-NOC, M-CBO, M-RFC & M-LCOM, are used to determine effort i.e. required to reengineering of the module during Post Martem Methodology [1 2,3] . The purposed methodology also, allows the developer to communicate using well-known, well understood names for the software interactions. Common design pattern can improved over time, making them more robust than ad-hoc (in-formal or unplanned) design. V. # CONCLUSION Overall objective of this paper, is that modules are design in such a way that if any time any where any module need for reengineering in future, it is easily takes place. As well as it provides facilities to determine complexity [3,4] and effort from that module, where reengineering happens. It does not need to determine complexity of entire modules again and again. And it will focus on optimization and increase productivity [7], reusability [7] , flexibility [7] , understandability and also support reliability of modules [10] . ![(M-MHF), Modified Attributes Hiding Factor (M-AHF), Modified Method Inheritance Factor (M-MIF), Modified Attributes Inheritance Factor (M-AIF), Modified Coupling Factor (M-CF), and Modified Polymorphism Factor (M-PF); And the Excel Template that are used for measuring effort of each and every modules of hospital during reengineering of the modules are, Modified Weighted Method Per Class (M-WMC), Modified Depth of Inheritance (M-DIT), Modified Number of Children (M-NOC), Modified Coupling Between Object (M-CBO), Modified Response for a class (M-RFC) and Modified Lack of Cohesion in Method (M-LCOM).](image-2.png "") 2011![Global Journals Inc. (US) Global Journal of Computer Science and Technology Volume XI Issue XVI Version I 25 2011 September Reengineering of Module for Public Sector & Complexity Measurement Keywords The legacy system (i.e. hospital) is engineered by using Conventional and Structured Methodology.](image-3.png "T © 2011") 1![Fig.1 : 'The above graph show complexity of reengineering of module by using values given in table 1](image-4.png "Fig. 1 :") 2![Fig. 2 : 'The above graph show effort required during reengineering of module by using value given in table 2' The design of modules based on purposed methodology provides facilities such as: It enables the doctors to better serve their patients. Reducing the time spent by staff filling out forms. Control over the costs incurred by diagnosisrelated groups. Increased nursing productivity. Faster and informed decision-making by doctors Improve decision support for the management Cost-effective patient transactionsThe purposed methodology also, allows the developer to communicate using well-known, well understood names for the software interactions. Common design pattern can improved over time, making them more robust than ad-hoc (in-formal or unplanned) design.](image-5.png "Fig. 2 :") 1determined by Complexity Measurement Template'SrPost MartemConventionalNoActivityMethodologymethodology1 H HMS Staff36.5141602 E Emergency70.47853 E Enquiry46.806784 OPD52.9121755 M Managing Unit51.877Doctor6Examination33.1916567 N Nurse Detail36.914628 P Patient Status20.4569 P Pharmacy/Drug61.27128010 Laundry33.42727511 Kitchen33.427275 2Reengineering of Module for Public Sector & Complexity MeasurementSr NoActivityM-WMC M-DIT M-NOC M-CB0 M-RFC M-LCOM1HMS Staff3432232Emergency3931243Enquiry3342244OPD22042245Managing Unit52094456Doctor Exam2831247Nurse Detail2931248P Patient Status3452229Pharmacy/Drug414732410Laundry12112211Kitchen121122 © 2011 Global Journals Inc. (US) Global Journal of Computer Science and Technology Volume XI Issue XVI Version I 26 © 2011 Global Journals Inc. (US) Global Journal of Computer Science and Technology Volume XI Issue XVI Version I 28 2011 September This page is intentionally left blank * A methodology for business redesign: experience and issues GWWastell PWhite PKawalek Journal of Strategic Information Systems 3 1 1994 * Business process change: a study of methodologies, techniques, and tools WJKettinger JT CTeng SGuha MISQ Quarterly March 1997 * A methodology and modeling technique for systems of BDI agents D;Kinny MGeorgeff ARao LNAI 1038 1996 Springer Verlag * Evaluating Software Complexity Measures ElaineJWeyuker IEEE Transactions on Software Engineering 14 9 1988 * The C Information Abstraction System Yin-FarnChen MichaelYNishimoto CVRamamoorthy IEEE Transactions on Software Engineering 16 3 March 1990 * An Empirical Study of Representation Methods for Reusable Software Components BWilliam ThomasPFrakes Pole IEEE Transactions on Software Engineering 20 8 August 1990 * IEEE Standard for a Software Quality Metrics Methodology 1998 Software Engineering Standards Committee of the IEEE Computer Society * The process redesign-the implementation guide for managers ARTenner IJDetoro 1992 Prentice Hall New Jersey * Developing interpretable models with optimized set reduction for identifying high-risk software components LionelCBriand VictorRBasili ChristopherJHetmanski IEEE Transactions on Software Engineering 19 11 November 1993 * Business process reengineering: a consolidated methodology SMuthu LWhitman HSCheraghi Proceedings of the 4th Annual International Conference on Industrial Engineering Theory, Applications and Practice the 4th Annual International Conference on Industrial Engineering Theory, Applications and Practice 1999