Search or add a thesis

Advanced Search (Beta)
Home > Evaluating the Impact of Refactoring on Clients and Unit Tests

Evaluating the Impact of Refactoring on Clients and Unit Tests

Thesis Info

Access Option

External Link

Author

Basit, Wafa

Program

PhD

Institute

National University of Computer and Emerging Sciences

City

Peshawar

Province

KPK

Country

Pakistan

Thesis Completing Year

2016

Thesis Completion Status

Completed

Subject

Natural Sciences

Language

English

Link

http://prr.hec.gov.pk/jspui/bitstream/123456789/7454/1/wafa.basit.phd.thesis.pdf

Added

2021-02-17 19:49:13

Modified

2024-03-24 20:25:49

ARI ID

1676726104174

Asian Research Index Whatsapp Chanel
Asian Research Index Whatsapp Chanel

Join our Whatsapp Channel to get regular updates.

Similar


Refactorings are specific code transformations that improve the design of existing code without changing its externally observable behavior. In practice, unit tests are the most commonly used tools to ensure preservation of behavior after refactoring. Since unit tests are tightly coupled with the code, refactoring of the code can also invalidate the associated unit tests. If not properly adapted and maintained along with any transformation in the production code, the safety net provided by the unit tests would not be available and could result in a huge loss in terms of effort and cost. Refactoring guidelines provide mechanics for code transformation and refactoring tools provide support for automatic execution of these mechanics. Since refactoring can result in breaking of client and test code, adaptation techniques to fix these should be appropriately addressed. This thesis extends the state of the art in refactoring by formalizing the concept of unit test adaptation with refactorings. In this thesis, we established that, in the context of refactoring, unit test is different from an ordinary client. Therefore, it requires additional adaptations that are not applicable to any other client in the software. For instance, moving a method to another class requires adaptation of its clients including the unit tests. If the clients are not updated, this refactoring will result in compilation errors. On the other hand if test code is not adapted accordingly, this refactoring will introduce test smells in the test code. The test adaptation mechanics developed in this thesis also improve the design of test code along overall improvement in quality of production code. In this thesis we reviewed and analyzed various concepts and tools for refactoring java programs. and unit testing and identified the areas that could be improved. It also includes identification of problem areas in Fowler’s catalog via empirical evaluation . It has also been demonstrated, how refactoring guidelines can be extended. In addition, a test and client adaptation framework has been designed. This framework can provide a basis for automation of primitive refactorings and their associative adaptive actions to be performed on production and test code. The functions from this framework have been used to develop formal specifications of extended refactoring guidelines at different levels of abstraction. We also show with the help of results from an expert survey, empirical investigation and practical demonstration that our proposed approach has various advantages as compared to conventional approaches.
Loading...
Loading...

Similar Books

Loading...

Similar Chapters

Loading...

Similar News

Loading...

Similar Articles

Loading...

Similar Article Headings

Loading...

10 پنجواں شکار

پنجواں شکار

                شکندر بارہویں جماعت دا طالب علم سی اک دیہاڑے جدوں اوہ کالج اپڑیا تے اوہنے ویکھیا پئی کالج دے نیڑے خالی میدان وچ خانہ بدوشاں دیاں پکھیاں لگیاں ہوئیاں نیں کالج لگن وچ اجے کجھ چررہندا سی پئی اوہ بے وس ہوکے پکھیاں ول ٹرپیا جدوں اوہ اک پکھی دے کول اپڑیا تے بت بن کے کھلوتا رہ گیا ایس پکھی وچ اک کڑی چھج بناون وچ لگی ہوئی سی اوہنے سدھے سادھے کپڑے پائے ہوئے سن اوہدیاں گلہاں نوں اک لٹ لگدی پئی سی۔ موٹیاں موٹیاں اکھاں، گول گپا جہیا چہرہ۔ اچن چیت اکو واری ایس کڑی نے شکند رول ویکھیا دونواں دیاں اکھاں چار ہوئیاں تے فیر اوس کڑی نے سر تھلے کرلیا خدا جانے کدوں تیکر شکند راوہدے دل ویکھدا رہیا جدوں کالج دا ویلا ہوگیا تے اوہ مجبور ہوکے کالج ول ٹرپیا پر اوہ چنگی طراں کالج وچہ پڑھ نہ سکیا ہر ویلے اوس کڑی دے خیالاں وچ ڈبیا رہیا۔

                جدوں کالج توں ویہلا ہوئیا بے وس اوہدے قدم اوس پکھی ول اٹھ پئے جیہدے وچ اوہ مٹیار بیٹھی ہوئی سی۔ جدوں شکندر اوتھے اپڑیا تے اوہ وی پہلے توں اوہدی اڈیک وچ سی تے کہن لگی ’’تسیں آگے اوباؤ جی، میں تہاڈی ای اڈیک وچ بیٹھی سی‘‘ ایہہ گل سن کے شکندر حیران ہو گیا اوس کڑی نے دوجی وار فیر آکھیا۔

