Coverity Scan: Bro

Project Name Bro
Lines of code analyzed 1,378,330
On Coverity Scan since Jul 24, 2013
Last build analyzed 1 day ago
   
Language C/C++
Repository URL https://github.com/zeek/zeek
Homepage URL https://zeek.org
License BSD3Clause (BSD 3-Clause "New" or "Revised" License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 9.0.0-dev.506

Jun 29, 2026
Last Analyzed
1,378,330
Lines of Code Analyzed
613,135
Lines of Code in Selected Components
1.01
Defect Density

Defect changes since previous build dated Jun 26, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

5,310
Total defects
618
Outstanding
4,108
Fixed
See how defect density for 'Bro' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
System files /usr/.* Yes 266,688 N/A
Third party .*/3rdparty/.* Yes 415,467 N/A
CAF .*/aux.*/broker/caf/.* Yes 69,832 N/A
RapidJSON .*/aux.*/rapidjson/.* Yes 7,364 N/A
HighwayHash .*/aux.*/highwayhash/.* Yes 3,998 N/A
BIFCL .*/aux.*/bifcl/.* No 0 N/A
BinPAC .*/aux.*/binpac/.* No 0 N/A
Broker .*/aux.*/broker/.* No 25,024 2.20
Paraglob .*/aux.*/paraglob/.* No 636 4.72
Zeek Auxiliary .*/aux.*/zeek-aux/.* No 1,008 4.96
Capstats .*/aux.*/zeekctl/aux.*/capstats/.* No 500 0.00
PySubnetTree .*/aux.*/zeekctl/aux.*/pysubnettree/.* No 6,132 0.33
Trace Summary .*/aux.*/zeekctl/aux.*/trace-summary/.* No 0 N/A
Gen-ZAM .*/aux.*/gen-zam/.* No 0 N/A
Libunistd .*/aux.*/libunistd/.* Yes 0 N/A
Prometheus-cpp .*/aux.*/prometheus-cpp/.* Yes 0 N/A
Libkqueue .*/aux.*/libkqueue/.* Yes 0 N/A
C-Ares .*/aux.*/c-ares/.* Yes 0 N/A
Spicy .*/spicy/.* No 101,186 0.36
Lightpcapng .*/aux.*/LightPcapNg/.* Yes 1,846 N/A
Other .* No 478,653 1.08

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 23
676 Use of Potentially Dangerous Function 2
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project