Amjed Tahir

Amjed Tahir

Auto-generated profile, based on publicly available information

Amjed Tahir

Massey University, Palmerston North, New Zealand

Research Focus & Metrics

Academic Career Length

17Years (2010-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
6 October 2025 in ACM Transactions on Software Engineering and Methodology
Verified
Journal Article
Open access
YFYujia Fu
Yujia Fu
PLPeng Liang
Peng Liang
ATAmjed Tahir
Amjed Tahir
ZLZengyang Li
Zengyang Li
MSMojtaba Shahin
Mojtaba Shahin
JCJinfu Chen
Jinfu Chen
Modern code generation tools utilizing AI models like Large Language Models have gained increased popularity due to their ability to produce functional code. However, their usage presents security challenges, often resulting in insecure code merging into the code base. Thus, evaluating the quality of generated code, especially its security, is crucial. While prior research explored various aspects of code generation, the focus on security has been limited, mostly examining code produced in controlled environments rather than open source development scenarios. To address this gap, we conducted an empirical study, analyzing code snippets generated by GitHub Copilot and two other AI code generation tools (i.e., CodeWhisperer and Codeium) from GitHub projects. Our analysis identified 733 snippets, revealing a high likelihood of security weaknesses, with 29.5% of Python and 24.2% of JavaScript snippets affected. These issues span 43 Common Weakness Enumeration (CWE) categories, including significant ones like CWE-330: Use of Insufficiently Random Values , CWE-94: Improper Control of Generation of Code , and CWE-79: Cross-site Scripting . Notably, eight of those CWEs are among the 2023 CWE Top-25, highlighting their severity. We further examined using Copilot Chat to fix security issues in Copilot-generated code by providing Copilot Chat with warning messages from the static analysis tools, and up to 55.5% of the security issues can be fixed. We finally provide the suggestions for mitigating security issues in generated code.

1 September 2020 in Information and Software Technology
Verified
Journal Article
Closed access
ATAmjed Tahir
Amjed Tahir
JDJens Dietrich
Jens Dietrich
SCSteve Counsell
Steve Counsell
SLSherlock Licorish
Sherlock Licorish
AYAiko Yamashita
Aiko Yamashita

28 November 2021 in IET Software
Verified
Journal Article
Open access
PDF file
Kwabena Ebo BenninKwabena Ebo Bennin
Kwabena Ebo Bennin
ATAmjed Tahir
Amjed Tahir
SMStephen G. MacDonell
Stephen G. MacDonell
JBJürgen Börstler
Jürgen Börstler
Cross‐project defect prediction (CPDP), where data from different software projects are used to predict defects, has been proposed as a way to provide data for software projects that lack historical data. Evaluations of CPDP models using the Nearest Neighbour (NN) Filter approach have shown promising results in recent studies. A key challenge with defect‐prediction datasets is class imbalance, that is, highly skewed datasets where non‐buggy modules dominate the buggy modules. In the past, data resampling approaches have been applied to within‐projects defect prediction models to help alleviate the negative effects of class imbalance in the datasets. To address the class imbalance issue in CPDP, the authors assess the impact of data resampling approaches on CPDP models after the NN Filter is applied. The impact on prediction performance of five oversampling approaches (MAHAKIL, SMOTE, Borderline‐SMOTE, Random Oversampling and ADASYN) and three undersampling approaches (Random Undersampling, Tomek Links and One‐sided selection) is investigated and results are compared to approaches without data resampling. The authors examined six defect prediction models on 34 datasets extracted from the PROMISE repository. The authors' results show that there is a significant positive effect of data resampling on CPDP performance, suggesting that software quality teams and researchers should consider applying data resampling approaches for improved recall ( pd ) and g ‐measure prediction performance. However, if the goal is to improve precision and reduce false alarm ( pf ) then data resampling approaches should be avoided.

7 September 2023 in Journal of Systems and Software
Verified
Journal Article
Open access
ATAmjed Tahir
Amjed Tahir
SRShawn Rasheed
Shawn Rasheed
JDJens Dietrich
Jens Dietrich
NHNegar Hashemi
Negar Hashemi
LZLu Zhang
Lu Zhang


5 March 2025 in Empirical Software Engineering
Verified
Journal Article
Open access
PDF file
AFAhmed Fawzy
Ahmed Fawzy
ATAmjed Tahir
Amjed Tahir
MGMatthias Galster
Matthias Galster
PLPeng Liang
Peng Liang
Context: Managing data related to a software product and its development poses significant challenges for software projects and agile development teams. These include integrating data from diverse sources and ensuring data quality amidst continuous change and adaptation. Objective: The paper systematically explores data management challenges and potential solutions in agile projects, aiming to provide insights into data management challenges and solutions for both researchers and practitioners. Method: We employed a mixed-methods approach, including a systematic literature review (SLR) to understand the state-of-research followed by a survey with practitioners to reflect on the state-of-practice. The SLR reviewed 45 studies, identifying and categorizing data management aspects along with their associated challenges and solutions. The practitioner survey captured practical experiences and solutions from 32 industry practitioners who were significantly involved in data management to complement the findings from the SLR. Results: Our findings identified major data management challenges in practice, such as managing data integration processes, capturing diverse data, automating data collection, and meeting real-time analysis requirements. To address these challenges, solutions such as automation tools, decentralized data management practices, and ontology-based approaches have been identified. These solutions enhance data integration, improve data quality, and enable real-time decision-making by providing flexible frameworks tailored to agile project needs. Conclusion: The study pinpointed significant challenges and actionable solutions in data management for agile software development. Our findings provide practical implications for practitioners and researchers, emphasizing the development of effective data management practices and tools to address those challenges and improve project success.