MAMd Shahrukh Ansari

Md Shahrukh Ansari

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Md Shahrukh Ansari has a total of 1 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    A Concern-Centric Empirical Evaluation of Multi-Language Code Smells: An LLM-Assisted Study of JNI Software Evolution

    by Md Shahrukh Ansari, Salman Abdul Moiz

    Multi-language software systems provide significant benefits by combining the strengths of different programming languages, but they also introduce maintainability challenges arising from crosslanguage dependencies. Existing research has proposed code and design smell catalogs to capture recurring cross-language design deficiencies, particularly for Java Native Interface (JNI)-based systems. However, it remains unknown whether these smell definitions correspond to the maintenance concerns that developers actually encounter and address during software evolution. This paper presents the first concern-centric empirical evaluation of a multi-language smell catalog through software evolution history, using JNI as the target interoperability technology. We propose a methodology that combines repository mining, Large Language Model (LLM)-assisted commit-diff analysis, manual validation, and independent smell mapping to identify and categorize JNI maintenance concerns. Applying the proposed methodology to 8,207 JNI-related commits from the evolution history of 15 open-source JNI projects, we identified 652 manually validated concernaddressing commits belonging to eleven recurring maintenance concern families. Our findings show that existing JNI smell definitions provide only partial coverage of developer maintenance concerns: only 36.5% of the identified concern-addressing commits map to existing JNI smells, while the remaining maintenance activities reveal important gaps in the current smell catalog. Analysis of the recurring unmapped concerns motivates three candidate JNI-specific smell definitions: Cross-Language Shotgun Surgery (CLSS), Cross-Language Abstraction Leakage (CLAL), and Wrong Responsibility Allocation (WRA). The results demonstrate that software evolution history provides valuable empirical evidence for evaluating and extending multi-language smell catalogs. More generally, the proposed concern-centric methodology offers a systematic framework for empirically validating existing smell definitions and discovering new code and design smells in multi-language software systems.

  • On the Diffuseness and the Impact of Multi‐Language Design Smells

    by Md Shahrukh Ansari, Salman Abdul Moiz

    Multi‐language software systems integrate components written in different programming languages, offering flexibility but also introduces design challenges at language boundaries. These challenges often manifest as multi‐language design smells‐suboptimal design practices that can affect maintainability and reliability. Previous research proposed a detector for these smells and analyzed their quality impact; however, its accuracy and generalizability have not been independently validated. This study evaluates and refines the existing multi‐language design smell detector, reassesses smell prevalence using the improved tool, and reanalyzes their relationship with software quality attributes such as fault‐ and change‐proneness. The detector was first evaluated on 60 open‐source projects to test its generalizability, after which rule‐level inconsistencies were identified and corrected. The refined detector was then applied to multiple releases of nine Java Native Interface (JNI) systems for updated prevalence and impact analysis. The refined detector achieves perfect alignment with formal definitions and manual annotations. The reanalysis reveals revised distributions of smells and a much weaker statistical relationship with software faults than previously reported, whereas new evidence shows only limited associations with change‐proneness.

  • Open Access

    On the diffuseness and the impact of multi-language code smells

    by Md Shahrukh Ansari, Salman Abdul Moiz

    Multi-language software systems integrate components written in different programming languages, offering flexibility but also introducing design challenges at language boundaries. These challenges often manifest as multi-language design smells-suboptimal design practices that can affect maintainability and reliability. Previous research proposed a detector for these smells and analyzed their quality impact; however, its accuracy and generalizability have not been independently validated. This study evaluates and refines the existing multi-language design smell detector, reassesses smell prevalence using the improved tool, and reanalyzes their relationship with software quality attributes such as fault- and change-proneness. The detector was first evaluated on 60 open-source projects to test its generalizability, after which rule-level inconsistencies were identified and corrected. The refined detector was then applied to multiple releases of nine Java Native Interface (JNI) systems for updated prevalence and impact analysis. The refined detector achieves perfect alignment with formal definitions and manual annotations. The reanalysis reveals revised distributions of smells and a much weaker statistical relationship with software faults than previously reported, while new evidence shows only limited associations with change-proneness.