Skip to main content
Powered by ShareScore

Find research datasets worth reusing

Search datasets from major research repositories and use ShareScore to quickly assess how well each record supports discovery, access, and reuse.

62

datasets available to search

ShareScore release 0.9.0

Reset

Dataset results

62 results for “code smells”

Learn how ShareScore rates datasets ↗
zenodo28/100

A dataset of code smells

<p>This dataset contains code smells (implementation, design, and architecture smells) mined from 3073 open-source C# projects.</p>

opencc-by-4.0Jan 2019View details →
zenodo28/100

Replication package with data used in the study: "The effect of code smells on the relationship between design patterns and defects. An empirical study"

<p>This is a replication package with data used in a study by T. Alkhaeir and B. Walter &quot;The effect of code smells on the relationship between design patterns and defects. An empirical study&quot;</p> <p>This dataset contains the following folders:</p> <ul> <li> <p>&quot;Analyzed systems&quot; folder:</p> <ul> <li> <p>For each subject system (Ant-1.7, JEdit-4.2, Lucene-2.4, Camel-1.6, Log4j-1.2, Xalan-2.7, Poi-3.0, Ivy-2.0, Xerces-2.0, Velocity-1.6), we identify the following datasets: SDP, nSDP, SnDP, and nSnDP. Each dataset is represented by a separate csv file.</p> </li> <li> <p>Those csv files include raw data about every class in every release. Each file includes columns which represent:</p> <ul> <li> <p>System:&nbsp; The analyzed system</p> </li> <li> <p>className: A fully qualified class name</p> </li> <li> <p>Pattern: if the class is part of any pattern the cell contains the name of the pattern, and &ldquo;null&rdquo; otherwise</p> </li> <li> <p>Smell: if the class is part of affected by any smell&nbsp; the cell contains the name of the smell, and &ldquo;null&rdquo;&nbsp; otherwise</p> </li> <li> <p>Bugs: Number of defects reported inside the class (extracted from the PROMISE dataset)</p> </li> </ul> </li> </ul> </li> <li> <p>A &quot;detailed analysis&quot; folder:</p> <ul> <li> <p>For each pattern, we report all the classes which participate in it in all the analyzed systems. The csv files inside this folder follow&nbsp;the same structure as the other csv files reported above</p> </li> </ul> </li> </ul> <p><br> &nbsp;</p>

opencc-by-4.0Aug 2020View details →
zenodo28/100

Replication Package for the Paper: "Code Smells Detection via Code Review: An Empirical Study"

<p>This&nbsp;repository&nbsp;contains&nbsp;the&nbsp;data&nbsp;and&nbsp;results&nbsp;from&nbsp;the&nbsp;paper&nbsp;&quot;Code&nbsp;Smells&nbsp;Detection&nbsp;via&nbsp;Code&nbsp;Review:&nbsp;An&nbsp;Empirical&nbsp;Study&quot;&nbsp;submitted&nbsp;to&nbsp;ESEM&nbsp;2020.</p> <p>&nbsp;</p> <p><strong>1. data&nbsp;folder</strong></p> <p>The&nbsp;data&nbsp;folder&nbsp;contains&nbsp;the&nbsp;retrieved&nbsp;269&nbsp;reviews&nbsp;that&nbsp;discuss&nbsp;code&nbsp;smells.&nbsp;Each&nbsp;review&nbsp;includes&nbsp;four&nbsp;parts:&nbsp;Code&nbsp;Change&nbsp;URL,&nbsp;Code&nbsp;Smell&nbsp;Term,&nbsp;Code&nbsp;Smell&nbsp;Discussion,&nbsp;and&nbsp;Source&nbsp;Code&nbsp;URL.</p> <p>&nbsp;</p> <p><strong>2. scripts&nbsp;floder</strong></p> <p>The&nbsp;scripts&nbsp;folder&nbsp;contains&nbsp;the&nbsp;Python&nbsp;script&nbsp;that&nbsp;was&nbsp;used&nbsp;to&nbsp;search&nbsp;for&nbsp;code&nbsp;smell&nbsp;terms&nbsp;and&nbsp;the&nbsp;list&nbsp;of&nbsp;code&nbsp;smell&nbsp;terms.</p> <ul> <li><em>smell-term/general_smell_terms.txt</em>&nbsp;contains&nbsp;general&nbsp;code&nbsp;smell&nbsp;terms,&nbsp;such&nbsp;as&nbsp;&quot;code&nbsp;smell&quot;.</li> <li><em>smell-term/specific_smell_terms.txt</em>&nbsp;contains&nbsp;specific&nbsp;code&nbsp;smell&nbsp;terms,&nbsp;such&nbsp;as&nbsp;&quot;dead&nbsp;code&quot;.</li> <li><em>smell-term/misspelling_terms_of_smell.txt</em>&nbsp;contains&nbsp;the&nbsp;misspelling&nbsp;terms&nbsp;of&nbsp;&#39;smell&#39;,&nbsp;such&nbsp;as&nbsp;&quot;ssell&quot;.</li> <li><em>get_changes.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;code&nbsp;changes&nbsp;from&nbsp;OpenStack.</li> <li><em>get_comments.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;review&nbsp;comments&nbsp;for&nbsp;each&nbsp;code&nbsp;change.</li> <li><em>smell_search.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;searching&nbsp;review&nbsp;comments&nbsp;that&nbsp;contain&nbsp;code&nbsp;smell&nbsp;terms.</li> </ul> <p>&nbsp;</p> <p><strong>3. project&nbsp;folder</strong></p> <p>The&nbsp;project&nbsp;folder&nbsp;contains&nbsp;the&nbsp;MAXQDA&nbsp;project&nbsp;files.&nbsp;The&nbsp;files&nbsp;can&nbsp;be&nbsp;opened&nbsp;by&nbsp;MAXQDA&nbsp;12&nbsp;or&nbsp;higher&nbsp;versions,&nbsp;which&nbsp;are&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/&nbsp;for&nbsp;download.&nbsp;You&nbsp;may&nbsp;also&nbsp;use&nbsp;the&nbsp;free&nbsp;14-day&nbsp;trial&nbsp;version&nbsp;of&nbsp;MAXQDA&nbsp;2018,&nbsp;which&nbsp;is&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/trial&nbsp;for&nbsp;download.</p> <ul> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ2.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ2,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ3.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ3,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> </ul>

