class Review::ComplexityReviewer
Public Class Methods
new()
click to toggle source
# File lib/iosappaudit/Review/complexity_reviewer.rb, line 4 def initialize() end
Public Instance Methods
review_folder(options)
click to toggle source
# File lib/iosappaudit/Review/complexity_reviewer.rb, line 7 def review_folder(options) puts "Reviewing source complexity... " lizard_report = "lizard-report.xml" source = options[:sources_url] `lizard -m --xml #{source} > #{lizard_report}` parser = ComplexityReportParser.new report = parser.parse_file lizard_report FileUtils.rm lizard_report report end