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

Add rule to remove debug library profiling function calls #162

Merged
merged 4 commits into from
Nov 26, 2023

Conversation

jeparlefrancais
Copy link
Contributor

@jeparlefrancais jeparlefrancais commented Nov 26, 2023

Closes #158

Add a new rule to remove calls to debug.profilebegin and debug.profileend functions.

  • rule docs
  • add entry to the changelog

Copy link

Coverage after merging remove-profiling-rule into main will be

86.94%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/rules
   mod.rs89.09%100%77.78%90.54%108–110, 114, 124–126, 144–146, 148, 179–181, 269, 310–311, 346–348, 411–413, 69
   remove_call_match.rs56.07%100%72.73%54.17%12, 140–149, 151, 155, 34–36, 57–58, 60–66, 68–77, 79–82, 87, 89, 97–99
   remove_debug_profiling.rs94.05%100%86.67%95.65%16

@jeparlefrancais jeparlefrancais merged commit 843ddeb into main Nov 26, 2023
@jeparlefrancais jeparlefrancais deleted the remove-profiling-rule branch November 26, 2023 23:05
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.

Add rule to remove debug.profilebegin and debug.profileend calls
1 participant