compact mode for report
alainravet opened this issue · 0 comments
alainravet commented
$ ruby -Ilib -rubygems -e "require 'private_please' ; load 'doc/fixtures/complex.rb'"
If only the good candidates are displayed, remove the per-class headers, and only show the candidates.
pp_ruby doc/fixtures/complex.rb
Executing: ruby -rubygems -e "require 'private_please' ; load 'doc/fixtures/complex.rb'"
====================================================================================
= PrivatePlease report : =
====================================================================================
ComplexReport::AnotherClass
* Good candidates : can be made private :
------------------------------------------
#make_external_calls .c_make_external_calls
ComplexReport::Class1
* Good candidates : can be made private :
------------------------------------------
#instance_m_1 .class_m_1
#instance_m_2 .c_make_internal_method_calls
#sole_entry_point .class_m_2
ComplexReport::Simple
* Good candidates : can be made private :
------------------------------------------
#instance_m_2 .c_make_internal_method_calls
.class_m_2
====================================================================================
Report options :
x * --show-never-called-candidates-section?
x * --show-bad-candidates-section?
x * --show-empty-classes?
(PP_OPTIONS = )