tailor icon indicating copy to clipboard operation
tailor copied to clipboard

Hide files with no violations in the HTML report

Open yanli0303 opened this issue 9 years ago • 0 comments

Tailor Version: v0.10.0

Swift Version: 2.2

Platform (Mac/Linux/Windows/CI): Mac

Installation Method: Homebrew

Feature request: If I have a lot of code files and only a few contain violations, in the generated HTML report, I see a very long file list as in:

  • /Users/Shared/Jenkins/workspace/project/module1/file1.swift — 0 violations
  • /Users/Shared/Jenkins/workspace/project/module2/file2.swift — 0 violations

I want to have two changes:

  1. Can we move the files with no violations to a collapsed section, or just don't display them?
  2. The file name displayed in HTML report is very long (up to the root), can we group files according to paths specified in include option? for example: I have a config file like this:
include:
    - project/module1
    - project/module2
format: html

Can we display the file names in HTML report like this:

  • project/module1
    • file1.swift — 0 violations
    • file2.swift — 0 violations
  • project/module2
    • file3.swift — 0 violations
    • file4.swift — 0 violations

yanli0303 avatar Jun 09 '16 18:06 yanli0303