opencc-by-4.0May 2020View details →
zenodo28/100

Replication package with data used in the study: The effect of code smells and design patterns on two change-related metrics: An exploratory study

<p>This is a replication package with data used in a study by T. Alkhaeir and B. Walter &quot;The effect of code smells and design patterns on two change-related metrics: An exploratory study&quot;</p> <p>This dataset contains the following folders:</p> <ul> <li>Aggregated Results Per System <ul> <li>&nbsp;For each subject system (AOI, Jedit, JHotDraw), we identify the following datasets: DP, nDP, S, nS ,SDP, nSDP, SnDP, and nSnDP. Each dataset is represented by a separate csv file.</li> <li>&nbsp;Those csv files include raw data about every class in every release, the csv files also include columns which represent: <ul> <li>- CHURN (CLPLPR(C)*100): defined as the sum of added and deleted lines in a class in a release, adjusted to the size of the class and to the number of revisions in the release;</li> <li>- and FREQ (MTPR(C)*100): defined as the average number of changes made to a class in a release, adjusted to the number of revisions in the release</li> </ul> </li> </ul> </li> <li>Detailed Results Per Smell Or Pattern <ul> <li>&nbsp;For each specific code smell (S) in each public release (Rel) of all subject systems, we identify SDP and SnDP datasets. Each dataset is in a separate .csv file</li> <li>&nbsp;For each specific design pattern (DP) in each public release (Rel) of all subject systems, we identify SDP and nSDP&nbsp;</li> </ul> </li> <li>Plots<br> We also include QQ plots for CHURN, FREQ values for every dataset in every system, that could serve as a supplementary data for the paper.</li> </ul>

opencc-by-4.0Jun 2019View details →
zenodo28/100

Can personality types be blamed for code smells

Open the record for dataset details and reuse information.

opencc-by-4.0Nov 2023View details →
zenodo28/100

Detecting Code Smells in React-based Web Apps

<p>Detecting Code Smells in React-based Web Apps - Dataset</p>

opencc-by-4.0Oct 2021View details →
zenodo28/100

Detecting Code Smells in React-based Web Apps

<p>Detecting Code Smells in React-based Web Apps - Dataset</p>

opencc-by-4.0Oct 2021View details →
zenodo28/100

Sistematic review on the code smell effect (2000-2017)

<p>Dataset of the paper &quot;A systematic review on the code smell effect&quot;.</p>

opencc-by-4.0Mar 2018View details →
zenodo28/100

Replication package with data used in the study: The effect of code smells and design patterns on two change-related metrics: An exploratory study"

<p>This is a replication package with data used in a study by T. Alkhaeir and B. Walter &quot;The effect of code smells and design patterns on two change-related metrics: An exploratory study&quot;</p> <p>This dataset contains the following folders:</p> <ul> <li>Aggregated Results Per System <ul> <li>&nbsp;For each subject system (AOI, Jedit, JHotDraw), we identify the following datasets: DP, nDP, S, nS ,SDP, nSDP, SnDP, and nSnDP. Each dataset is represented by a separate csv file.</li> <li>&nbsp;Those csv files include raw data about every class in every release, the csv files also include columns which represent: <ul> <li>- CHURN (CLPLPR(C)*100): defined as the sum of added and deleted lines in a class in a release, adjusted to the size of the class and to the number of revisions in the release;</li> <li>- and FREQ (MTPR(C)*100): defined as the average number of changes made to a class in a release, adjusted to the number of revisions in the release</li> </ul> </li> </ul> </li> <li>Detailed Results Per Smell Or Pattern <ul> <li>&nbsp;For each specific code smell (S) in each public release (Rel) of all subject systems, we identify SDP and SnDP datasets. Each dataset is in a separate .csv file</li> <li>&nbsp;For each specific design pattern (DP) in each public release (Rel) of all subject systems, we identify SDP and nSDP&nbsp;</li> </ul> </li> <li>Plots<br> We also include QQ plots for CHURN, FREQ values for every dataset in every system, that could serve as a supplementary data for the paper.</li> </ul>

opencc-by-4.0Jun 2019View details →
zenodo28/100

Detecting Code Smells in React-based Web Systems

<p>Dataset -&nbsp;Detecting Code Smells in React-based Web Systems</p>

opencc-by-4.0Jun 2021View details →
zenodo28/100

