Published 2025 | Version v2

A mixed-method in-depth study of test-specific refactorings: dataset

Description

This submission is the replication package and dataset of the paper "A mixed-method in-depth study of test-specific refactorings."

The files are organized in folders according to the corresponding method.

Method 1 (Mining datasets) has seven files, two compressed excel sheets and five archive files.

Excel sheets:

  1. Victor Guerra Veloso - Review Matrix.xlsx.zstd: this spreadsheet comprises the data from the related work as it is exported by the scripts from Gerrit2CommitMapper and MethodOneRelatedFiles.tar.zstd. This is also the input file for the association rules experiment
  2. Validation Sample ItemsetsSupport AllLevels FullyMerged.xlsx.zstd: as the name suggests it's a sample of the fully merged output of the association rules experiment. 

Archives:

  1. Gerrit2CommitMapper.tar.zstd contains the Gerrit2CommitMapper script that we applied to Gerrit issues to extract associated commits in the projects' git repositories.
  2. MethodOneRelatedFiles.tar.zstd contains some scripts (as python notebooks) that were used to conduct the method one.
  3. related-work-datasets.tar.zstd contains all the raw datasets from related works
  4. MiningDatasetRMinerOutput.tar.zstd includes the output of RefactoringMiner for each commit in our dataset
  5. TestRefactoringExistingDataMining.tar.zstd comprises the python project we develop to assist the replication of the method 1's association rules experiment. It expects "Victor Guerra Veloso - Review Matrix.xlsx" as input and generate all the association rules for different settings, such as using different algorithms (FPGrowth, FPMax, and Apriori), hyper-parameters (minsupport ranging from 0.01 to 0.15), and transaction granularities (commit-level, file-level, and method-level)

Method 2 (Monitoring) has two compressed text files, one excel sheet, and an archived version of the RefactoringMonitor tool source code. Notice that, RefactoringMonitor includes all components (WebApp, API, and worker), configuration files (docker-compose.yml), and a README.md with instruction for execution.

Text files:

  1. InitialSet: list of repositories initially monitored (based on method 1)
  2. ExtendedSet: list of repositories monitored after collecting popular repositories (based on github search)

Excel sheet: The excel sheet concentrates the result of the Monitoring and Survey as well as the multiple runs of the validation by the second author.

Method 3 (StackOverflow) has one excel sheet and one archive file.

The excel sheet contains the results of the experiment and associates tags to the collected and studied StackOverflow questions.

The archive file comprise all the scripts to collect and assist the analysis of the stackoverflow questions. It also includes both input and output data files. These scripts leverage webbrowser, the Python's standard library feature to open browsers in a specific URL, to iterate over all stackoverflow questions allowing the researcher to assign tags or create new tags.

Newly added files include 'Core Devs Reassessment.tar.zstd', 'MonitoringReposCached.tar.zstd', and 'MonitoringExtension.tar.zstd' which comprise the artifacts generated during the method 2 core devs reassessment, the archive of all method 2 monitored repos from which at least one refactoring type has been identified, and the the artifacts generated during the method 2 monitoring extension, respectively. 

List of files:

[M1]Mining Datasets/Gerrit2CommitMapper.tar.zstd
[M1]Mining Datasets/MethodOneRelatedFiles.tar.zstd
[M1]Mining Datasets/MiningDatasetRMinerOutput.tar.zstd
[M1]Mining Datasets/TestRefactoringExistingDataMining.tar.zstd
[M1]Mining Datasets/Validation Sample ItemsetsSupport AllLevels FullyMerged.xlsx.zstd
[M1]Mining Datasets/Victor Guerra Veloso - Review Matrix.xlsx.zstd
[M2]Monitoring/Core Devs Reassessment.tar.zstd
[M2]Monitoring/MonitoringReposCached.tar.zstd
[M2]Monitoring/MonitoredRepositories-ExtendedSet.txt.zstd
[M2]Monitoring/MonitoredRepositories-InitialSet.txt.zstd
[M2]Monitoring/MonitoringExtension.tar.zstd
[M2]Monitoring/Monitoring tags.xlsx.zstd
[M2]Monitoring/RefactoringMonitor.tar.zstd
[M3]StackOverflow/StackOverflow tags.xlsx.zstd
[M3]StackOverflow/StackOverflow.tar.zstd

Files

Files (43.5 GB)

Name Size
md5:d042b61a78bf1dc90bea7ed736d95ffd
17.7 MB Download
md5:84ee25ce7f966205d7fa8b4c36cea2b8
16.2 kB Download
md5:3bd69dbd75b0e40c7b43e744dffd4ae4
2.9 MB Download
md5:5e6da6eb0cfc2b671bea0d931f3a5d73
4.2 MB Download
md5:984e84555555afff6d00f07fd66e5ca7
114.2 kB Download
md5:9b52d421b94efc41c0bed6044b3021e4
546 Bytes Download
md5:00c293414f7dfb700cfa48ead4d582cf
182.0 kB Download
md5:47d3014e8e7a9553203f632342c240ff
2.8 MB Download
md5:701927369150fd71b18ca1b10366a27c
10.7 GB Download
md5:2b7450d2117e22513fe4643bdd158f4f
10.7 GB Download
md5:542d5fe768cdb4c5dda6fcacd5da5572
10.7 GB Download
md5:e7a63501695d38c0a510722b2b50062d
8.8 GB Download
md5:be3f3cc2561fbbf7e0fdc5661ca55ee9
129.5 MB Download
md5:65c8833b8002eba1140ad09f71f6e79a
2.1 GB Download
md5:72e826840d31ca8c6244c539d4fdb23d
108.9 kB Download
md5:2976d08930416b76f79b09d093104328
227.7 MB Download
md5:d1079f872bd6083eb88ebe090d5365d0
38.8 kB Download
md5:762acf638154c22224a5696f7dbd1265
2.3 MB Download
md5:19e0dc620bd911ebee93a221ec480aaf
262.3 kB Download

Additional details

Dates

Created
2023-11-15/2025-04-26