{"repo":"yegor256/cam","free":true,"listed":false,"github":"https://github.com/yegor256/cam","clone":"git clone https://github.com/yegor256/cam.git","description":"Classes and Metriсs (CaM): a dataset of Java classes from public open-source GitHub repositories","language":"Shell","stars":27,"topics":["dataset","cyclomatic-complexity","java","metrics","metrics-gathering"],"license":"MIT","category":"analytics","readme_excerpt":"Classes and Metrics (CaM) This is a dataset of open source Java classes and some metrics on them. Every now and then I make a new version of it using the scripts in this repository. You are welcome to use it in your research. Each release has a fixed version. By referring to it in your research, you avoid ambiguity and guarantee repeatability of your experiments. This is a more formal explanation of this project: in PDF. The latest ZIP archive with the dataset is here: cam-2024-03-02.zip (2.22Gb). There are 48 metrics calculated for 532,394 Java classes from 1000 GitHub repositories , including: lines of code (reported by cloc); NCSS; cyclomatic and cognitive complexity (by PMD); Halstead volume, effort, and difficulty; maintainability index; number of attributes, constructors, methods; number of Git authors; and others (see PDF). Previous archives (took me a few days to build each of them, using a pretty big machine): cam-2024-03-02.zip (2.22Gb): 1000 repos, 48 metrics, 532K classes cam-2023-10-22.zip (2.19Gb): 1000 repos, 33 metrics, 863K classes cam-2023-10-11.zip (3Gb): 959 repos, 29 metrics, 840K classes cam-2021-08-04.zip (692Mb): 1000 repos, 15 metrics cam-2021-07-08.zip (387Mb): 1000 repos, 11 metrics If you want to create a new dataset, just run the following command and the entire dataset will be built in the current directory (you need to have Docker installed), where 1000 is the number of repositories to fetch from GitHub and XXX is your [personal access token][cr","default_branch":null,"files":null,"tree":[],"storefront":"/r/yegor256","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yegor256/cam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}