Details
Description
CxxLineCounter loops on file using file readers, but doesn't close them once done. On very large projects (several thousands of files and millions of lines of codes) we quickly run out of descriptors and the line counter fails without failing the sonar build, giving a erroneous report
Patch provided in attachment with some additional logging
Activity
Waleri Enns
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Waleri Enns [ wenns ] | |
| Fix Version/s | CXX-0.1 [ 18353 ] | |
| Resolution | Fixed [ 1 ] |
Waleri Enns
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Thanks for the patch.
Should be fixed with revision 5282. Can you please test and close the issue of the bug is gone?