Closed kidonkey closed 9 years ago
Mediante la API se pueden obtener los issues por repositorio, filtrarlos por label "bug". Vienen en formato JSON, no necesariamente referencian a una clase. https://developer.github.com/v3/issues/comments/
As the decision was not to use the GitHub API but JGit, the lib's structures to interact with git objects were used to search the tree for commits containing the word 'bug' or 'fixed' (to eliminate false positives) and map them to their .class files. This again was achieved by searching the tree for the change log, so commits could be associated with their respective classes, since the commit structure itself does not contain this information.
Sure enough there was a more efficient way to implement, but it does the work.
Obtener de GitHub la información disponible sobre bugs de un repositorio, en particular la cantidad de bugs reportados por cada clase.