اسلام اور دیگر نظام ہائے حیات کے فلسفہ حقوق کا تقابلی مطالعہ

Resentation of Human Rights is the crox of Islam. The way Islam preserves Human Rights is examplary. It offers the first ever charter of Human Rights. Service to huminity is considered the highest ever and the most rewarding deed by a muslim. Islam acceeds to a cohesive social set-up where there is a fine balance between rights and responsibilities. A muslim government looks after all its citizens, be they muslims are non-muslims. In the contemporary world UN reverbation of Islamic concept of Human Rights.

Structural and Regulatory Analysis of Angptl8 Using Computational Approaches and the Formal Verification of its Biological Regulatory Network in Insulin Resistance

In this thesis, the regulation of ANGPTL8 has been deciphered at different regulatory levels using computational systems-level approaches in order to gain insights into its physiological and pathological mechanism of action. ANGPTL8 is a recently identified novel hormone and an atypical member of Angiopoietin like (ANGPTL) protein family. Dual nature of ANGPTL8 due to its ability to regulate both glucose and lipid metabolic pathways led to its emergence as a novel molecular player for the possible treatment of Diabetes Mellitus and other related metabolic disorders. Initial research efforts investigating its physiological and pathological roles partly elucidated its functional role in the regulation of metabolic machinery and insulin resistance. Thus, this thesis was designed to provide a clear understanding of the regulation of ANGPTL8 during homeostasis and compensatory insulin resistance. For this purpose, an initial check was performed to verify the association of ANGPTL8 in different murine models of compensatory insulin resistance exhibiting normoglycemia using transcriptomics data analysis. Furthermore, a systematic methodology was employed to construct a regulatory pathway of ANGPTL8 utilizing its reported interaction data. Since, none of the major pathways databases held any interaction data regarding ANGPTL8, this step was a pre-requisite for aiding future genomics studies for which pathways analysis is an integral part of the workflow. This pathway was made available to the research community through WikiPathways (an open source pathways database) and it allowed the visualization of ANGPTL8’s regulation with respect to other genes and proteins in different pathways. This pathway also aided in understanding the complex interplay of novel hormones, genes and proteins in metabolic disorders with regards to ANGPTL8. Moreover, an integrated pathways based analysis was performed on a hepatic transcriptomics data set to identify the co-expressed genes with ANGPTL8, investigate their occurrence in the known pathways, find overrepresented gene ontology classes in these genes and identify the disease linked SNPs in them. The results aided in identification of genes at different levels of regulation regarding ANGPTL8 and have implications for follow up experimental studies. This could aid in identifying additional protein partners and mutual role of these genes in leading to pathogenesis of Diabetes Mellitus and associated metabolic disorders. The signaling dynamics involved in the homeostasis and insulin resistance by ANGPTL8 were further analyzed with the formal approaches of modeling of biological regulatory networks. For this purpose, a discrete mode of ANGPTL8 associated BRN based on kinetic logic of René Thomas’ was constructed and its kinetic parameters were estimated using a model checking approach. This model was converted into a stochastic Petri net in order to simulate its time dependent dynamics. The results of these models provided insights on the role of ANGPTL8 in maintaining normoglycemia through the AKT→ FOXO, AKT→ GSK3-β and AKT→ ChREBP signaling. These results supported the hypothesis on the role of ANGPTL8 in supplementing the insulin signaling pathway during insulin resistance and aggravating the pathogenesis upon its loss. Thus, the results of this study supports its role as a glucose lowering agent and have therapeutic implications for the treatment of Diabetes Mellitus and related disorders. Furthermore, the structural characterization of ANGPTL8 was performed using several computational approaches which was verified after thorough protein-protein interaction analysis based on the available experimental knowledge and the new inferences. The finally selected structure of ANGPTL8 is based on the structure of human p85β-iSH2 domain (PDBentry:3mtt). The human p85β-iSH2 domain is one of the subunits of the regulatory domain (p85) of Phosphatidylinositol3-kinase (PI3K) protein. The protein-protein interaction analysis of ANGPTL8 with its binding partner Lipoprotein lipase revealed a model in which ANGPTL8 inhibits it by steric block of catalytic site and thus interfering with its function. This result is comparable with a similar family member ANGPTL4. In conclusion, this thesis enhanced our current understanding about the functional and structural characterization of ANGPTL8 and will further contribute to its assessment as a drug candidate.