Skip to content

Added option exclude symbols#35

Merged
psycofdj merged 3 commits intopsycofdj:masterfrom
Sidelobe:feature/exclude-symbols
Feb 12, 2026
Merged

Added option exclude symbols#35
psycofdj merged 3 commits intopsycofdj:masterfrom
Sidelobe:feature/exclude-symbols

Conversation

@Sidelobe
Copy link
Contributor

@Sidelobe Sidelobe commented Feb 7, 2026

Hi Xavier

I've been using coverxygen for some years in a "documentation coverage gate" in build pipelines. Since I did not want this gate to annoy devs and force them to write docu for self-evident functions -- commenting "this is the default constructor" does not add any value.

Therefore, I've extended coverxygen to support a new --excludesymbols option.
As another example, I'm using this regex to exclude any function that starts with get, set, is, has, can: .*[:|_][get|set|is|has|can]([A-Za-z0-9_-]+)\(.*\).*

I've added relatively thorough tests that use your class.xml test data and have updated the README with the output from --help.

Let me know if I missed anything,
Lorenz

@psycofdj psycofdj merged commit 2773905 into psycofdj:master Feb 12, 2026
0 of 2 checks passed
@Sidelobe
Copy link
Contributor Author

Awesome 🥳
thanks for fixing the CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants