Loading...
Search for: application-programming-interfaces--api
0.005 seconds

    Two studies of framework-usage templates extracted from dynamic traces

    , Article IEEE Transactions on Software Engineering ; Volume 38, Issue 6 , 2012 , Pages 1464-1487 ; 00985589 (ISSN) Heydarnoori, A ; Czarnecki, K ; Binder, W ; Bartolomei, T. T ; Sharif University of Technology
    2012
    Abstract
    Object-oriented frameworks are widely used to develop new applications. They provide reusable concepts that are instantiated in application code through potentially complex implementation steps such as subclassing, implementing interfaces, and calling framework operations. Unfortunately, many modern frameworks are difficult to use because of their large and complex APIs and frequently incomplete user documentation. To cope with these problems, developers often use existing framework applications as a guide. However, locating concept implementations in those sample applications is typically challenging due to code tangling and scattering. To address this challenge, we introduce the notion of... 

    Predicting API-Related Faults Using Crowd Knowledge

    , Ph.D. Dissertation Sharif University of Technology Tahmooresi, Hamed (Author) ; Heydarnoori, Abbas (Supervisor)
    Abstract
    Software quality assurance activities such as debugging are considered one of the most important and effective tasks in software development life cycle. However, these activities are tedious and time consuming. Consequently, wide variety of studies have been conduced around the process of software debugging, such as predicting defects,which is one of the most important topics in this area.In spite of the popularity of software libraries and frameworks, and the use of application programming interfaces (API), most of the studies in the defect prediction area have not focused on predicting defects related to API usages. However, due to the lack of documentation and complexity of the APIs... 

    Activities performed by programmers while using framework examples as a guide

    , Article Proceedings of the ACM Symposium on Applied Computing ; 2014 , p. 1146-1151 Boghrati, R ; Heydarnoori, A ; Kazemitabaar, M ; Sharif University of Technology
    Abstract
    It is now a common approach pursued by programmers to develop new software systems using Object-Oriented Application Frameworks such as Spring, Struts and, Eclipse. This improves the quality and the maintainability of the code. Furthermore, it reduces development cost and time. However, the main problem is that these frameworks usually have a complicated Application Programming Interface (API), and typically suffer from the lack of enough documentation and appropriate user manuals. To solve these problems, programmers often refer to existing sample applications of those frameworks to learn how to implement the desired functionality in their own code. This is called the Monkey See, Monkey Do... 

    EXAF: A search engine for sample applications of object-oriented framework-provided concepts

    , Article Information and Software Technology ; Volume 75 , 2016 , Pages 135-147 ; 09505849 (ISSN) Noei, E ; Heydarnoori, A ; Sharif University of Technology
    Elsevier 
    Abstract
    Object-oriented application frameworks, such as Java Swing, provide reusable code and design for implementing domain-specific concepts, such as Context Menu, in software applications. Hence, use of such frameworks not only can decrease the time and the cost of developing new software applications, but also can increase their maintainability. However, the main problems of using object-oriented application frameworks are their large and complex APIs, and often incomplete user manuals. To mitigate these problems, developers often try to learn how to implement their desired concepts from available sample applications. Nonetheless, this introduces another hard and time-consuming challenge which... 

    Inferring API correct usage rules: A tree-based approach

    , Article 16th International ISC (Iranian Society of Cryptology) Conference on Information Security and Cryptology, ISCISC 2019, 28 August 2019 through 29 August 2019 ; 2019 , Pages 78-84 ; 9781728143736 (ISBN) Zolfaghari, M ; Salimi, S ; Kharrazi, M ; Sharif University of Technology
    Institute of Electrical and Electronics Engineers Inc  2019
    Abstract
    The lack of knowledge about API correct usage rules is one of the main reasons that APIs are employed incorrectly by programmers, which in some cases lead to serious security vulnerabilities. However, finding a correct usage rule for an API is a time-consuming and error-prone task, particularly in the absence of an API documentation. Existing approaches to extract correct usage rules are mostly based on majority API usages, assuming the correct usage is prevalent. Although statistically extracting API correct usage rules achieves reasonable accuracy, it cannot work correctly in the absence of a fair amount of sample usages. We propose inferring API correct usage rules independent of the... 

    A cost-effective methodology to compare travel time and speed: A tale of 11 cities

    , Article Proceedings of the Institution of Civil Engineers: Municipal Engineer ; 2021 ; 09650903 (ISSN) Sabet, S ; Namdarpour, F ; Mesbah, M ; Sharif University of Technology
    ICE Publishing  2021
    Abstract
    Urban commuters and road authorities are interested in knowing how well their city can manage traffic conditions. It is challenging to make a fair comparison among global cities due to the absence of a consistent, publicly accessible and inexpensive framework. This study proposes a methodology to compare travel time and average speed in different cities. Large cities have a central core, in which many of the major activities take place. This core is called downtown or the central business district (CBD). In this study, a comparison is made by simulating the morning commute trips from origins outside to destinations inside the CBD. The proposed framework outlines how the city and the CBD... 

    Analysis and Design of a Mooring System for Floating PV Power Plant

    , M.Sc. Thesis Sharif University of Technology Anvari, Hojjat (Author) ; Khorasanchi, Mahdi (Supervisor) ; Abbaspour Tehrani Fard, Majid (Co-Supervisor)
    Abstract
    For the stability of floating solar PV power plants against environmental forces and the safety of operators during maintenance and repair, the mooring system ought to be designed based on the position of the plant, the size of the plant, and weather conditions. Floating solar PV power plants are mostly located in reservoirs with significant water level variations, or in some cases in inland seas where changes in water level are the most important challenge in their mooring system. In this project, different methods to overcome the water level variations have been studied and finally, a creative idea which covers the weaknesses of previous ones has been represented. By using programming... 

    Modeling and parallel computation of the non-linear interaction of rigid bodies with incompressible multi-phase flow

    , Article Computers and Mathematics with Applications ; Volume 72, Issue 4 , 2016 , Pages 1055-1065 ; 08981221 (ISSN) Malvandi, A ; Ghasemi, A. M ; Nikbakhti, R ; Ghasemi, A. R ; Hedayati, F ; Sharif University of Technology
    Elsevier Ltd 
    Abstract
    A computational tool is developed to capture the interaction of solid object with two-phase flow. The full two-dimensional Navier–Stokes equations are solved on a regular structured grid to resolve the flow field. The level set and the immersed boundary methods are used to capture the free surface of a fluid and a solid object, respectively. A two-step projection method along with Multi-Processing (OpenMP) is employed to solve the flow equations. The computational tool is verified based on numerical and experimental data with three scenarios: a cylinder falling into a rectangular domain due to gravity, transient vertical oscillation of a cylinder by releasing above its equilibrium position,... 

    Investigation of obstacle effect to improve conjugate heat transfer in backward facing step channel using fast simulation of incompressible flow

    , Article Heat and Mass Transfer/Waerme- und Stoffuebertragung ; 2017 , Pages 1-16 ; 09477411 (ISSN) Nouri Borujerdi, A ; Moazezi, A ; Sharif University of Technology
    Abstract
    The current study investigates the conjugate heat transfer characteristics for laminar flow in backward facing step channel. All of the channel walls are insulated except the lower thick wall under a constant temperature. The upper wall includes a insulated obstacle perpendicular to flow direction. The effect of obstacle height and location on the fluid flow and heat transfer are numerically explored for the Reynolds number in the range of 10 ≤ Re ≤ 300. Incompressible Navier-Stokes and thermal energy equations are solved simultaneously in fluid region by the upwind compact finite difference scheme based on flux-difference splitting in conjunction with artificial compressibility method. In... 

    Application of Hydrated Basil Seeds (HBS) as the herbal fiber on hole cleaning and filtration control

    , Article Journal of Petroleum Science and Engineering ; Volume 152 , 2017 , Pages 212-228 ; 09204105 (ISSN) Movahedi, H ; Vasheghani Farahani, M ; Jamshidi, S ; Sharif University of Technology
    Elsevier B.V  2017
    Abstract
    Application of the fiber contained fluids has been extensively increased in many industries. In the petroleum industry, fibrous fluids are utilized for different applications. For instance, they have been applied in drilling operations for hole cleaning and cutting removal. In this article, the results of the studies performed on the application of Hydrated Basil Seeds (HBS) as the herbal eco-friendly fiber on hole cleaning and filtration control were presented. In order to investigate the application of HBS on hole cleaning, Polyacrylamide (PA) was added to the pure water to provide the base fluid and HBS at different concentrations were suspended in the base fluid and the effect of HBS on... 

    Investigation of obstacle effect to improve conjugate heat transfer in backward facing step channel using fast simulation of incompressible flow

    , Article Heat and Mass Transfer/Waerme- und Stoffuebertragung ; Volume 54, Issue 1 , 2018 , Pages 135-150 ; 09477411 (ISSN) Nouri Borujerdi, A ; Moazezi, A ; Sharif University of Technology
    Springer Verlag  2018
    Abstract
    The current study investigates the conjugate heat transfer characteristics for laminar flow in backward facing step channel. All of the channel walls are insulated except the lower thick wall under a constant temperature. The upper wall includes a insulated obstacle perpendicular to flow direction. The effect of obstacle height and location on the fluid flow and heat transfer are numerically explored for the Reynolds number in the range of 10 ≤ Re ≤ 300. Incompressible Navier-Stokes and thermal energy equations are solved simultaneously in fluid region by the upwind compact finite difference scheme based on flux-difference splitting in conjunction with artificial compressibility method. In... 

    Developing 3D neutron transport kernel for heterogeneous structures in an improved method of characteristic (MOC) framework

    , Article Progress in Nuclear Energy ; Volume 127 , 2020 Porhemmat, M. H ; Hadad, K ; Salehi, A. A ; Moghadam, A ; Sharif University of Technology
    Elsevier Ltd  2020
    Abstract
    Given the importance and complexity of the three-dimensional (3D) neutron transport equation solution, in the current research, a new Modular Ray Tracing (MRT) Algorithm and 3D characteristic kernel for heterogeneous structures are presented. Improvement of memory management and cache coherency are achieved to some acceptable level. Also, parallel implementation of transport algorithm utilizing OpenMP, cause significant reduction in runtime. To validate our Algorithm, first, a self-constituted pin cell and a lattice arrangement are modeled and results are compared with Monte-Carlo simulation. Second, the well-known 3D benchmark, Takeda model one and two, are investigated and results compared... 

    Studying the relationship between the usage of APIS discussed in the crowd and post-release defects

    , Article Journal of Systems and Software ; Volume 170 , 2020 Tahmooresi, H ; Heydarnoori, A ; Nadri, R ; Sharif University of Technology
    Elsevier Inc  2020
    Abstract
    Software development nowadays is heavily based on libraries, frameworks and their proposed Application Programming Interfaces (APIs). However, due to challenges such as the complexity and the lack of documentation, these APIs may introduce various obstacles for developers and common defects in software systems. To resolve these issues, developers usually utilize Question and Answer (Q&A) websites such as Stack Overflow by asking their questions and finding proper solutions for their problems on APIs. Therefore, these websites have become inevitable sources of knowledge for developers, which is also known as the crowd knowledge. However, the relation of this knowledge to the software quality... 

    A cost-effective methodology to compare travel time and speed: A tale of 11 cities

    , Article Proceedings of the Institution of Civil Engineers: Municipal Engineer ; Volume 175, Issue 2 , 2022 , Pages 84-94 ; 09650903 (ISSN) Sabet, S ; Namdarpour, F ; Mesbah, M ; Sharif University of Technology
    ICE Publishing  2022
    Abstract
    Urban commuters and road authorities are interested in knowing how well their city can manage traffic conditions. It is challenging to make a fair comparison among global cities due to the absence of a consistent, publicly accessible and inexpensive framework. This study proposes a methodology to compare travel time and average speed in different cities. Large cities have a central core, in which many of the major activities take place. This core is called downtown or the central business district (CBD). In this study, a comparison is made by simulating the morning commute trips from origins outside to destinations inside the CBD. The proposed framework outlines how the city and the CBD... 

    Parallelized numerical modeling of the interaction of a solid object with immiscible incompressible two-phase fluid flow

    , Article Engineering Computations (Swansea, Wales) ; Volume 34, Issue 3 , 2017 , Pages 709-724 ; 02644401 (ISSN) Ghasemi, A ; Nikbakhti, R ; Ghasemi, A ; Hedayati, F ; Malvandi, A ; Sharif University of Technology
    Abstract
    Purpose - A numerical method is developed to capture the interaction of solid object with two-phase flow with high density ratios. The current computational tool would be the first step of accurate modeling of wave energy converters in which the immense energy of the ocean can be extracted at low cost. Design/methodology/approach - The full two-dimensional Navier-Stokes equations are discretized on a regular structured grid, and the two-step projection method along with multi-processing (OpenMP) is used to efficiently solve the flow equations. The level set and the immersed boundary methods are used to capture the free surface of a fluid and a solid object, respectively. The full...