Swifterswift: Someone write me a script to count the number of extensions 鉂わ笍

Created on 18 Jan 2018  路  3Comments  路  Source: SwifterSwift/SwifterSwift

It would be nice to get the new count of the number of SwifterSwift extensions!
Maybe we could check for all public var and public func in all source files 馃槀

good first issue help wanted

All 3 comments

@pvtmert, tagging you here because I know you love this stuff :)

I created a small script and named it SwiftMeter to scan our code base and generate some useful statistics, here is the initial report

{
    "functions": 229, 
    "ib_inspectables": 28, 
    "failable_initializers": 9, 
    "static_functions": 40, 
    "total_static_units": 542, 
    "variables": 220, 
    "code_lines": 4207, 
    "structs": 5, 
    "total_non_static_units": 468, 
    "swift_files": 56, 
    "classes": 0, 
    "extensions": 101, 
    "total_lines": 8941, 
    "initializers": 10, 
    "static_variables": 502, 
    "enums": 6, 
    "operators": 11, 
    "total_units": 1010
}

Going to close this 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omaralbeik picture omaralbeik  路  5Comments

omaralbeik picture omaralbeik  路  3Comments

pawurb picture pawurb  路  3Comments

fanglinwei picture fanglinwei  路  5Comments

martinstoyanov picture martinstoyanov  路  5Comments