Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
+
tags:
|
| 4 |
+
- code
|
| 5 |
+
pretty_name: DyPyBench Functions
|
| 6 |
---
|
| 7 |
+
|
| 8 |
+
# DyPyBench Functions Datasets
|
| 9 |
+
[DyPyBench](https://zenodo.org/record/7886366) is a dataset constructed by Piyush Krishan Bajaj at the Software Lab, Institute of Software Engineering, University of Stuttgart. It contains 50 open source projects from GitHub.
|
| 10 |
+
We used [Nathan Cooper's](https://github.com/ncoop57/function_parser) `function_parser` tool, based off GitHub's CodeSearchNet `function_parser`, to extract all functions from all the projects, excluding library functions in the virtualenv. We also ran all tests in DyPyBench and produced a coverage report in JSON. Not all projects resulted in a coverage report due to project specific coverage report settings.
|
| 11 |
+
|
| 12 |
+
The columns provided are as follows:
|
| 13 |
+
| Column | Type | Notes |
|
| 14 |
+
| ----------------- | ---------- | ----------------------------------------------------------------------------------------------- |
|
| 15 |
+
| project | Int64 | DyPyBench project id |
|
| 16 |
+
| nwo | string | Project name in repo/project format |
|
| 17 |
+
| sha | string | SHA commit hash |
|
| 18 |
+
| url | string | GitHub URL to function lines at commit |
|
| 19 |
+
| path | string | Path of file containing function relative to project root |
|
| 20 |
+
| func_begin | Int64 | Begin of function line number in source file |
|
| 21 |
+
| func_end | Int64 | End of function line number in source file |
|
| 22 |
+
| function_lines | Int64 | Function line count |
|
| 23 |
+
| identifier | string | Function identifier |
|
| 24 |
+
| parameters | string | Function parameters |
|
| 25 |
+
| function | string | Source code of function including docstring |
|
| 26 |
+
| function_nodoc | string | Source code of function without docstring |
|
| 27 |
+
| docstring | string | Function docstring |
|
| 28 |
+
| docstring_lines | Int64 | Line count of docstring |
|
| 29 |
+
| docstring_summary | string | Function docstring summary |
|
| 30 |
+
| return_statement | string | Function return statement |
|
| 31 |
+
| filecoverage | Float64 | If coverage available, coverage percentage of file function is from |
|
| 32 |
+
| executed_lines | array[int] | If coverage available, executed lines relative to function lines (i.e. [0,1,2,...]) |
|
| 33 |
+
| executed_lines_pc | Float64 | If coverage available, executed line count over total function line count |
|
| 34 |
+
| missing_lines | array[int] | If coverage available, missing (unexecuted) lines relative to function lines (i.e. [0,1,2,...]) |
|
| 35 |
+
| missing_lines_pc | Float64 | If coverage available, missing line count over total function line count |
|
| 36 |
+
| covered | boolean | True if all lines executed and/or no lines missing |
|
| 37 |
+
| mccabe | Int64 | McCabe complexity of function |
|
| 38 |
+
| coverage | Float64 | Function coverage percentage (1-missing lines %) |
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
|