Improving Ensemble Models for Software Defect Prediction: a study applying preprocessing techniques

preprint OA: closed CC-BY-4.0
📄 Open PDF Full text JSON View at publisher
Full text 9,869 characters · extracted from preprint-html · click to expand
Improving Ensemble Models for Software Defect Prediction: a study applying preprocessing techniques | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Improving Ensemble Models for Software Defect Prediction: a study applying preprocessing techniques Bianca P. R. Vieira, Rogério E. Garcia This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7483430/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Defect prediction in software is a practice to improve the quality of software. However, the methods proposed to detect defects efficiently have challenges. Methods based on mining software repositories face challenges like the high dimensionality of data sets and the imbalance of datasets from software repositories. The need to deal with imbalanced data scenarios and large feature sets motivates the search to improve defect prediction models' effectiveness. Related works have studied ensemble models, feature selection, and imbalanced data, but have not analyzed their individual and combined impact with real-world datasets. The general purpose is to enhance the mining of software repositories to detect defects. We collected data from three open-source repositories, preprocessed using feature selection and data balance techniques, and developed models to compare with the same model algorithms but without preprocessing. The results are promising, showing improvement on final general metrics, as well as the metrics for the minority class. All the code developed in this research is available in the GitHub repository SoftDefectProcess Mining Software Repository Preprocessing Feature Selection Data Balance Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7483430","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":517274187,"identity":"6c3e0b0e-a88c-487c-b48a-13fc518745c0","order_by":0,"name":"Bianca P. R. Vieira","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA80lEQVRIiWNgGAWjYBACA2YUbgWEYsaiEqsWxgaGM8RoQWIzNjC2EaHFnJ352YMfNQx5Bsd7nz/4Oe9wHj//2QPMhXtwa7FsZjM37DnGUGxw5rhhY++2w8WSM/ISmGc8w+Owwwxm0gxsDIkbbqQxNvBuOwxk8Bgw8xzAp4X9mzTDP6CW+88YG//OOZy4//wZQlp4zKSBvgYazsbYzNsAtIUhB78Wy2aeMsnePoliyTNpjLNljqUnzriRl3B4Bh4t5vzHt0n8+GaTx3f8GMPHNzXWif39Zw8+LsCjBQokEpA4PAyENQABqpZRMApGwSgYBcgAAN/XUpuGMK7SAAAAAElFTkSuQmCC","orcid":"","institution":"São Paulo State University","correspondingAuthor":true,"prefix":"","firstName":"Bianca","middleName":"P. R.","lastName":"Vieira","suffix":""},{"id":517274188,"identity":"cd2b1b2f-d529-455b-90c4-b8d75e4e8199","order_by":1,"name":"Rogério E. Garcia","email":"","orcid":"","institution":"São Paulo State University","correspondingAuthor":false,"prefix":"","firstName":"Rogério","middleName":"E.","lastName":"Garcia","suffix":""}],"badges":[],"createdAt":"2025-08-28 22:08:08","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7483430/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7483430/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":109553724,"identity":"0f3f13ee-aeaa-4c6c-b828-bf227aa3d6fa","added_by":"auto","created_at":"2026-05-19 12:41:21","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":280729,"visible":true,"origin":"","legend":"","description":"","filename":"improvingensemblemodelsforsoftwaredefectpredictionastudyapplyingpreprocessingtechniquesSQJ.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7483430/v1_covered_be3d46ed-3672-4b11-851d-cb26c1951d7b.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Improving Ensemble Models for Software Defect Prediction: a study applying preprocessing techniques","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Mining Software Repository, Preprocessing, Feature Selection, Data Balance","lastPublishedDoi":"10.21203/rs.3.rs-7483430/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7483430/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eDefect prediction in \u003cem\u003esoftware\u003c/em\u003e is a practice to improve the quality of software. However, the methods proposed to detect defects efficiently have challenges. Methods based on mining software repositories face challenges like the high dimensionality of data sets and the imbalance of datasets from software repositories. The need to deal with imbalanced data scenarios and large feature sets motivates the search to improve defect prediction models' effectiveness. Related works have studied ensemble models, feature selection, and imbalanced data, but have not analyzed their individual and combined impact with real-world datasets. The general purpose is to enhance the mining of software repositories to detect defects. We collected data from three open-source repositories, preprocessed using feature selection and data balance techniques, and developed models to compare with the same model algorithms but without preprocessing. The results are promising, showing improvement on final general metrics, as well as the metrics for the minority class. All the code developed in this research is available in the GitHub repository SoftDefectProcess\u003ca class=\"FNLink\" href=\"#Fn1\" id=\"#FNLinkFn1\"\u003e\u003c/a\u003e\u003c/p\u003e","manuscriptTitle":"Improving Ensemble Models for Software Defect Prediction: a study applying preprocessing techniques","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-09-19 07:13:08","doi":"10.21203/rs.3.rs-7483430/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"f46bd010-d9d3-4d94-8406-62248de3461d","owner":[],"postedDate":"September 19th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2026-05-19T12:41:08+00:00","versionOfRecord":[],"versionCreatedAt":"2025-09-19 07:13:08","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7483430","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7483430","identity":"rs-7483430","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-26T02:00:01.498150+00:00
License: CC-BY-4.0