Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add steep stats command #246

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Add steep stats command #246

merged 1 commit into from
Oct 27, 2020

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented Oct 26, 2020

steep stats will show a statistics on method call typings.

# Example
$ bundle exec steep stats | column -s, -t
Target  File                            Typed calls  Untyped calls  All calls  Typed %
lib     lib/rbs/ast/annotation.rb       12           1              13         92.31
lib     lib/rbs/ast/comment.rb          14           1              15         93.33
lib     lib/rbs/ast/declarations.rb     289          44             337        85.76
lib     lib/rbs/ast/members.rb          206          24             230        89.57
lib     lib/rbs/buffer.rb               32           0              32         100.00
lib     lib/rbs/builtin_names.rb        43           0              43         100.00
lib     lib/rbs/cli.rb                  152          276            518        29.34
lib     lib/rbs/constant.rb             18           5              23         78.26
lib     lib/rbs/constant_table.rb       112          1              116        96.55
lib     lib/rbs/definition.rb           181          1              183        98.91

@soutaro soutaro merged commit 79b0e28 into master Oct 27, 2020
@soutaro soutaro deleted the stats branch October 27, 2020 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant