PhD
Permanent URI for this collectionhttps://repository.cuilahore.edu.pk/handle/123456789/35
This collection archives the complete set of theses produced by students of the COMSATS University Islamabad, Lahore Campus.
Browse
3 results
Search Results
Item Multilingual Source Code Analysis for Recovery of J2EE Environment(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2017) Zaigham Mushtaq; SP11-PCS-001; LHR TP 5940; Dr. Ghulam RasoolDesign patterns are proven solutions that help to develop quality software applications and program comprehension at the design level. Recovering design information from source code supports source code analysis for better program understanding, reuse, and re-engineering. With the advent of modern technologies in software development paradigm, the size and complexity of software applications are increased, consequently, extracting software design has become harder and challenging. In these multilingual applications, the design information is scattered in various cross-language artifacts that are interdependent on each other. Therefore, in order to analyze these applications, all the cross-language components and their relationships needs to be resolved. At present, there is no approach known to us that is capable of extracting design information from multilingual applications by using design patterns. The purpose of this thesis is to build the foundation for the analysis of multilingual applications by using design patterns. Java Enterprise Applications are the examples of multilingual applications i.e. their design information is scattered in several multilingual artifacts. This platform is equipped with verified design solutions in the form of J2EE Patterns. J2EE Platform is a multi-tiered architecture. The instances of these patterns are scattered in various cross language components in different layers of J2EE Platform. It is difficult to resolve cross-language artifacts and extract desirable information and dependencies. J2EE Patterns have abstract representations and their formal definitions are not known. In addition, to the best of our insight, there is no approach available to recognize J2EE Patterns from Java enterprise applications. In this dissertation, a novel approach is presented for the detection of J2EE Patterns from the multilingual source code of J2EE applications. For this purpose, customizable and reusable feature types are presented as a catalog of J2EE Pattern definitions. These feature types can accommodate new pattern definitions and are adaptable to detect the variants of any pattern. A prototype toolkit, JPDT (J2EE Pattern Detection Tool) is developed that uses J2EE Pattern definitions based on a catalog of customizable feature types and extracts J2EE Patterns from the multilingual source code of enterprise applications. This tool has three xi basic components; including J2EE Extended Parsing Module (JPSP), J2EE Pattern Detection Engine (JPDE) and J2EE Patterns Visualization Module (JPVM). In order to evaluate the validity of approach and prototype tool, a corpus is built that contains the repository of the source code of J2EE Pattern definitions. Additionally, the tool is evaluated on five open source medium and large enterprise applications. The results reveal 100 % accuracy of approach in successful recognition of J2EE Patterns in source code repository and open source applications. The results also establish the significance of customizable definitions of J2EE Pattern’s catalog and capability of prototype toolItem Detection of Antipatterns from Service Oriented Architecture(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2018) Fatima Sabir; SP14-PCS-003; LHR TP 5603; Dr. Ghulam RasoolWeb-services have become a governing technology for Service Oriented Architectures due to reusability of services and their dependence on other services. The evolution in service-based systems demand frequent changes to provide quality of service to customers. It is realized by different authors that evolution in service-based systems may degrade design and quality of service and may generate poor solutions known as antipatterns. The detection of antipatterns from web services is an important research realm and it is continuously getting attention of researchers. There are several techniques and tools presented for detection of antipatterns from object-oriented software applications but only few approaches are presented for detection of antipatterns from SOA. The state of the art antipattern detection approaches presented for detection of antipatterns from SOA are not flexible. We present a flexible approach supplemented with a tool support named as SWAD (Specification of Webservice Antipatterns Detection) to detect antipatterns from different SOAP based applications. Service-based systems, in particular, RESTful APIs, need to meet both service consumers’ and providers’ requirements. Like other software systems, RESTful APIs face continuous maintenance and evolution. Antipatterns may hinder the maintenance and evolution of RESTful APIs, as compared to the good design principles, i.e., design patterns that facilitate maintenance and evolution. Antipatterns may also affect the usability of RESTful APIs. Major market players like Facebook and YouTube are already using REST architecture and their APIs are frequently evolving to meet the end users’ requirements. Although, a number of antipatterns are defined in the literature and researchers performed their automatic detection but the evolution of RESTful APIs did not receive much attention. There is a need to track the evolution of antipatterns in the RESTful APIs that could assist service providers publishing well-designed and easy to consume RESTful APIs for their clients. We present the correction of eight REST antipatterns in RESTful APIs with a tool support called SOCAR (Service Oriented Correction of Antipatterns in REST) after analyzing their evolution history for two years. Our correction heuristics are validated by practitioners with an average precision of 100% and an average recall of 94%. Moreover, we propose a methodology for the correction of linguistic antipatterns with a tool support COLAR (Correction of Linguistic Antipatterns for RESTAPIs).Item Software Measurement Programs: Evaluations and Solutions(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2019) Touseef Tahir; SP13-PCS-002; LHR TP 5943; Dr. Ghulam RasoolEvery software development process either generates or uses measurement data that is essential to understand, evaluate, improve and predict the software processes, products, and resources. Software development organizations implement measurement programs (MPs) as part of their measurement processes. However, implementing successful MPs still remains a challenge. The aim of this thesis is to comprehensively evaluate and then contribute towards planning and implementation issues of MPs. This research is conducted in three phases: 1) problem identification 2) solution design and 3) industrial evaluation of solutions. A mix of qualitative and quantitative research methods is used appropriately for each phase. In the first phase, comprehensive literature reviews of the studies on MPs are conducted to enable a better understanding of the existing measurement planning models, tools, challenges, success factors, and metrics selection methods of implementing MPs in general and specifically for small and medium enterprises (SMEs). In addition, challenges of implementing MPs in large organizations and SMEs are analyzed. In the second phase, multiple solutions are proposed to improve the planning of MPs. The solutions are based on the analysis of research gaps involving the challenges and success factors of implementing MPs. First, a set of key components of MPs is identified for planning a MP. Second, a model of success factors for planning MPs in general is proposed. Third, a model of success factors for planning MPs specifically in SMEs is proposed. Fourth, a model called data-driven measurement for software prediction (D2MSP) is proposed to overcome the challenge of using already collected measurement data for prediction of software attributes e.g., defects. In the third phase, the solutions are evaluated in the software development industry with the help of surveys and empirical data of software projects. A set of key components and a model of success factors are evaluated based on a survey among 200 software professionals working in the Pakistani software development industry. A model of success for planning MPs specifically in SMEs is evaluated based on a survey among 217 software professionals working in SMEs of Pakistan. The D2MSP xi model is evaluated using a dataset of 760 projects and later applied in a software development organization as a case study. Overall, this research contributes to the theory and practice of software measurement by providing an improved understanding of planning software MPs and proposing and validating models of success factors and the D 2MSP model for planning MPs.