Detecting Code Smells in React-based Web Systems

<p>Detecting Code Smells in React-based Web Systems</p>

opencc-by-4.0Jun 2021View details →
zenodo28/100

Study of the impacts of Code Smells on code Testability

<p>Data used for the Thesis : Study of the impacts of Code Smells on code Testability</p>

opencc-by-4.0May 2023View details →
zenodo28/100

Supplemental Material for Predictive Reranking using Code Smells for Information Retrieval Fault Localization

<pre># Predictive Reranking using Code Smells for Information Retrieval Fault Localization This repository constitutes the supplementary material, data, and source code for the paper &quot;Predictive Reranking using Code Smells for Information Retrieval Fault Localization&quot;, by Thomas Hirsch and Birgit Hofer, 2023. Source code and results are also made available on GitHub: https://github.com/AmadeusBugProject/PredictiveRerankingUsingCodeSmellsForIRFL </pre> <pre>## Preliminaries ### Python environment - python=3.8 - pandas - numpy - joblib - scikit-learn==1.0.2 - keras - tensorflow - nltk - sentence-transformers - matplotlib - seaborn Conda files are located in the root directory of the repository, [conda_from_history.yml](<em>conda_from_history.yml</em>). ### Datasets The [Bench4BL](<em>https://github.com/exatoa/Bench4BL</em>) dataset was used in our evaluation. All data necessary for our machine learning and localization experiments is included in this repository. However, if the data is to be re-imported and recalculated directly from Bench4BL: Bench4BL has to be downloaded and paths to the benchmark root set accordingly in [paths.py](<em>paths.py</em>). BugLocator, BRTracer, and BLIA have to be run on the Bench4BL dataset using the scripting provided by the benchmark. PMD has to be installed in version 6.45.0 and path to PMD set accordingly in [paths.py](<em>paths.py</em>). # Structure of this repository ## General utility functions - [constants.py](<em>constants.py</em>) Contains parameters for the NN model, and other parameters. - [paths.py](<em>paths.py</em>) Contains paths to external datasources and tools, e.g. Bench4BL and PMD. - [utils/bench4bl_utils.py](<em>utils/bench4bl_utils.py</em>) Helper functions for resolving paths to Bench4BL benchmark. - [utils/dataset_utils.py](<em>utils/dataset_utils.py</em>) Helper functions for loading datasets and performing dataset splits. - [utils/Logger.py](<em>utils/Logger.py</em>) Logging. - [utils/nn_classifier.py](<em>utils/nn_classifier.py</em>) NN classifier model. - [utils/scoring_utils.py](<em>utils/scoring_utils.py</em>) Metrics. - [utils/stats_utils.py](<em>utils/stats_utils.py</em>) Wrapper methods for statistical tests. ## Experiment ### Dataset setup and preparation The following scripts are responsible to create, import, and set up data that is used in our experiments. The produced data is already part of this repository, the execution of these scripts is therefore only necessary when data is to be re-imported from the Bench4BL repository. - [a00_pmd_bench4bl.py](<em>a00_pmd_bench4bl.py</em>) Runs PMD on all projects and versions contained in the Bench4BL dataset. The utilized ruleset is defined in [all_java_ruleset.xml](<em>all_java_ruleset.xml</em>). Results are stored in [pmd_results](<em>pmd_results</em>). - [a01_vectorize_pmd.py](<em>a01_vectorize_pmd.py</em>) Creates csv vectors from PMD outputs. - [a02_cloc_bench4bl.py](<em>a02_cloc_bench4bl.py</em>) Runs cloc on all projects and versions contained in the Bench4BL dataset. Only Java files are considered. Results are stored in [cloc_results](<em>cloc_results</em>). - [a02_pmd_usage_in_bench4bl_projects.py](<em>a02_pmd_usage_in_bench4bl_projects.py</em>) Searches for occurrence of PMD in the build files of all projects and versions contained in the Bench4BL dataset. Results are stored in [pmd_usage_in_bench4bl_projects](<em>pmd_usage_in_bench4bl_projects</em>). - [a03_import_bugs_from_bench4bl.py](<em>a03_import_bugs_from_bench4bl.py</em>) Imports textual bug reports and corresponding fixed files ground truth from Bench4BL. Results are stored in [bench4bl_summary](<em>bench4bl_summary</em>). - [a04_normalize_smells_by_loc.py](<em>a04_normalize_smells_by_loc.py</em>) Normalizes the smell vectors for each file with its LOC count. Results are stored in [pmd_results](<em>pmd_results</em>). - [a05_bench4bl_file_features.py](<em>a05_bench4bl_file_features.py</em>) Creates feature vectors for each bug report from PMD smells. Results are stored in [bug_smell_vectors](<em>bug_smell_vectors</em>). - [a05_bench4bl_ranking_results.py](<em>a05_bench4bl_ranking_results.py</em>) Imports the results of BugLocator, BRTracer, and BLIA from the Bench4BL benchmark. Results are stored in [bench4bl_localization_results](<em>bench4bl_localization_results</em>). - [a09_bench4bl_stackoverflow_mpnet.py](<em>a09_bench4bl_stackoverflow_mpnet.py</em>) Creates document embeddings for all textual bug reports using the [stackoverflow_mpnet-base](<em>https://huggingface.co/flax-sentence-embeddings/stackoverflow_mpnet-base</em>) model. Results are stored in [stackoverflow_mpnet_embeddings](<em>stackoverflow_mpnet_embeddings</em>). ### Preliminary experiments and dataset splitting The following scripts perform data set splitting, and the preliminary experiments used for feature selection as discussed in Section VI of the paper. - [b00_analyze_most_promising_smells.py](<em>b00_analyze_most_promising_smells.py</em>) Assumes a perfect smell oracle (by using the known smells of the ground truth files) and applies it to rerank the IRFL tools outputs on the Classification Training Set (the older half of versions in the dataset). Then evaluates the achievable localization performance increase for each smell group. Results are stored in [h_analyze_most_promising_smells](<em>h_analyze_most_promising_smells</em>). - [c00_make_dataset_splits_bootstrap.py](<em>c00_make_dataset_splits_bootstrap.py</em>) Performs dataset splitting. Splits are performed on a temporal ordering of versions of each contained software project. Data is greedily split into 50/25/25, resulting in a Classification training set (used for NN model training), a ranking training set (used to estimate weights for linear combination of smell distance and IRFL suspicousness scores), and a test set (used for evaluating the localization performance achievable by our pipeline). Bootstrapping is applied by resampling fractions of 0.8, 20 times, resulting in 20 sets of the three splits to be used in the following eperiments. Datasets are stored in [p_FINAL_Bench4BL/p_model_for_smell_classification_bootstrap](<em>p_FINAL_Bench4BL/p_model_for_smell_classification_bootstrap</em>) for the full Bench4BL dataset, for the single project experiments please refer to p_FINAL_CAMEL, p_FINAL_HBASE, and p_FINAL_ROO accordingly. - [c01_full_dataset_stats.py](<em>c01_full_dataset_stats.py</em>) Calculates various statistics on the created datasets. Results are stored in [px_summary_dataset](<em>px_summary_dataset</em>). - [d00_model_for_smell_classification_performance_all_groups_bootstrap.py](<em>d00_model_for_smell_classification_performance_all_groups_bootstrap.py</em>) Trains a NN model on the Classification data set and evaluates its classification performance on the Ranking training set. This is performed for all 20 bootstrap iterations, the resulting data is stored in [p_FINAL_Bench4BL/p_model_for_smell_classification_bootstrap](<em>p_FINAL_Bench4BL/p_model_for_smell_classification_bootstrap</em>) for the full Bench4BL dataset, for the single project experiments please refer to p_FINAL_CAMEL, p_FINAL_HBASE, and p_FINAL_ROO accordingly. - [d01_classification_performance_evaluation_for_feature_selection_preliminariy_all_smell_groups.py](<em>d01_classification_performance_evaluation_for_feature_selection_preliminariy_all_smell_groups.py</em>) Creates summary and bootstrap statistics from the previous step. Results are stored in [p_FINAL_Bench4BL/p_summary_classification](<em>p_FINAL_Bench4BL/p_summary_classification</em>) for the full Bench4BL dataset. ### Localization experiments The following scripts perform our actual localization experiments. These scripts are applied to bootstrapped dataset splits. Results are stored in [p_FINAL_Bench4BL](<em>p_FINAL_Bench4BL</em>) for the full Bench4BL dataset, for the single project experiments please refer to p_FINAL_CAMEL, p_FINAL_HBASE, and p_FINAL_ROO accordingly. For a detailed experiment setup we refer to our paper. - [e01_model_for_localization_bootstrap.py](<em>e01_model_for_localization_bootstrap.py</em>) Trains NN models for smell classification and performs predictions on the corresponding test sets. Results are stored in [p_FINAL_Bench4BL/p_model_for_smell_classification_bootstrap](<em>p_FINAL_Bench4BL/p_model_for_smell_classification_bootstrap</em>). - [e02_ranking_training_bootstrap.py](<em>e02_ranking_training_bootstrap.py</em>) Performs reranking of the Ranking training set based on predicted smells by the model created in the previous step. Score combination is performed by linear combination of IRFL tools suspicousness scores and smell distances calculated based on our predictions. Results are stored in [p_FINAL_Bench4BL/p_ranking_training_bootstrap](<em>p_FINAL_Bench4BL/p_ranking_training_bootstrap</em>). - [e03_get_best_weigths_per_project_bootstrap.py](<em>e03_get_best_weigths_per_project_bootstrap.py</em>) Evaluates the outputs of the previous steps in order to pick the best weights for each project and IRFL tool. Results are stored in [p_FINAL_Bench4BL/p_ranking_training_bootstrap](<em>p_FINAL_Bench4BL/p_ranking_training_bootstrap</em>). - [e04_ranking_test_project_wise_bootstrap.py](<em>e04_ranking_test_project_wise_bootstrap.py</em>) Uses predictions of the final NN model and the weights obtained from the previous step to perform rerankings on the Test set. Results are stored in [p_FINAL_Bench4BL/p_ranking_test_proejct_wise_bootstrap](<em>p_FINAL_Bench4BL/p_ranking_test_proejct_wise_bootstrap</em>). ### Result collection and evaluation The following scripts calculate final scores and statistics from the 20 bootstrap iterations of the previous block of scripts. - [f00_bootstrap_summary_compare_map_and_ttest.py](<em>f00_bootstrap_summary_compare_map_and_ttest.py</em>) Calculates localization performance using the MAP metric and performs statistical tests. Results are stored in [p_FINAL_Bench4BL/p_summary_bootstrap](<em>p_FINAL_Bench4BL/p_summary_bootstrap</em>). - [f01_boostrap_summary_compare_classification_performance.py](<em>f01_boostrap_summary_compare_classification_performance.py</em>) Calculates classifier performance of our final model. Results are stored in [p_FINAL_Bench4BL/p_summary_bootstrap](<em>p_FINAL_Bench4BL/p_summary_bootstrap</em>). - [f02_bootstrap_summary_model_classification_performance_eval_test_set_for_all_projects.py](<em>f02_bootstrap_summary_model_classification_performance_eval_test_set_for_all_projects.py</em>) Calculates classifier performance and project wise classifier performance of our final model. Results are stored in [p_FINAL_Bench4BL/p_summary_classification_test_set](<em>p_FINAL_Bench4BL/p_summary_classification_test_set</em>). ### Further analysis The following scripts collect statistics and results to create latex tables and additional analysis used in our paper. - [g00_project_wise_perf_stats.py](<em>g00_project_wise_perf_stats.py</em>) Creates overview latex table comparing the Bench4BL and single project trained pipelines. Results are stored in [px_summary_performance](<em>px_summary_performance</em>). - [g01_project_multiple_file_smell_distances.py](<em>g01_project_multiple_file_smell_distances.py</em>) Analyses smell distances within each bug&#39;s ground truth files. Results are stored in [px_summary_dataset](<em>px_summary_dataset</em>). - [g02_performance_correlation_analysis.py](<em>g02_performance_correlation_analysis.py</em>) Performs correlation analysis of our pipeline&#39;s MAP localization performance, classification performance, and smell distance measures from previous step. Results are stored in [p_FINAL_Bench4BL/p_summary_correlations](<em>p_FINAL_Bench4BL/p_summary_correlations</em>) for the full Bench4BL dataset. ## Results - [pmd_catalogue/all_smells.json](<em>pmd_catalogue/all_smells.json</em>) lists all PMD smells and associated groups that occur in the dataset. - [px_summary_dataset](<em>px_summary_dataset</em>) contains statistics and information about the utilized dataset. Results for preliminary experiments for feature selection: - [h_analyze_most_promising_smells](<em>h_analyze_most_promising_smells</em>) contains the results of our preliminary experiment into each smell group&#39;s information content towards localization. - [p_FINAL_Bench4BL/p_summary_classification](<em>p_FINAL_Bench4BL/p_summary_classification</em>) contains the results of our preliminary experiments into the classifiability of smell groups from textual bug reports. Results of our localization eperiments: - [p_FINAL_Bench4BL/p_summary_bootstrap](<em>p_FINAL_Bench4BL/p_summary_bootstrap</em>) contains the results of our localization experiments, project wise MAP performance summary can be found in [p_FINAL_Bench4BL/p_summary_bootstrap/project_scores_tool_wise_others.tex](<em>p_FINAL_Bench4BL/p_summary_bootstrap/project_scores_tool_wise_others.tex</em>). - [p_FINAL_Bench4BL/p_summary_classification_test_set](<em>p_FINAL_Bench4BL/p_summary_classification_test_set</em>) contains the results of our classification performance analysis of the predictions used in localization. A project wise classification performance summary can be found in [p_FINAL_Bench4BL/p_summary_classification_test_set/macro_average_classification_performances_per_projectother.tex](<em>p_FINAL_Bench4BL/p_summary_classification_test_set/macro_average_classification_performances_per_projectother.tex</em>) ## Licence All code and results are licensed under [AGPL v3](<em>https://www.gnu.org/licenses/agpl-3.0.html.en</em>), according to LICENSE file. Other licences may apply for some tools and datasets contained in this repo: [cloc-1.92.pl](<em>https://github.com/AlDanial/cloc</em>) under [GPL v2](<em>https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html</em>), and data originating from [Bench4BL](<em>https://github.com/exatoa/Bench4BL</em>) under [CCA 4.0](<em>https://creativecommons.org/licenses/by/4.0/</em>). </pre>

