|
4 | 4 | "max_level": 2, |
5 | 5 | "analyzer": { |
6 | 6 | "name": "codeanalyzer-python", |
7 | | - "version": "1.0.0" |
| 7 | + "version": "1.0.1", |
| 8 | + "config": { |
| 9 | + "analysis_level": 2 |
| 10 | + } |
8 | 11 | }, |
9 | 12 | "application": { |
10 | 13 | "symbol_table": { |
|
162 | 165 | "argument_types": [ |
163 | 166 | "Name" |
164 | 167 | ], |
165 | | - "return_type": "build", |
| 168 | + "arguments": [ |
| 169 | + { |
| 170 | + "ast_kind": "Name" |
| 171 | + } |
| 172 | + ], |
166 | 173 | "callee_signature": "service.build", |
167 | 174 | "is_constructor_call": false, |
168 | 175 | "start_line": 6, |
|
369 | 376 | { |
370 | 377 | "method_name": "Service", |
371 | 378 | "argument_types": [], |
| 379 | + "arguments": [], |
372 | 380 | "return_type": "Service", |
373 | 381 | "callee_signature": "service.Service.__init__", |
374 | 382 | "is_constructor_call": true, |
|
384 | 392 | "argument_types": [ |
385 | 393 | "Name" |
386 | 394 | ], |
387 | | - "return_type": "Service", |
388 | | - "callee_signature": "service.Service", |
| 395 | + "arguments": [ |
| 396 | + { |
| 397 | + "ast_kind": "Name" |
| 398 | + } |
| 399 | + ], |
| 400 | + "return_type": "str", |
| 401 | + "callee_signature": "service.Service.announce", |
389 | 402 | "is_constructor_call": false, |
390 | 403 | "start_line": 17, |
391 | 404 | "start_column": 11, |
|
443 | 456 | 296 |
444 | 457 | ] |
445 | 458 | }, |
446 | | - "callee": "can://python/sample_proj/service.py/Service" |
| 459 | + "callee": "can://python/sample_proj/service.py/Service/announce(self,flag)" |
447 | 460 | } |
448 | 461 | }, |
449 | 462 | "cfg": [], |
|
462 | 475 | "kind": "application", |
463 | 476 | "call_graph": [ |
464 | 477 | { |
465 | | - "src": "can://python/sample_proj/service.py/run(flag)", |
466 | | - "dst": "can://python/sample_proj/@external/service.Service/__init__", |
467 | | - "weight": 1, |
| 478 | + "src": "can://python/sample_proj/service.py/Service/announce(self,flag)", |
| 479 | + "dst": "can://python/sample_proj/service.py/build(x)", |
| 480 | + "weight": 2, |
468 | 481 | "prov": [ |
469 | | - "jedi" |
| 482 | + "jedi", |
| 483 | + "pycg" |
470 | 484 | ] |
471 | 485 | }, |
472 | 486 | { |
473 | 487 | "src": "can://python/sample_proj/service.py/run(flag)", |
474 | | - "dst": "can://python/sample_proj/service.py/Service", |
| 488 | + "dst": "can://python/sample_proj/@external/service.Service/__init__", |
475 | 489 | "weight": 1, |
476 | 490 | "prov": [ |
477 | 491 | "jedi" |
478 | 492 | ] |
479 | 493 | }, |
480 | | - { |
481 | | - "src": "can://python/sample_proj/service.py/Service/announce(self,flag)", |
482 | | - "dst": "can://python/sample_proj/service.py/build(x)", |
483 | | - "weight": 2, |
484 | | - "prov": [ |
485 | | - "jedi", |
486 | | - "pycg" |
487 | | - ] |
488 | | - }, |
489 | 494 | { |
490 | 495 | "src": "can://python/sample_proj/service.py/run(flag)", |
491 | 496 | "dst": "can://python/sample_proj/service.py/Service/announce(self,flag)", |
492 | | - "weight": 1, |
| 497 | + "weight": 2, |
493 | 498 | "prov": [ |
| 499 | + "jedi", |
494 | 500 | "pycg" |
495 | 501 | ] |
496 | 502 | } |
|
0 commit comments