AbsaOSS / AbsaOSS/spline-python-agent

Recursive source code inspection

Aberta
#4 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Python
Estrelas
1
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

The source code inspector should run recursively and inspect all called functions, including ones from other modules.
The result of the inspection should be a DAG where node represent functions (with their source code) and edges represent invocations.
The resulted DAG should be serialised as a plain pseudo python file in the format, and included into the `source_code` property of the `python_function` operation:
```python
$The_source_code_of_the_root_function_fn_here

### ==============================================
### module: AAA
### ==============================================

from BBB import xxx

### func: f1
def f1():
...
f2()
...

### func: f2
def f2():
...
xxx()
...

### ==============================================
### module: BBB
### ==============================================

### func: xxx
def xxx():
...
```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.