openapgl-v3Jul 2023View details →
zenodo24/100

Empirical Study of the Relationship between Design Patterns and Code Smells

<p>Software systems are often developed in such a way that good practices in the object-oriented paradigm are not met, causing the occurrence of specific disharmonies, which are sometimes called code smells. Design patterns catalogue best practices for developing object-oriented software systems. Although code smells and design patterns are widely divergent, there might be a co-occurrence relation between them. The objective of this paper is to empirically evaluate if the presence of design patterns is related to the presence of code smells at different granularity levels. We performed an empirical replication study using 20 design patterns, and 13 code smells in ten small-size to medium-size, open-source Java-based systems. We applied statistical analysis and association rules. Results confirm that classes participating in design patterns have less smell-proneness and smell frequency than classes not participating in design patterns. We also noticed that every design pattern category act in the same way in terms of smell-proneness in the subject systems. However, we observed, based on the association rules learning and the proposed validation technique, that some patterns may be associated with certain smells in some cases. For instance, Command patterns can co-occur with God Class, Blob and External Duplication smell.</p> <p><strong>The published data set contains the following:</strong></p> <ol> <li>List of the selected systems (source code files)</li> <li>The P-MARt: the design pattern repository as XML for the selected systems.&nbsp;</li> <li>Data of design patterns and code smells: We processed this data by parsing the design pattern XML file and running the smell detection tool (inFusion).</li> <li>The data of the data mining analysis.</li> </ol>

