Cross-Project-Code-Context-Prediction_Dataset
<p>The dataset of 3,469 code context models (Code Context Models.zip) and 14,510 code context patterns (Topological Patterns.zip) from Platform, PDE, and ECF.</p> <p><strong>Code Context Models</strong></p> <p>There are 10 files in each directory (i.e., working period), including:</p> <p>1. interaction events.txt: the interaction events during this working period</p> <p>2. event timestamps.txt: the timestamps of this working period, including:</p> <ul> <li>start datetime of the first event</li> <li>start datetime of the last event</li> <li>end datetime of the last event</li> <li>duration of interaction events (in seconds)</li> </ul> <p>3. code elements_extracted.txt: the code elements the developer accesses during this working period, extracted from interaction events (e.g., org.eclipse.ecf.provider.irc.ui/src&lt;org.eclipse.ecf.internal.irc.ui.wizards{IRCConnectWizardPage.java[IRCConnectWizardPage~getConnectID)</p> <p>4. code elements_resolved.txt: the resolved code elements (e.g., 'org.eclipse.ecf.internal.irc.ui.wizards.IRCConnectWizardPage[getConnectID')</p> <p>5. repository urls.txt: the urls of the git repositories identified from the code elements</p> <p>6. code elements_total.txt: all the code elements extracted from the code snapshots</p> <p>7. code context model.txt: the code context model with the code elements in [4]. This file is like:</p> <p>vertices:</p> <p>A@#c0</p> <p>B@#f0</p> <p>edges:</p> <p>c0@#f0@#declare</p> <p>A and B are the code elements, while c0, f0 are their ids (c: class, f: function). The relation between them is 'declare'. </p> <p>8. code context model_total.txt: the code context model with the code elements in [6]</p> <p>9. stereotype roles_total.txt: the stereotype roles of all the code elements in [6]</p> <p>10. code context model_abstract.txt: the abstract code context model of which the code elements are abstracted as stereotype roles</p> <p><strong>Topological Patterns</strong></p> <p>There are 9, 8, and 7 pattern groups mined from Platform, PDE, and ECF respectively. Each pattern group is named 'project_X_MinSupp', where 'X' denotes the X-th cluster of code context models and 'MinSupp' = 0.02. The information about the X-th cluster can be found in the paper's appendix. There are various patterns in a pattern group. For example:</p> <p>t # 25<br> v 0 DATA_PROVIDER <br> v 1 COLLABORATOR-CONSTRUCTOR <br> e 0 1 declare<br> 12</p> <p>The id of this pattern is 25, and there are two vertices 0 and 1, corresponding to DATA_PROVIDER and COLLABORATOR-CONSTRUCTOR respectively. There is a 'declare' edge from DATA_PROVIDER to COLLABORATOR-CONSTRUCTOR. This pattern occurs 12 times in all the abstract code context models</p>
ShareScore
8/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 4
- Harmonization
- 4
- Access
- 0
- Reuse readiness
- 0
- Engagement
- 0
Dataset details
- Repository
- zenodo
- Published
- July 24, 2022
- License
- Not reported
- DOI
- 10.5281/zenodo.5704196
Scored with release 0.9.0
ScienceDex for faculty
Your academic CV and NIH biosketch
Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.