lib/apkstats/entity/apk_info_diff.rb in danger-apkstats-0.1.2 vs lib/apkstats/entity/apk_info_diff.rb in danger-apkstats-0.2.0
- old
+ new
@@ -61,7 +61,17 @@
def target_sdk
# String
[@base[__method__], @other[__method__]].uniq
end
+
+ def method_reference_count
+ # Integer
+ @base[__method__].to_i - @other[__method__].to_i
+ end
+
+ def dex_count
+ # Integer
+ @base[__method__].to_i - @other[__method__].to_i
+ end
end
end