opencc-by-4.0Jan 2020View details →
zenodo24/100

On The Relation of Test Smells to Software Code Quality. Appendix.

<p>Dataset of &quot;On The Relation of Test Smells to Software Code Quality&quot;</p> <p>This is the replication package of the paper &quot;On The Relation of Test Smells to Software Code Quality&quot;, accepted at the 34th IEEE International Conference on Software Maintenance and Evolution (ICSME 18).</p>

openother-openOct 2020View details →
zenodo24/100

Democracia em Xeque: Um Estudo Comparativo sobre Detecção de Code Smells [DATASET]

<p>Dataset usado na pesquisa</p>

opencc-by-4.0Jul 2022View details →
zenodo20/100

Detecting Multiple Code Smells Simultaneously based on Heterogeneous Graph

Open the record for dataset details and reuse information.

openJun 2024View details →
zenodo12/100

Replication Package for the Paper: "Code Smells Detection via Code Review: An Empirical Study"

<p>This&nbsp;repository&nbsp;contains&nbsp;the&nbsp;data&nbsp;and&nbsp;results&nbsp;from&nbsp;the&nbsp;paper&nbsp;&quot;Code&nbsp;Smells&nbsp;Detection&nbsp;via&nbsp;Code&nbsp;Review:&nbsp;An&nbsp;Empirical&nbsp;Study&quot;&nbsp;submitted&nbsp;to&nbsp;ESEM&nbsp;2020.</p> <p>&nbsp;</p> <p><strong>1. data&nbsp;folder</strong></p> <p>The&nbsp;data&nbsp;folder&nbsp;contains&nbsp;the&nbsp;retrieved&nbsp;269&nbsp;reviews&nbsp;that&nbsp;discuss&nbsp;code&nbsp;smells.&nbsp;Each&nbsp;review&nbsp;includes&nbsp;four&nbsp;parts:&nbsp;Code&nbsp;Change&nbsp;URL,&nbsp;Code&nbsp;Smell&nbsp;Term,&nbsp;Code&nbsp;Smell&nbsp;Discussion,&nbsp;and&nbsp;Source&nbsp;Code&nbsp;URL.</p> <p>&nbsp;</p> <p><strong>2. scripts&nbsp;floder</strong></p> <p>The&nbsp;scripts&nbsp;folder&nbsp;contains&nbsp;the&nbsp;Python&nbsp;script&nbsp;that&nbsp;was&nbsp;used&nbsp;to&nbsp;search&nbsp;for&nbsp;code&nbsp;smell&nbsp;terms&nbsp;and&nbsp;the&nbsp;list&nbsp;of&nbsp;code&nbsp;smell&nbsp;terms.</p> <ul> <li><em>smell-term/general_smell_terms.txt</em>&nbsp;contains&nbsp;general&nbsp;code&nbsp;smell&nbsp;terms,&nbsp;such&nbsp;as&nbsp;&quot;code&nbsp;smell&quot;.</li> <li><em>smell-term/specific_smell_terms.txt</em>&nbsp;contains&nbsp;specific&nbsp;code&nbsp;smell&nbsp;terms,&nbsp;such&nbsp;as&nbsp;&quot;dead&nbsp;code&quot;.</li> <li><em>smell-term/misspelling_terms_of_smell.txt</em>&nbsp;contains&nbsp;the&nbsp;misspelling&nbsp;terms&nbsp;of&nbsp;&#39;smell&#39;,&nbsp;such&nbsp;as&nbsp;&quot;ssell&quot;.</li> <li><em>get_changes.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;code&nbsp;changes&nbsp;from&nbsp;OpenStack.</li> <li><em>get_comments.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;review&nbsp;comments&nbsp;for&nbsp;each&nbsp;code&nbsp;change.</li> <li><em>smell_search.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;searching&nbsp;review&nbsp;comments&nbsp;that&nbsp;contain&nbsp;code&nbsp;smell&nbsp;terms.</li> </ul> <p>&nbsp;</p> <p><strong>3. project&nbsp;folder</strong></p> <p>The&nbsp;project&nbsp;folder&nbsp;contains&nbsp;the&nbsp;MAXQDA&nbsp;project&nbsp;files.&nbsp;The&nbsp;files&nbsp;can&nbsp;be&nbsp;opened&nbsp;by&nbsp;MAXQDA&nbsp;12&nbsp;or&nbsp;higher&nbsp;versions,&nbsp;which&nbsp;are&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/&nbsp;for&nbsp;download.&nbsp;You&nbsp;may&nbsp;also&nbsp;use&nbsp;the&nbsp;free&nbsp;14-day&nbsp;trial&nbsp;version&nbsp;of&nbsp;MAXQDA&nbsp;2018,&nbsp;which&nbsp;is&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/trial&nbsp;for&nbsp;download.</p> <ul> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ2.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ2,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ3.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ3,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> </ul>

