| Run: | 44983364229 |
| Check: | PR #244989: modernize-macro-to-enum |
| Status: | ok |
| Time: | 5s |
| Warnings: | 61 (TP 61, FP 0, unclassified 0) |
| Source: | zeromq/libzmq/blob/46493370217ac135246617fa2f6ac819d8b61bfc |
None.
| Verdict | Location | Message |
|---|---|---|
| - | tests/test_proxy.cpp:9:1 | replace macro with enum |
| - | tests/test_proxy.cpp:9:9 | macro 'CONTENT_SIZE' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy.cpp:10:9 | macro 'CONTENT_SIZE_MAX' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy.cpp:11:9 | macro 'ROUTING_ID_SIZE' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy.cpp:12:9 | macro 'ROUTING_ID_SIZE_MAX' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy.cpp:13:9 | macro 'QT_WORKERS' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy.cpp:14:9 | macro 'QT_CLIENTS' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy.cpp:15:9 | macro 'is_verbose' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_hwm.cpp:33:1 | replace macro with enum |
| - | tests/test_proxy_hwm.cpp:33:9 | macro 'HWM' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_hwm.cpp:34:9 | macro 'NUM_BYTES_PER_MSG' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:10:1 | replace macro with enum |
| - | tests/test_proxy_steerable.cpp:10:9 | macro 'CONTENT_SIZE' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:11:9 | macro 'CONTENT_SIZE_MAX' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:12:9 | macro 'ROUTING_ID_SIZE' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:13:9 | macro 'ROUTING_ID_SIZE_MAX' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:14:9 | macro 'QT_WORKERS' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:15:9 | macro 'QT_CLIENTS' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:16:9 | macro 'is_verbose' defines an integral constant; prefer an enum instead |
| - | tests/test_proxy_steerable.cpp:17:9 | macro 'TEST_SLEEP_MS' defines an integral constant; prefer an enum instead |
| - | tests/test_srcfd.cpp:10:1 | replace macro with enum |
| - | tests/test_srcfd.cpp:10:9 | macro 'MSG_SIZE' defines an integral constant; prefer an enum instead |
| Verdict | Location | Message |
|---|---|---|
| TP | build/platform.hpp:21:1 | replace macro with enum |
| TP | build/platform.hpp:21:9 | macro 'HAVE_POSIX_MEMALIGN' defines an integral constant; prefer an enum instead |
| TP | build/platform.hpp:22:9 | macro 'ZMQ_CACHELINE_SIZE' defines an integral constant; prefer an enum instead |
| TP | perf/../include/zmq.h:15:1 | replace macro with enum |
| TP | perf/../include/zmq.h:15:9 | macro 'ZMQ_VERSION_MAJOR' defines an integral constant; prefer an enum instead |
| TP | perf/../include/zmq.h:16:9 | macro 'ZMQ_VERSION_MINOR' defines an integral constant; prefer an enum instead |
| TP | perf/../include/zmq.h:17:9 | macro 'ZMQ_VERSION_PATCH' defines an integral constant; prefer an enum instead |
| TP | perf/proxy_thr.cpp:41:1 | replace macro with enum |
| TP | perf/proxy_thr.cpp:41:9 | macro 'HWM' defines an integral constant; prefer an enum instead |
| TP | src/../include/zmq.h:15:1 | replace macro with enum |
| TP | src/../include/zmq.h:15:9 | macro 'ZMQ_VERSION_MAJOR' defines an integral constant; prefer an enum instead |
| TP | src/../include/zmq.h:16:9 | macro 'ZMQ_VERSION_MINOR' defines an integral constant; prefer an enum instead |
| TP | src/../include/zmq.h:17:9 | macro 'ZMQ_VERSION_PATCH' defines an integral constant; prefer an enum instead |
| TP | src/ctx.cpp:40:1 | replace macro with enum |
| TP | src/ctx.cpp:40:9 | macro 'ZMQ_CTX_TAG_VALUE_GOOD' defines an integral constant; prefer an enum instead |
| TP | src/ctx.cpp:41:9 | macro 'ZMQ_CTX_TAG_VALUE_BAD' defines an integral constant; prefer an enum instead |
| TP | src/msg.hpp:16:1 | replace macro with enum |
| TP | src/msg.hpp:16:9 | macro 'CMD_TYPE_MASK' defines an integral constant; prefer an enum instead |
| TP | src/options.hpp:28:1 | replace macro with enum |
| TP | src/options.hpp:28:9 | macro 'CURVE_KEYSIZE' defines an integral constant; prefer an enum instead |
| TP | src/options.hpp:30:9 | macro 'CURVE_KEYSIZE_Z85' defines an integral constant; prefer an enum instead |
| TP | src/udp_engine.hpp:10:1 | replace macro with enum |
| TP | src/udp_engine.hpp:10:9 | macro 'MAX_UDP_MSG' defines an integral constant; prefer an enum instead |
| TP | src/ws_engine.hpp:12:1 | replace macro with enum |
| TP | src/ws_engine.hpp:12:9 | macro 'WS_BUFFER_SIZE' defines an integral constant; prefer an enum instead |
| TP | src/ws_engine.hpp:13:9 | macro 'MAX_HEADER_NAME_LENGTH' defines an integral constant; prefer an enum instead |
| TP | src/ws_engine.hpp:14:9 | macro 'MAX_HEADER_VALUE_LENGTH' defines an integral constant; prefer an enum instead |
| TP | tests/../include/zmq.h:15:1 | replace macro with enum |
| TP | tests/../include/zmq.h:15:9 | macro 'ZMQ_VERSION_MAJOR' defines an integral constant; prefer an enum instead |
| TP | tests/../include/zmq.h:16:9 | macro 'ZMQ_VERSION_MINOR' defines an integral constant; prefer an enum instead |
| TP | tests/../include/zmq.h:17:9 | macro 'ZMQ_VERSION_PATCH' defines an integral constant; prefer an enum instead |
| TP | tests/test_fork.cpp:16:1 | replace macro with enum |
| TP | tests/test_fork.cpp:16:9 | macro 'NUM_MESSAGES' defines an integral constant; prefer an enum instead |
| TP | tests/test_router_mandatory_hwm.cpp:13:1 | replace macro with enum |
| TP | tests/test_router_mandatory_hwm.cpp:13:9 | macro 'TRACE_ENABLED' defines an integral constant; prefer an enum instead |
| TP | tests/test_setsockopt.cpp:82:1 | replace macro with enum |
| TP | tests/test_setsockopt.cpp:82:9 | macro 'BOUNDDEVBUFSZ' defines an integral constant; prefer an enum instead |
| TP | tests/test_shutdown_stress.cpp:14:1 | replace macro with enum |
| TP | tests/test_shutdown_stress.cpp:14:9 | macro 'THREAD_COUNT' defines an integral constant; prefer an enum instead |
| TP | tests/test_shutdown_stress_tipc.cpp:16:1 | replace macro with enum |
| TP | tests/test_shutdown_stress_tipc.cpp:16:9 | macro 'THREAD_COUNT' defines an integral constant; prefer an enum instead |
| TP | tests/test_stream.cpp:22:1 | replace macro with enum |
| TP | tests/test_stream.cpp:22:9 | macro 'ZMTP_DEALER' defines an integral constant; prefer an enum instead |
| TP | tests/testutil.hpp:35:1 | replace macro with enum |
| TP | tests/testutil.hpp:35:9 | macro 'SETTLE_TIME' defines an integral constant; prefer an enum instead |
| TP | tests/testutil.hpp:39:9 | macro 'MAX_SOCKET_STRING' defines an integral constant; prefer an enum instead |
| TP | tests/testutil.hpp:49:1 | replace macro with enum |
| TP | tests/testutil.hpp:49:9 | macro 'PORT_6' defines an integral constant; prefer an enum instead |
| TP | tests/testutil_unity.hpp:183:1 | replace macro with enum |
| TP | tests/testutil_unity.hpp:183:9 | macro 'MAX_TEST_SOCKETS' defines an integral constant; prefer an enum instead |
| TP | unittests/../tests/../include/zmq.h:15:1 | replace macro with enum |
| TP | unittests/../tests/../include/zmq.h:15:9 | macro 'ZMQ_VERSION_MAJOR' defines an integral constant; prefer an enum instead |
| TP | unittests/../tests/../include/zmq.h:16:9 | macro 'ZMQ_VERSION_MINOR' defines an integral constant; prefer an enum instead |
| TP | unittests/../tests/../include/zmq.h:17:9 | macro 'ZMQ_VERSION_PATCH' defines an integral constant; prefer an enum instead |
| TP | unittests/../tests/testutil.hpp:35:1 | replace macro with enum |
| TP | unittests/../tests/testutil.hpp:35:9 | macro 'SETTLE_TIME' defines an integral constant; prefer an enum instead |
| TP | unittests/../tests/testutil.hpp:39:9 | macro 'MAX_SOCKET_STRING' defines an integral constant; prefer an enum instead |
| TP | unittests/../tests/testutil.hpp:49:1 | replace macro with enum |
| TP | unittests/../tests/testutil.hpp:49:9 | macro 'PORT_6' defines an integral constant; prefer an enum instead |
| TP | unittests/../tests/testutil_unity.hpp:183:1 | replace macro with enum |
| TP | unittests/../tests/testutil_unity.hpp:183:9 | macro 'MAX_TEST_SOCKETS' defines an integral constant; prefer an enum instead |
Generated from 3ddf6fa37f.