pith. sign in

arxiv: 1907.02997 · v2 · pith:GUR6DG6Vnew · submitted 2019-07-05 · 💻 cs.SE · cs.CL

MigrationMiner: An Automated Detection Tool of Third-Party Java Library Migration at the Method Level

Pith reviewed 2026-05-25 01:46 UTC · model grok-4.3

classification 💻 cs.SE cs.CL
keywords library migrationJavathird-party librariescode change detectionsoftware maintenanceautomated toolmethod level analysis
0
0 comments X

The pith

MigrationMiner automatically detects Java third-party library migrations at the method level by finding code changes that swap old methods for new ones.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper introduces MigrationMiner as a tool that takes a list of open source Java projects and scans them for instances where developers have replaced methods from one third-party library with methods from another. It extracts the specific code fragments showing these replacements and gathers the related documentation from the libraries involved. The authors test the tool against a collection of library migrations that had already been checked by hand and report that it identifies them all correctly. Readers interested in software maintenance would care because manually locating such changes across large codebases is slow, and the tool aims to make the process automatic while also supplying the documentation needed to understand each change.

Core claim

MigrationMiner detects potential library migration code changes performed between Java third-party libraries, collects the specific code fragments in which the developer replaces methods from the retired library with methods from the new library, and gathers the library documentation associated with every method involved in the migration, achieving 100% accuracy on a benchmark of manually validated library migrations.

What carries the argument

MigrationMiner, the automated detection tool that identifies method-level replacements by analyzing code changes across open source projects and linking them to library documentation.

If this is right

  • The tool produces concrete examples of method replacements that can be studied to understand how developers adapt APIs during migrations.
  • By collecting documentation alongside each migration, the tool directly supports developers who need to understand why a particular replacement was made.
  • Running the tool on any list of open source projects yields a growing set of migration instances without manual search.
  • The reported 100% accuracy on the benchmark indicates the detection logic correctly separates migration changes from unrelated edits in the tested cases.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • If applied to many more projects, the collected migrations could reveal common patterns in how method signatures change across library versions.
  • The method-level granularity might allow finer-grained recommendation systems that suggest specific replacement methods rather than entire libraries.
  • Future versions could extend the same change-detection approach to languages other than Java if similar commit histories are available.

Load-bearing premise

The manually validated benchmark of library migrations is representative of the migrations that actually occur in real software projects.

What would settle it

A real open source Java project containing an undocumented method-level library migration that the tool either misses or reports incorrectly.

read the original abstract

In this paper we introduce, MigrationMiner, an automated tool that detects code migrations performed between Java third-party library. Given a list of open source projects, the tool detects potential library migration code changes and collects the specific code fragments in which the developer replaces methods from the retired library with methods from the new library. To support the migration process, MigrationMiner collects the library documentation that is associated with every method involved in the migration. We evaluate our tool on a benchmark of manually validated library migrations. Results show that MigrationMiner achieves an accuracy of 100%. A demo video of MigrationMiner is available at https://youtu.be/sAlR1HNetXc.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

1 major / 2 minor

Summary. The paper introduces MigrationMiner, an automated tool that, given a list of open-source Java projects, detects method-level migrations between third-party libraries by identifying code changes that replace methods from a retired library with methods from a new one. It extracts the relevant code fragments and associated library documentation for each migration. The tool is evaluated on a benchmark of manually validated library migrations and is reported to achieve 100% accuracy.

Significance. If the evaluation holds, MigrationMiner would provide a practical aid for developers performing library migrations by automating detection and documentation retrieval, addressing a common maintenance task. The method-level granularity and documentation collection are useful features. However, the significance is constrained by the absence of any reported benchmark size, diversity metrics, or validation protocol, which prevents assessment of whether the 100% accuracy generalizes beyond the tested cases.

major comments (1)
  1. [§4] §4 (Evaluation): The central claim that MigrationMiner 'achieves an accuracy of 100%' is presented without any data on benchmark size (number of migrations or projects), construction method, selection criteria, or breakdown of true/false positives. This directly undermines the ability to evaluate the result for selection bias or statistical power, as noted in the abstract's description of the benchmark.
minor comments (2)
  1. [Abstract] The abstract and evaluation section should include a link or reference to the benchmark dataset or replication package to support reproducibility claims.
  2. [§4] Figure or table captions in the evaluation section could be expanded to clarify what metrics (beyond accuracy) are being reported.

Simulated Author's Rebuttal

1 responses · 0 unresolved

We thank the referee for their review and for highlighting the need for greater transparency in the evaluation. We agree that the current presentation of the benchmark limits assessment of the reported accuracy and will revise the manuscript accordingly.

read point-by-point responses
  1. Referee: [§4] §4 (Evaluation): The central claim that MigrationMiner 'achieves an accuracy of 100%' is presented without any data on benchmark size (number of migrations or projects), construction method, selection criteria, or breakdown of true/false positives. This directly undermines the ability to evaluate the result for selection bias or statistical power, as noted in the abstract's description of the benchmark.

    Authors: We agree that the evaluation section lacks sufficient detail on the benchmark. In the revised version we will expand §4 to report: (1) the exact number of migrations and projects in the benchmark, (2) the construction method and selection criteria used to build it, and (3) a breakdown of true positives, false positives, and any false negatives. These additions will enable readers to assess selection bias and the statistical power of the 100% accuracy result. revision: yes

Circularity Check

0 steps flagged

No circularity: empirical tool report with no derivation chain

full rationale

The paper introduces MigrationMiner as a detection tool and reports its accuracy on an external manually validated benchmark. No equations, first-principles derivations, fitted parameters, or predictions appear in the provided text. The 100% accuracy claim is an empirical result on a benchmark described as independent, not a quantity derived from or equivalent to the tool's own inputs by construction. No self-citation load-bearing steps, ansatzes, or renamings of known results are present. The evaluation is therefore self-contained against its stated benchmark.

Axiom & Free-Parameter Ledger

0 free parameters · 0 axioms · 0 invented entities

No free parameters, axioms, or invented entities are required; the paper describes an engineering artifact rather than a theoretical derivation.

pith-pipeline@v0.9.0 · 5642 in / 1017 out tokens · 30717 ms · 2026-05-25T01:46:24.178666+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.