Is my dependency up-to-date? Exploring challenges with automated dependency updates

preprint OA: closed
Full text JSON View at publisher
Full text 12,245 characters · extracted from preprint-html · click to expand
Is my dependency up-to-date? Exploring challenges with automated dependency updates | 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 Is my dependency up-to-date? Exploring challenges with automated dependency updates Miguel Botto-Tobar, Santiago A. Vidal, Claudia Marcos This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9390837/v1 This work is licensed under a CC BY 4.0 License Status: Under Review Version 1 posted 6 You are reading this latest preprint version Abstract Dependency upgrades often require coordinated edits in application or test code, yet mainstream automation tools update only build manifests and leave code adaptation to developers. This paper evaluates whether these co-changes can be learned for JUnit upgrades in Maven-based Java projects. From 2,223 upgrade commits mined from GitHub, we derive a snippet-level dataset of 8,735 input-output pairs, each combining an XML dependency block, a Java test fragment, and a natural-language instruction. A four-part empirical analysis shows that most JUnit 3.x/4.x upgrades are conservative: 78.8% of method-level pairs change less than 8% of characters (median normalised Levenshtein distance 0.02), and magnitude varies little across release types (mean edit distances 0.466--0.486; Kruskal--Wallis $p=0.026$). Snippet decomposition, modality markers, and near-duplicate filtering yield a copy rate of 0.71 within a 512-token budget. A fine-tuned CodeT5 model attains EM-Java 38.5% and CodeBLEU 0.854 on held-out snippets, outperforming a manifest-only baseline (0% and 0.502), with the largest gains on substantial edits (+0.528 CodeBLEU). Under our build environment, model-generated patches compile and pass tests in all 37 evaluable cases (5 of 21 repositories); manifest-only bumps fail in 50% of control cases. The dataset and evaluation framework are publicly released. dependency management JUnit test-code co-evolution code generation Maven software maintenance Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Under Review Version 1 posted Reviews received at journal 18 May, 2026 Reviewers agreed at journal 07 May, 2026 Reviewers invited by journal 04 May, 2026 Editor assigned by journal 12 Apr, 2026 Submission checks completed at journal 12 Apr, 2026 First submitted to journal 11 Apr, 2026 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-9390837","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":636098515,"identity":"4fc7da4e-5ecc-4e6d-9991-2884ece1838f","order_by":0,"name":"Miguel Botto-Tobar","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABgUlEQVRIie3SPWvCQBgH8CccmOWs64W0zScoXBAsBV/Gfo4jEIdiEQoiFNoU4VwE1wi2fgVd7NIhcqCL6FYKLkqhk4JjSzP0ErXWYvcO+UOeXJL7cQ93AYgS5T8GBaUYjhy0fheTVxoOdubgX4QGRQkIJRIExA7rXgJ/EPGDwA45qarPZEmzl8b5nYOKZf8mYVT604+nsREjF/Z06QOrV0GZLjgYp05AUgKXNJdaV+aw5yB3SInGY3mz9jYxOSk8mg0OzBWAzHsOZtNbE1vHFLGOyxwU55TQPk4R7E0USbp63AHmyCb1OAfFhW/i01vWac22RPO9US4kWDbWEqB+SpLbELWvAxWsRZQt0bHnsRWJAWvLVeQn2eFmFXRWowPWxrIBd5jUGtzOJw89y+J40ZVPJNkRSkVrjoi1JuPB7OW9fM1aVdF7LZaPEwkk+rO5l83U1UKXLP300cNY9JbzUjrjbjacro5G7oa37/cg4ZGtB6uo0/BmOPvmR4kSJUoUmS/VT4puh/fA8wAAAABJRU5ErkJggg==","orcid":"","institution":"Universidad Abierta Interamericana","correspondingAuthor":true,"prefix":"","firstName":"Miguel","middleName":"","lastName":"Botto-Tobar","suffix":""},{"id":636098516,"identity":"a8d58356-9107-4705-8bd9-c07ae040378a","order_by":1,"name":"Santiago A. Vidal","email":"","orcid":"","institution":"National University of Central Buenos Aires","correspondingAuthor":false,"prefix":"","firstName":"Santiago","middleName":"A.","lastName":"Vidal","suffix":""},{"id":636098517,"identity":"0589b692-e258-421d-bb0f-37883b66b20f","order_by":2,"name":"Claudia Marcos","email":"","orcid":"","institution":"National University of Central Buenos Aires","correspondingAuthor":false,"prefix":"","firstName":"Claudia","middleName":"","lastName":"Marcos","suffix":""}],"badges":[],"createdAt":"2026-04-11 23:38:16","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-9390837/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9390837/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":109067939,"identity":"7f01f65a-f67d-4694-96bc-d7271a163d2e","added_by":"auto","created_at":"2026-05-12 10:02:44","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":432103,"visible":true,"origin":"","legend":"","description":"","filename":"IsmydependencyuptodateSoftwareQuality.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9390837/v1_covered_c2dd1411-c923-4b1e-b4fe-37f4b0662779.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Is my dependency up-to-date? Exploring challenges with automated dependency updates","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"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":"software-quality-journal","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"sqjo","sideBox":"Learn more about [Software Quality Journal](http://link.springer.com/journal/11219)","snPcode":"11219","submissionUrl":"https://submission.nature.com/new-submission/11219/3","title":"Software Quality Journal","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false},"keywords":"dependency management, JUnit, test-code co-evolution, code generation, Maven, software maintenance","lastPublishedDoi":"10.21203/rs.3.rs-9390837/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9390837/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"Dependency upgrades often require coordinated edits in application or test code, yet mainstream automation tools update only build manifests and leave code adaptation to developers. This paper evaluates whether these co-changes can be learned for JUnit upgrades in Maven-based Java projects. From 2,223 upgrade commits mined from GitHub, we derive a snippet-level dataset of 8,735 input-output pairs, each combining an XML dependency block, a Java test fragment, and a natural-language instruction. A four-part empirical analysis shows that most JUnit 3.x/4.x upgrades are conservative: 78.8\\% of method-level pairs change less than 8\\% of characters (median normalised Levenshtein distance 0.02), and magnitude varies little across release types (mean edit distances 0.466--0.486; Kruskal--Wallis $p=0.026$). Snippet decomposition, modality markers, and near-duplicate filtering yield a copy rate of 0.71 within a 512-token budget. A fine-tuned CodeT5 model attains EM-Java 38.5\\% and CodeBLEU 0.854 on held-out snippets, outperforming a manifest-only baseline (0\\% and 0.502), with the largest gains on substantial edits (+0.528 CodeBLEU). Under our build environment, model-generated patches compile and pass tests in all 37 evaluable cases (5 of 21 repositories); manifest-only bumps fail in 50\\% of control cases. The dataset and evaluation framework are publicly released.","manuscriptTitle":"Is my dependency up-to-date? Exploring challenges with automated dependency updates","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-05-11 21:43:53","doi":"10.21203/rs.3.rs-9390837/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"editorInvitedReview","content":"","date":"2026-05-18T14:42:13+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"39950496714830544472029145483446495773","date":"2026-05-07T09:53:52+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2026-05-04T07:46:00+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2026-04-13T03:37:39+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2026-04-13T03:36:55+00:00","index":"","fulltext":""},{"type":"submitted","content":"Software Quality Journal","date":"2026-04-11T23:27:14+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"software-quality-journal","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"sqjo","sideBox":"Learn more about [Software Quality Journal](http://link.springer.com/journal/11219)","snPcode":"11219","submissionUrl":"https://submission.nature.com/new-submission/11219/3","title":"Software Quality Journal","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false}}],"origin":"","ownerIdentity":"105ead2d-2cef-4ee5-9fe7-0c592d5c65f9","owner":[],"postedDate":"May 11th, 2026","published":true,"recentEditorialEvents":[{"type":"editorInvitedReview","content":"","date":"2026-05-18T14:42:13+00:00","index":19,"fulltext":""},{"type":"reviewerAgreed","content":"39950496714830544472029145483446495773","date":"2026-05-07T09:53:52+00:00","index":13,"fulltext":""},{"type":"reviewersInvited","content":"9","date":"2026-05-04T07:46:00+00:00","index":"","fulltext":""}],"rejectedJournal":[],"revision":"","amendment":"","status":"under-review","subjectAreas":[],"tags":[],"updatedAt":"2026-05-11T21:43:53+00:00","versionOfRecord":[],"versionCreatedAt":"2026-05-11 21:43:53","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9390837","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9390837","identity":"rs-9390837","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","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 (2026) — 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