restrictedMay 2020View details →
zenodo12/100

Replication Package for the Paper: "Code Smells Detection via Code Review: An Empirical Study"

<p>This&nbsp;repository&nbsp;contains&nbsp;the&nbsp;data&nbsp;and&nbsp;results&nbsp;from&nbsp;the&nbsp;paper&nbsp;&quot;Code&nbsp;Smells&nbsp;Detection&nbsp;via&nbsp;Code&nbsp;Review:&nbsp;An&nbsp;Empirical&nbsp;Study&quot;&nbsp;submitted&nbsp;to&nbsp;ESEM&nbsp;2020.</p> <p>&nbsp;</p> <p><strong>1. data&nbsp;folder</strong></p> <p>The&nbsp;data&nbsp;folder&nbsp;contains&nbsp;the&nbsp;retrieved&nbsp;269&nbsp;reviews&nbsp;that&nbsp;discuss&nbsp;code&nbsp;smells.&nbsp;Each&nbsp;review&nbsp;includes&nbsp;four&nbsp;parts:&nbsp;Code&nbsp;Change&nbsp;URL,&nbsp;Code&nbsp;Smell&nbsp;Term,&nbsp;Code&nbsp;Smell&nbsp;Discussion,&nbsp;and&nbsp;Source&nbsp;Code&nbsp;URL.</p> <p>&nbsp;</p> <p><strong>2. scripts&nbsp;floder</strong></p> <p>The&nbsp;scripts&nbsp;folder&nbsp;contains&nbsp;the&nbsp;Python&nbsp;script&nbsp;that&nbsp;was&nbsp;used&nbsp;to&nbsp;search&nbsp;for&nbsp;code&nbsp;smell&nbsp;terms&nbsp;and&nbsp;the&nbsp;list&nbsp;of&nbsp;code&nbsp;smell&nbsp;terms.</p> <ul> <li><em>smell-term/general_smell_terms.txt</em>&nbsp;contains&nbsp;general&nbsp;code&nbsp;smell&nbsp;terms,&nbsp;such&nbsp;as&nbsp;&quot;code&nbsp;smell&quot;.</li> <li><em>smell-term/specific_smell_terms.txt</em>&nbsp;contains&nbsp;specific&nbsp;code&nbsp;smell&nbsp;terms,&nbsp;such&nbsp;as&nbsp;&quot;dead&nbsp;code&quot;.</li> <li><em>smell-term/misspelling_terms_of_smell.txt</em>&nbsp;contains&nbsp;the&nbsp;misspelling&nbsp;terms&nbsp;of&nbsp;&#39;smell&#39;,&nbsp;such&nbsp;as&nbsp;&quot;ssell&quot;.</li> <li><em>get_changes.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;code&nbsp;changes&nbsp;from&nbsp;OpenStack.</li> <li><em>get_comments.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;review&nbsp;comments&nbsp;for&nbsp;each&nbsp;code&nbsp;change.</li> <li><em>smell_search.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;searching&nbsp;review&nbsp;comments&nbsp;that&nbsp;contain&nbsp;code&nbsp;smell&nbsp;terms.</li> </ul> <p>&nbsp;</p> <p><strong>3. project&nbsp;folder</strong></p> <p>The&nbsp;project&nbsp;folder&nbsp;contains&nbsp;the&nbsp;MAXQDA&nbsp;project&nbsp;files.&nbsp;The&nbsp;files&nbsp;can&nbsp;be&nbsp;opened&nbsp;by&nbsp;MAXQDA&nbsp;12&nbsp;or&nbsp;higher&nbsp;versions,&nbsp;which&nbsp;are&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/&nbsp;for&nbsp;download.&nbsp;You&nbsp;may&nbsp;also&nbsp;use&nbsp;the&nbsp;free&nbsp;14-day&nbsp;trial&nbsp;version&nbsp;of&nbsp;MAXQDA&nbsp;2018,&nbsp;which&nbsp;is&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/trial&nbsp;for&nbsp;download.</p> <ul> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ2.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ2,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ3.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ3,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> </ul>

