def detailed_display(context)
template = TemplateFile.new(self.class.detailed_template_file)
ares = (@file_loc.keys - [TOTAL, PROD_CODE, TEST_CODE]).sort.map do |file|
code, comments, blank = *(@file_loc[file])
ttl = code + comments + blank
{ :file => file, :total => ttl,
:code => code, :code_per => percent(code, ttl),
:comments => comments, :comments_per => percent(comments, ttl),
:blank => blank, :blank_per => percent(blank, ttl) }
end
context.amrita_data[:loc_details] = { :entry => ares }
det_res = ProjectBuilderUtils.expand_template(template, context.amrita_data)
det_file = "#{context.output_directory}/#{context.project_name}_loc.html"
[det_file, det_res]
end