Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

component filters #846

Closed
3 of 4 tasks
dkrupp opened this issue Aug 29, 2017 · 0 comments
Closed
3 of 4 tasks

component filters #846

dkrupp opened this issue Aug 29, 2017 · 0 comments
Assignees
Labels
database 🗄️ Issues related to the database schema. enhancement 🌟 GUI 🎨
Milestone

Comments

@dkrupp
Copy link
Member

dkrupp commented Aug 29, 2017

A source component is a named collection of directories specified as directory filter (or multiple directory filters). For component definition use the skip file format https://github.com/Ericsson/codechecker/blob/master/docs/user_guide.md#skip-file

  • Components should be possible to be defined/removed from the command line
  • A new page will be created where components can be added/modified/deleted
  • A new "component" filter criteria will be added to the Report filter page
  • A new table will be introduced to store components

Example:
we have these directories

/src/prog/sub1
/src/prog/sub2
/src/prog/sub3

component1:

+/src/prog/* //LIKE "/src/prog/%"
-/src/prog/sub1/* //NOT LIKE "/src/prog/sub1/%"

so component1 matches to /src/prog/sub2 and /src/prog/sub3

component2:

+/src/prog/* //LIKE "/src/prog%"
-/src/prog/sub2/* //NOT LIKE "*/src/prog/sub2%"
-/src/prog/sub3/* //NOT LIKE "*/src/prog/sub3%"

if component1,component2 is checked

(component1) OR (component2)
component1: LIKE "/src/prog%" AND  NOT LIKE "/src/prog/sub1%"
component2:: LIKE "*/src/prog%" AND  NOT LIKE "*/src/prog/sub2%" AND  NOT LIKE "*/src/prog/sub3%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database 🗄️ Issues related to the database schema. enhancement 🌟 GUI 🎨
Projects
None yet
Development

No branches or pull requests

5 participants