inspect4py
inspect4py copied to clipboard
Static code analysis package for Python repositories
In many cases we don't want to save all folders. I would like to save JUST the final aggregated output
Right now we return the ranking. For debugging capabilities, it may be better to return the score obtained in our ranking. This could be potentially confusing, so we should add...
We use ASTs to return many features, but we should also return the ASTs itself. That way we can start implement different encoding mechanisms for code.
We need to compare the call list that we obtain with [PyCG](https://github.com/vitsalis/PyCG). For doing this, first we need to convert our call list to a call graph. We have the...
Right now we check if the `assert` commands are used in tests. I have detected some places (e.g., repo `Tface`) where the `assert` expressions are used just to check if...
At the moment, tests will be recognized if: - Any of the test frameworks we know are used. - If a class is defined with asserts - If any defined...
Not sure why this happens, gotta dig in
For example, in pyLODE: `run: "python /home/dgarijo/Documents/GitHub/test_repos/pyLODE/pylode/cli.py"` but the `cli.py` script would be run through a module, as it's part of the main package. If there is an `__init.py__` in...
The [second evaluation ](https://github.com/SoftwareUnderstanding/code_inspector/blob/main/evaluation/software_type/evaluation_summary_part2.csv) uncovers that many repos that have scripts deemed as important are not detected. I think there are problems which are filtering the availability of such files...
In some places, `run` returns a single line. In others, `run` returns a list of run commands. We should be consistent. Example:  Here run returns a...