Class: Rigor::CLI::FileProtection
- Inherits:
-
Data
- Object
- Data
- Rigor::CLI::FileProtection
- Defined in:
- lib/rigor/cli/protection_report.rb
Overview
ADR-63 Tier 1 — aggregates per-file Inference::ProtectionScanner results into a project-level protection report: the protected ratio, the per-file breakdown, and a ranked “add a type here” list keyed by the method called on an unprotected (‘Dynamic`) receiver — the highest-traffic untyped dispatches, where a receiver annotation buys the most catching power.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#protected_count ⇒ Object
readonly
Returns the value of attribute protected_count.
-
#ratio ⇒ Object
readonly
Returns the value of attribute ratio.
-
#unprotected_count ⇒ Object
readonly
Returns the value of attribute unprotected_count.
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path
11 12 13 |
# File 'lib/rigor/cli/protection_report.rb', line 11 def path @path end |
#protected_count ⇒ Object (readonly)
Returns the value of attribute protected_count
11 12 13 |
# File 'lib/rigor/cli/protection_report.rb', line 11 def protected_count @protected_count end |
#ratio ⇒ Object (readonly)
Returns the value of attribute ratio
11 12 13 |
# File 'lib/rigor/cli/protection_report.rb', line 11 def ratio @ratio end |
#unprotected_count ⇒ Object (readonly)
Returns the value of attribute unprotected_count
11 12 13 |
# File 'lib/rigor/cli/protection_report.rb', line 11 def unprotected_count @unprotected_count end |