Software sustainability of global impact models (Dataset and analysis script)
Authors/Creators
Description
slocount.py: This script calculates the number of comment lines, total lines of code (TLOC) and source lines of code (SLOC). It uses a code line counter developed by Ben Boyter, which must be installed (https://github.com/boyter/scc.). The source code links to the global impact models (GIMs) can be found in the 'ISIMIP_models.xlsx' file.
active_dev.py: This script plots the number of active developers for each GIM across 10 sectors. It utilizes data from the 'active_dev.csv' file, which lists the GIMs and their respective number of developers.
cocomo.py: This script estimates the effort required for software development using the methodology proposed by Sachan et al. 2016 (https://doi.org/10.1016/j.procs.2016.06.107). It also generates plots for these estimates.
comment_density_modularity.py: This script calculates the comment density and evaluates the modularity of the modules. It also produces plots for these metrics.
code_standard.py: This script uses Pylint (https://pylint.readthedocs.io/en/latest/user_guide/usage/output.html) to check if the source code, either in part or in its entirety, adheres to the PEP8 coding standard. It also generates lint scores for the source code.
line_count.zip: This file contains the results of counting the number of comment lines, TLOC and SLOC for each GIM.
lint_score.zip: This file contains the results of running pylint on GIMs that include Python in their source code. Results also include lint score per GIM
Files
active_dev.csv
Files
(24.2 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:b53378077375689a91218df815431378
|
590 Bytes | Preview Download |
|
md5:9906fab1e630a2af413b40fcea0e4047
|
1.5 kB | Download |
|
md5:b8e5aeed8759191ea9448711604dad57
|
9.5 kB | Download |
|
md5:edab672bbd0e469c88e4a3c3c2eba04d
|
1.2 kB | Download |
|
md5:19943719663be0d8dbaea72c471e6b9a
|
16.0 kB | Download |
|
md5:3b69c4328237324ec65c680af844b20e
|
23.3 MB | Download |
|
md5:1e2e9110580dbd5ebb04cf481ba65c1e
|
195.5 kB | Preview Download |
|
md5:6a9be6ca1093ae7938b61156503b77ba
|
694.2 kB | Preview Download |
|
md5:98eceefdfe951c622c330d50ff40bbe0
|
1.6 kB | Download |