IDEAS home Printed from https://ideas.repec.org/a/gam/jdataj/v8y2023i9p140-d1230554.html
   My bibliography  Save this article

Employing Source Code Quality Analytics for Enriching Code Snippets Data

Author

Listed:
  • Thomas Karanikiotis

    (Electrical and Computer Engineering Department, Aristotle University of Thessaloniki, 541 24 Thessaloniki, Greece)

  • Themistoklis Diamantopoulos

    (Electrical and Computer Engineering Department, Aristotle University of Thessaloniki, 541 24 Thessaloniki, Greece)

  • Andreas Symeonidis

    (Electrical and Computer Engineering Department, Aristotle University of Thessaloniki, 541 24 Thessaloniki, Greece)

Abstract

The availability of code snippets in online repositories like GitHub has led to an uptick in code reuse, this way further supporting an open-source component-based development paradigm. The likelihood of code reuse rises when the code components or snippets are of high quality, especially in terms of readability, making their integration and upkeep simpler. Toward this direction, we have developed a dataset of code snippets that takes into account both the functional and the quality characteristics of the snippets. The dataset is based on the CodeSearchNet corpus and comprises additional information, including static analysis metrics, code violations, readability assessments, and source code similarity metrics. Thus, using this dataset, both software researchers and practitioners can conveniently find and employ code snippets that satisfy diverse functional needs while also demonstrating excellent readability and maintainability.

Suggested Citation

  • Thomas Karanikiotis & Themistoklis Diamantopoulos & Andreas Symeonidis, 2023. "Employing Source Code Quality Analytics for Enriching Code Snippets Data," Data, MDPI, vol. 8(9), pages 1-12, August.
  • Handle: RePEc:gam:jdataj:v:8:y:2023:i:9:p:140-:d:1230554
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2306-5729/8/9/140/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2306-5729/8/9/140/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jdataj:v:8:y:2023:i:9:p:140-:d:1230554. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.