phodal / chapi

CHAPI (Common Hierarchical Abstract Parser and Information Converter) streamlines code analysis by converting diverse language source code into a unified abstract model, simplifying cross-language development. Chapi 是一个通用层次抽象解析器与信息转换器,它可以将不同编程语言的源代码转换为统一的层次抽象模型。
https://chapi.phodal.com/
Mozilla Public License 2.0
270 stars 44 forks source link

feat: <c> add basic function name and paramaters support #3

Closed cuijinyu closed 4 years ago

cuijinyu commented 4 years ago
phodal commented 4 years ago

Antlr 版本不对,需要升级成新的,2333

codecov-io commented 4 years ago

Codecov Report

Merging #3 into master will decrease coverage by 1.54%. The diff coverage is 71.03%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master      #3      +/-   ##
===========================================
- Coverage     88.35%   86.8%   -1.55%     
- Complexity      437     467      +30     
===========================================
  Files            40      41       +1     
  Lines          1485    1622     +137     
  Branches        249     293      +44     
===========================================
+ Hits           1312    1408      +96     
- Misses           64      80      +16     
- Partials        109     134      +25
Impacted Files Coverage Δ Complexity Δ
.../kotlin/chapi/app/analyser/support/BaseAnalyser.kt 90.9% <ø> (ø) 6 <0> (ø) :arrow_down:
...otlin/chapi/ast/scalaast/ScalaFullIdentListener.kt 96.66% <100%> (+0.23%) 8 <1> (+1) :arrow_up:
...lin/chapi/ast/pythonast/PythonFullIdentListener.kt 93.84% <100%> (+1.42%) 26 <2> (+1) :arrow_up:
.../main/kotlin/chapi/app/analyser/JavaAnalyserApp.kt 100% <100%> (ø) 11 <0> (+1) :arrow_up:
...src/main/kotlin/chapi/ast/cast/CAstBaseListener.kt 40% <40%> (ø) 3 <3> (?)
.../main/kotlin/chapi/ast/kotlinast/KotlinAnalyser.kt 80% <57.14%> (-20%) 4 <1> (+1)
...c/main/kotlin/chapi/ast/cast/CFullIdentListener.kt 75.75% <68.91%> (-20.4%) 21 <16> (+14)
...otlin/chapi/ast/pythonast/PythonAstBaseListener.kt 84.78% <79.59%> (-6.53%) 26 <11> (+9)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 12c0d13...2ff39b1. Read the comment docs.