3
I Use This!
Moderate Activity
Analyzed about 2 hours ago. based on code collected about 2 hours ago.

Project Summary

A unit testing framework for C with mocking. cmocka only requires a test application is linked with the standard C library which minimizes conflicts with standard C library headers. It is the successor (fork) of cmockery.

Tags

c development framework library mock mockfunctions mocking mock-object mockobject mockobjects software_development testing unit-testing unit_testing unittesting

Apache License 2.0
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Sub-License

Private Use

Use Patent Claims

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

State Changes

Include License

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

Project Security

Vulnerabilities per Version ( last 10 releases )

There are no reported vulnerabilities

Project Vulnerability Report

Security Confidence Index

Poor security track-record
Favorable security track-record

Vulnerability Exposure Index

Many reported vulnerabilities
Few reported vulnerabilities

Did You Know...

  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    anyone with an Open Hub account can update a project's tags
  • ...
    use of OSS increased in 65% of companies in 2016
  • ...
    search using multiple tags to find exactly what you need
About Project Security

Languages

C
59%
C++
28%
CMake
9%
6 Other
4%

30 Day Summary

Nov 30 2025 — Dec 30 2025

12 Month Summary

Dec 30 2024 — Dec 30 2025
  • 126 Commits
    Up + 82 (186%) from previous 12 months
  • 8 Contributors
    Down 0 (0%) from previous 12 months

Static Analysis ( Generated by Coverity Scan for cmocka )

Repository URL: https://git.cryptomilk.org/projects/cmocka.git

Version: cmocka-1.1.5-377-g557b7e7

2025-12-29
Last Analyzed
26,082
Lines of Code Analyze
0.27
Defect Density

Defects by status for current build

23
Total defects
7
Outstanding
8
Fixed

CWE Top 25 defects

ID CWE-Name Number of Defects
676 Use of Potentially Dangerous Function 7