restrictedMay 2020View details →
zenodo12/100

Replication Package for the Paper: "An Empirical Analysis of the Manual Detection of Code Smells via Code Review"

<p>This&nbsp;repository&nbsp;contains&nbsp;the&nbsp;data&nbsp;and&nbsp;results&nbsp;from&nbsp;the&nbsp;paper&nbsp;&quot;An Empirical Analysis of the Manual Detection of Code Smells via Code Review&quot;&nbsp;submitted&nbsp;to&nbsp;SANER 2021.</p> <p>&nbsp;</p> <p><strong>1. &quot;data.zip&quot; contains the following three folders:&nbsp;</strong></p> <p>&nbsp;</p> <p><strong>1). data&nbsp;folder</strong></p> <p>The&nbsp;data&nbsp;folder&nbsp;contains&nbsp;the&nbsp;retrieved&nbsp;1,174 reviews&nbsp;that&nbsp;discuss&nbsp;code&nbsp;smells.&nbsp;Each&nbsp;review&nbsp;includes&nbsp;four&nbsp;parts:&nbsp;Code&nbsp;Change&nbsp;URL,&nbsp;Code&nbsp;Smell,&nbsp;Code&nbsp;Smell&nbsp;Discussion,&nbsp;and&nbsp;Source&nbsp;Code&nbsp;URL.</p> <p>&nbsp;</p> <p><strong>2). scripts&nbsp;folder</strong></p> <p>The&nbsp;scripts&nbsp;folder&nbsp;contains&nbsp;the&nbsp;Python&nbsp;script&nbsp;that&nbsp;was&nbsp;used&nbsp;to&nbsp;search&nbsp;for&nbsp;code&nbsp;smell&nbsp;terms&nbsp;and&nbsp;the&nbsp;list&nbsp;of&nbsp;code&nbsp;smell&nbsp;terms.</p> <ul> <li><em>keywords.txt</em>&nbsp;contains the keywords associated&nbsp;with&nbsp;code&nbsp;smells, such as &quot;smell, duplication, and dead&quot;.</li> <li><em>get_changes.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;code&nbsp;changes&nbsp;from&nbsp;OpenStack.</li> <li><em>get_comments.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;getting&nbsp;review&nbsp;comments&nbsp;for&nbsp;each&nbsp;code&nbsp;change.</li> <li><em>keywords_search.py</em>&nbsp;is&nbsp;used&nbsp;for&nbsp;searching&nbsp;review&nbsp;comments&nbsp;that&nbsp;contain at least one keyword.</li> <li><em>keywords_improve.py</em> is used for improving the keyword-based mining approach.</li> <li><em>tools.py</em> is used for supporting the process of keywords improving.</li> </ul> <p>&nbsp;</p> <p><strong>3). project&nbsp;folder</strong></p> <p>The&nbsp;project&nbsp;folder&nbsp;contains&nbsp;the&nbsp;MAXQDA&nbsp;project&nbsp;files.&nbsp;The&nbsp;files&nbsp;can&nbsp;be&nbsp;opened&nbsp;by&nbsp;MAXQDA&nbsp;12&nbsp;or&nbsp;higher&nbsp;versions,&nbsp;which&nbsp;are&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/&nbsp;for&nbsp;download.&nbsp;You&nbsp;may&nbsp;also&nbsp;use&nbsp;the&nbsp;free&nbsp;14-day&nbsp;trial&nbsp;version&nbsp;of&nbsp;MAXQDA&nbsp;2018,&nbsp;which&nbsp;is&nbsp;available&nbsp;at&nbsp;https://www.maxqda.com/trial&nbsp;for&nbsp;download.</p> <ul> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ2.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ2,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> <li><em>Data&nbsp;Labeling&nbsp;&amp;&nbsp;Encoding&nbsp;for&nbsp;RQ3.mx12</em>&nbsp;is&nbsp;the&nbsp;results&nbsp;of&nbsp;data&nbsp;labeling&nbsp;and&nbsp;encoding&nbsp;for&nbsp;RQ3,&nbsp;which&nbsp;were&nbsp;analyzed&nbsp;by&nbsp;the&nbsp;MAXQDA&nbsp;tool.</li> </ul> <p>&nbsp;</p> <p><strong>2. Keywords associated with code smells.pdf</strong></p> <p>This&nbsp;file&nbsp;contains&nbsp;the&nbsp;final&nbsp;set&nbsp;of&nbsp;keywords&nbsp;associated&nbsp;with&nbsp;code&nbsp;smells&nbsp;that&nbsp;we&nbsp;identified&nbsp;by&nbsp;following&nbsp;the&nbsp;systematic&nbsp;approach&nbsp;proposed&nbsp;by&nbsp;Bosu&nbsp;and&nbsp;his&nbsp;colleagues&nbsp;in&nbsp;their&nbsp;paper:&nbsp;Identifying&nbsp;the&nbsp;Characteristics&nbsp;of&nbsp;Vulnerable&nbsp;Code&nbsp;Changes:&nbsp;An&nbsp;Empirical&nbsp;Study,&nbsp;FSE&nbsp;2014.</p>

