class Koji::Plugins::Symfony
Public Instance Methods
evidence_list()
click to toggle source
# File lib/koji/plugins/symfony.rb, line 10 def evidence_list @evidence_list ||= [].tap do |out| out << "The website contains Symfony's Profiler" if profiler end end
profiler()
click to toggle source
# File lib/koji/plugins/symfony.rb, line 6 def profiler website.doc&.at_css(".sf-toolbar") end
score()
click to toggle source
# File lib/koji/plugins/symfony.rb, line 16 def score evidence_list.empty? ? 0 : 100 end