restrictedOct 2020View details →

ScienceDex guides

Understand access before you commit

These curated guides explain access requirements, typical timelines, costs, and reuse considerations for widely used research datasets.

Compare curated datasets

Allen Brain Atlas

Allen Brain Atlas is an Allen Institute collection of brain map atlases, datasets, APIs, and analysis tools covering mouse, human, and non-human primate brain resources.

allen-brain-atlas
neuroscienceopenDocumentation, web resources, and API references are available online.
Last verified 2026-04-30Open record

Annotated Behaviour and Observability Dataset (ABODe)

ABODe is a University of Edinburgh DataShare dataset for behavior classification in group-housed mice using home-cage video, identities, bounding boxes, ground-plate positions, and annotator labels.

abode-home-cage
behavioral-neuroscienceopenThe DataShare record exposes download links for annotations, documentation, license text, and the zipped per-snippet data directory.
Last verified 2026-04-30Open record

DANDI Archive for NWB datasets

DANDI is a BRAIN Initiative archive for publishing and sharing neurophysiology data, including electrophysiology, optophysiology, and behavioral data packaged as NWB and related standards.

dandi-nwb
electrophysiologyopenPublished Dandiset metadata and archive endpoints are available through the production DANDI API.
Last verified 2026-04-30Open record

International Brain Laboratory public data

The International Brain Laboratory public data releases expose standardized mouse decision-making experiments, including Neuropixels recordings, widefield calcium imaging, behavior, and session metadata accessed through the ONE API.

ibl
behavioral-neuroscienceopenPublic sessions can be searched and loaded from the IBL public data server through ONE.
Last verified 2026-04-29Open record

OpenNeuro

OpenNeuro is a free, open platform for sharing neuroimaging datasets, with public search, dataset pages, and download paths for web, S3, DataLad, and the OpenNeuro CLI.

openneuro
neuroscienceopenPublished datasets are available on demand over the internet.
Last verified 2026-04-29Open record