mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
237 lines
18 KiB
Plaintext
237 lines
18 KiB
Plaintext
/** @defgroup metrics Code Metrics
|
|
|
|
@code{.cpp}
|
|
Code Metrics
|
|
================================================
|
|
NLOC CCN token PARAM length location
|
|
------------------------------------------------
|
|
3 1 13 1 4 QP::QEvt::QEvt@183-186@..\include\qep.hpp
|
|
7 1 27 2 7 QP::QEvt::QEvt@192-198@..\include\qep.hpp
|
|
2 1 6 0 3 QP::QEvt::~QEvt@204-206@..\include\qep.hpp
|
|
2 1 6 0 3 QP::QHsm::~QHsm@375-377@..\include\qep.hpp
|
|
3 1 17 1 3 QP::QHsm::init@406-408@..\include\qep.hpp
|
|
3 1 12 0 3 QP::QHsm::state@455-457@..\include\qep.hpp
|
|
3 1 11 0 3 QP::QHsm::getStateHandler@462-464@..\include\qep.hpp
|
|
4 1 18 1 4 QP::QHsm::tran@494-497@..\include\qep.hpp
|
|
4 1 18 1 4 QP::QHsm::tran_hist@500-503@..\include\qep.hpp
|
|
4 1 18 1 4 QP::QHsm::super@506-509@..\include\qep.hpp
|
|
4 1 30 1 4 QP::QHsm::qm_tran@513-516@..\include\qep.hpp
|
|
4 1 30 1 4 QP::QHsm::qm_tran_init@520-523@..\include\qep.hpp
|
|
8 1 42 2 8 QP::QHsm::qm_tran_hist@527-534@..\include\qep.hpp
|
|
4 1 30 1 4 QP::QHsm::qm_tran_ep@538-541@..\include\qep.hpp
|
|
8 1 40 2 8 QP::QHsm::qm_tran_xp@545-552@..\include\qep.hpp
|
|
4 1 20 1 4 QP::QHsm::qm_entry@557-560@..\include\qep.hpp
|
|
4 1 22 1 4 QP::QHsm::qm_entry@566-569@..\include\qep.hpp
|
|
4 1 20 1 4 QP::QHsm::qm_exit@575-578@..\include\qep.hpp
|
|
4 1 22 1 4 QP::QHsm::qm_exit@584-587@..\include\qep.hpp
|
|
4 1 20 1 4 QP::QHsm::qm_sm_exit@591-594@..\include\qep.hpp
|
|
4 1 20 1 4 QP::QHsm::qm_super_sub@598-601@..\include\qep.hpp
|
|
6 1 26 1 6 QP::QMsm::QMsm@687-692@..\include\qep.hpp
|
|
3 1 20 1 3 QP::QMsm::init@705-707@..\include\qep.hpp
|
|
3 1 12 0 3 QP::QMsm::stateObj@750-752@..\include\qep.hpp
|
|
3 1 14 0 3 QP::QMsm::getStateHandler@782-784@..\include\qep.hpp
|
|
3 1 10 0 3 QP::QEQueue::getNFree@289-291@..\include\qequeue.hpp
|
|
3 1 10 0 3 QP::QEQueue::getNMin@304-306@..\include\qequeue.hpp
|
|
3 1 12 0 3 QP::QEQueue::isEmpty@318-320@..\include\qequeue.hpp
|
|
5 2 24 0 8 QP::QPSet::setEmpty@234-241@..\include\qf.hpp
|
|
4 3 35 0 7 QP::QPSet::isEmpty@244-250@..\include\qf.hpp
|
|
4 3 35 0 7 QP::QPSet::notEmpty@253-259@..\include\qf.hpp
|
|
6 3 97 1 9 QP::QPSet::hasElement@262-270@..\include\qf.hpp
|
|
11 3 101 1 14 QP::QPSet::insert@273-286@..\include\qf.hpp
|
|
12 3 117 1 15 QP::QPSet::remove@289-303@..\include\qf.hpp
|
|
6 3 45 0 9 QP::QPSet::findMax@306-314@..\include\qf.hpp
|
|
9 1 49 5 9 QP::QActive::start@478-486@..\include\qf.hpp
|
|
3 1 10 0 3 QP::QActive::getPrio@711-713@..\include\qf.hpp
|
|
4 1 38 1 4 QP::QActive::setPrio@718-721@..\include\qf.hpp
|
|
3 1 9 0 3 QP::QActive::getOsObject@734-736@..\include\qf.hpp
|
|
3 1 9 0 3 QP::QActive::getThread@743-745@..\include\qf.hpp
|
|
5 1 20 1 5 QP::QMActive::QMActive@897-901@..\include\qf.hpp
|
|
3 1 12 0 3 QP::QMActive::stateObj@922-924@..\include\qf.hpp
|
|
3 1 10 0 3 QP::QTimeEvt::getAct@1118-1120@..\include\qf.hpp
|
|
3 1 10 0 3 QP::QTimeEvt::getCtr@1123-1125@..\include\qf.hpp
|
|
3 1 10 0 3 QP::QTimeEvt::getInterval@1128-1130@..\include\qf.hpp
|
|
3 1 16 0 3 QP::QTimeEvt::toActive@1187-1189@..\include\qf.hpp
|
|
3 1 16 0 3 QP::QTimeEvt::toTimeEvt@1192-1194@..\include\qf.hpp
|
|
6 1 23 2 6 QP::QF::psInit@1348-1353@..\include\qf.hpp
|
|
7 1 34 3 7 QP::QF::publish_@1360-1366@..\include\qf.hpp
|
|
6 1 26 2 6 QP::QF::tick_@1373-1378@..\include\qf.hpp
|
|
3 1 29 1 3 QP::QEvt_refCtr_inc_@112-114@..\include\qf_pkg.hpp
|
|
3 1 29 1 3 QP::QEvt_refCtr_dec_@117-119@..\include\qf_pkg.hpp
|
|
3 1 10 0 3 QP::QMPool::getNMin@263-265@..\include\qmpool.hpp
|
|
3 1 10 0 3 QP::QMPool::getNFree@275-277@..\include\qmpool.hpp
|
|
3 1 18 0 3 QP::QSpyId::getPrio@315-317@..\include\qs.hpp
|
|
7 1 28 1 7 QP::QS::force_cast@399-405@..\include\qs.hpp
|
|
14 3 70 1 14 QP::QS::rxPut@805-818@..\include\qs.hpp
|
|
9 1 49 5 9 QP::QActiveDummy::start@1517-1525@..\include\qs.hpp
|
|
3 1 18 0 3 QP::QSpyId::getPrio@134-136@..\include\qs_dummy.hpp
|
|
3 1 11 0 3 QP::QXThread::getTimeEvt@208-210@..\include\qxk.hpp
|
|
9 1 49 5 9 QP::QXThread::start@310-318@..\include\qxk.hpp
|
|
2 1 39 2 3 QP::QEvt@86-88@..\src\qf\qep_hsm.cpp
|
|
7 1 41 3 7 hsm_reservedEvt_@103-109@..\src\qf\qep_hsm.cpp
|
|
17 3 102 3 20 hsm_state_entry_@117-136@..\src\qf\qep_hsm.cpp
|
|
23 3 114 3 26 hsm_state_exit_@148-173@..\src\qf\qep_hsm.cpp
|
|
4 1 27 1 4 QP::QHsm::QHsm@183-186@..\src\qf\qep_hsm.cpp
|
|
50 7 325 2 73 QP::QHsm::init@189-261@..\src\qf\qep_hsm.cpp
|
|
103 15 609 2 158 QP::QHsm::dispatch@264-421@..\src\qf\qep_hsm.cpp
|
|
8 1 31 2 8 QP::QHsm::top@424-431@..\src\qf\qep_hsm.cpp
|
|
16 3 87 1 22 QP::QHsm::isIn@434-455@..\src\qf\qep_hsm.cpp
|
|
20 4 107 1 29 QP::QHsm::childState@458-486@..\src\qf\qep_hsm.cpp
|
|
90 15 487 2 132 QP::QHsm::hsm_tran@489-620@..\src\qf\qep_hsm.cpp
|
|
25 3 165 2 38 QP::QMsm::init@79-116@..\src\qf\qep_msm.cpp
|
|
116 21 658 2 168 QP::QMsm::dispatch@119-286@..\src\qf\qep_msm.cpp
|
|
13 3 59 1 14 QP::QMsm::isInState@289-302@..\src\qf\qep_msm.cpp
|
|
19 4 87 1 26 QP::QMsm::childStateObj@305-330@..\src\qf\qep_msm.cpp
|
|
51 9 294 2 62 QP::QMsm::execTatbl_@333-394@..\src\qf\qep_msm.cpp
|
|
22 4 107 3 29 QP::QMsm::exitToTranSource_@397-425@..\src\qf\qep_msm.cpp
|
|
44 6 227 2 55 QP::QMsm::enterHistory_@428-482@..\src\qf\qep_msm.cpp
|
|
82 14 410 3 120 QP::QActive::post_@77-196@..\src\qf\qf_actq.cpp
|
|
42 7 237 1 63 QP::QActive::postLIFO@204-266@..\src\qf\qf_actq.cpp
|
|
34 3 205 0 45 QP::QActive::get_@274-318@..\src\qf\qf_actq.cpp
|
|
10 2 72 1 11 QP::QF::getQueueMin@328-338@..\src\qf\qf_actq.cpp
|
|
5 1 30 1 6 QP::QTicker::QTicker@351-356@..\src\qf\qf_actq.cpp
|
|
8 1 34 2 8 QP::QTicker::init@359-366@..\src\qf\qf_actq.cpp
|
|
3 1 21 1 3 QP::QTicker::init@369-371@..\src\qf\qf_actq.cpp
|
|
16 2 81 2 18 QP::QTicker::dispatch@374-391@..\src\qf\qf_actq.cpp
|
|
30 3 166 3 42 QP::QTicker::post_@394-435@..\src\qf\qf_actq.cpp
|
|
15 1 79 2 17 QP::QActive::defer@70-86@..\src\qf\qf_defer.cpp
|
|
32 3 157 1 50 QP::QActive::recall@94-143@..\src\qf\qf_defer.cpp
|
|
11 3 62 1 13 QP::QActive::flushDeferred@151-163@..\src\qf\qf_defer.cpp
|
|
18 3 151 3 26 QP::QF::poolInit@97-122@..\src\qf\qf_dyn.cpp
|
|
41 7 282 3 57 QP::QF::newX_@125-181@..\src\qf\qf_dyn.cpp
|
|
35 5 257 1 57 QP::QF::gc@184-240@..\src\qf\qf_dyn.cpp
|
|
3 1 21 0 3 QP::QF::poolGetMaxBlockSize@243-245@..\src\qf\qf_dyn.cpp
|
|
19 2 104 2 26 QP::QF::newRef_@248-273@..\src\qf\qf_dyn.cpp
|
|
11 2 68 1 14 QP::QF::deleteRef_@276-289@..\src\qf\qf_dyn.cpp
|
|
10 3 77 1 12 QP::QF::getPoolMin@292-303@..\src\qf\qf_dyn.cpp
|
|
9 1 42 0 9 QP::QMPool::QMPool@71-79@..\src\qf\qf_mem.cpp
|
|
33 5 234 3 55 QP::QMPool::init@82-136@..\src\qf\qf_mem.cpp
|
|
43 4 208 2 71 QP::QMPool::get@139-209@..\src\qf\qf_mem.cpp
|
|
20 2 107 2 26 QP::QMPool::put@212-237@..\src\qf\qf_mem.cpp
|
|
3 1 12 0 3 QP::QMPool::getBlockSize@240-242@..\src\qf\qf_mem.cpp
|
|
9 1 44 2 9 QP::QActive::psInit@83-91@..\src\qf\qf_ps.cpp
|
|
42 6 238 3 71 QP::QActive::publish_@99-169@..\src\qf\qf_ps.cpp
|
|
16 5 108 1 20 QP::QActive::subscribe@177-196@..\src\qf\qf_ps.cpp
|
|
16 5 108 1 23 QP::QActive::unsubscribe@204-226@..\src\qf\qf_ps.cpp
|
|
19 5 127 0 25 QP::QActive::unsubscribeAll@234-258@..\src\qf\qf_ps.cpp
|
|
10 2 59 2 10 QP::QF::bzero@107-116@..\src\qf\qf_qact.cpp
|
|
9 4 65 1 17 QP::QActive::QActive@127-143@..\src\qf\qf_qact.cpp
|
|
30 10 198 0 46 QP::QActive::register_@151-196@..\src\qf\qf_qact.cpp
|
|
10 3 72 0 11 QP::QActive::unregister_@204-214@..\src\qf\qf_qact.cpp
|
|
24 6 158 1 29 QP::QPSet::QF_LOG2@225-253@..\src\qf\qf_qact.cpp
|
|
9 1 43 0 9 QP::QEQueue::QEQueue@71-79@..\src\qf\qf_qeq.cpp
|
|
14 2 74 2 14 QP::QEQueue::init@82-95@..\src\qf\qf_qeq.cpp
|
|
57 8 281 3 76 QP::QEQueue::post@98-173@..\src\qf\qf_qeq.cpp
|
|
36 5 174 2 46 QP::QEQueue::postLIFO@176-221@..\src\qf\qf_qeq.cpp
|
|
36 4 190 1 46 QP::QEQueue::get@224-269@..\src\qf\qf_qeq.cpp
|
|
7 1 41 2 7 QP::QMActive::init@78-84@..\src\qf\qf_qmact.cpp
|
|
4 1 33 1 4 QP::QMActive::init@87-90@..\src\qf\qf_qmact.cpp
|
|
6 1 32 2 6 QP::QMActive::dispatch@93-98@..\src\qf\qf_qmact.cpp
|
|
3 1 27 1 3 QP::QMActive::isInState@101-103@..\src\qf\qf_qmact.cpp
|
|
4 1 27 1 4 QP::QMActive::childStateObj@106-109@..\src\qf\qf_qmact.cpp
|
|
3 1 20 0 3 QP::QMActive::getStateHandler@113-115@..\src\qf\qf_qmact.cpp
|
|
18 2 101 3 34 QP::QTimeEvt::QTimeEvt@72-105@..\src\qf\qf_time.cpp
|
|
34 8 217 2 58 QP::QTimeEvt::armX@108-165@..\src\qf\qf_time.cpp
|
|
32 3 169 0 41 QP::QTimeEvt::disarm@168-208@..\src\qf\qf_time.cpp
|
|
33 8 217 1 58 QP::QTimeEvt::rearm@211-268@..\src\qf\qf_time.cpp
|
|
5 1 37 0 6 QP::QTimeEvt::wasDisarmed@271-276@..\src\qf\qf_time.cpp
|
|
72 7 396 2 112 QP::QTimeEvt::tick_@279-390@..\src\qf\qf_time.cpp
|
|
14 3 70 1 16 QP::QTimeEvt::noActive@393-408@..\src\qf\qf_time.cpp
|
|
13 1 50 0 27 QP::QTimeEvt::QTimeEvt@411-437@..\src\qf\qf_time.cpp
|
|
22 2 136 1 32 QP::QK::schedLock@76-107@..\src\qk\qk.cpp
|
|
20 4 129 1 32 QP::QK::schedUnlock@110-141@..\src\qk\qk.cpp
|
|
14 3 144 0 25 QP::QF::init@151-175@..\src\qk\qk.cpp
|
|
3 1 9 0 4 QP::QF::stop@178-181@..\src\qk\qk.cpp
|
|
15 4 62 0 25 QP::QF::run@184-208@..\src\qk\qk.cpp
|
|
25 3 146 6 34 QP::QActive::start@219-252@..\src\qk\qk.cpp
|
|
19 4 93 0 24 QK_sched_@265-288@..\src\qk\qk.cpp
|
|
65 17 428 0 112 QK_activate_@291-402@..\src\qk\qk.cpp
|
|
7 3 66 0 13 QP::QF::init@83-95@..\src\qv\qv.cpp
|
|
3 1 9 0 4 QP::QF::stop@98-101@..\src\qv\qv.cpp
|
|
38 10 197 0 75 QP::QF::run@104-178@..\src\qv\qv.cpp
|
|
18 1 114 6 25 QP::QActive::start@189-213@..\src\qv\qv.cpp
|
|
24 3 152 1 35 QP::QXK::schedLock@77-111@..\src\qxk\qxk.cpp
|
|
20 4 129 1 32 QP::QXK::schedUnlock@114-145@..\src\qxk\qxk.cpp
|
|
14 3 144 0 25 QP::QF::init@155-179@..\src\qxk\qxk.cpp
|
|
3 1 9 0 4 QP::QF::stop@182-185@..\src\qxk\qxk.cpp
|
|
17 4 84 0 29 QP::QF::run@188-216@..\src\qxk\qxk.cpp
|
|
29 5 159 6 40 QP::QActive::start@227-266@..\src\qxk\qxk.cpp
|
|
43 8 230 0 54 QXK_sched_@279-332@..\src\qxk\qxk.cpp
|
|
59 16 406 0 98 QXK_activate_@335-432@..\src\qxk\qxk.cpp
|
|
12 2 69 0 18 QXK_current@435-452@..\src\qxk\qxk.cpp
|
|
23 7 130 1 34 QXK_contextSw@456-489@..\src\qxk\qxk.cpp
|
|
14 2 110 0 23 QXK_threadExit_@493-515@..\src\qxk\qxk.cpp
|
|
3 1 15 0 3 QP::QXMutex::QXMutex@76-78@..\src\qxk\qxk_mutex.cpp
|
|
8 2 54 1 11 QP::QXMutex::init@81-91@..\src\qxk\qxk_mutex.cpp
|
|
61 9 422 0 95 QP::QXMutex::tryLock@94-188@..\src\qxk\qxk_mutex.cpp
|
|
81 11 599 1 133 QP::QXMutex::lock@191-323@..\src\qxk\qxk_mutex.cpp
|
|
77 12 578 0 129 QP::QXMutex::unlock@326-454@..\src\qxk\qxk_mutex.cpp
|
|
9 1 58 2 11 QP::QXSemaphore::init@76-86@..\src\qxk\qxk_sema.cpp
|
|
54 7 346 1 79 QP::QXSemaphore::wait@89-167@..\src\qxk\qxk_sema.cpp
|
|
27 3 131 0 38 QP::QXSemaphore::tryWait@170-207@..\src\qxk\qxk_sema.cpp
|
|
41 7 251 0 64 QP::QXSemaphore::signal@210-273@..\src\qxk\qxk_sema.cpp
|
|
9 1 56 2 9 QP::QXThread::QXThread@77-85@..\src\qxk\qxk_xthr.cpp
|
|
21 4 178 1 36 QP::QXThread::delay@88-123@..\src\qxk\qxk_xthr.cpp
|
|
14 2 57 0 16 QP::QXThread::delayCancel@126-141@..\src\qxk\qxk_xthr.cpp
|
|
58 7 429 1 86 QP::QXThread::queueGet@144-229@..\src\qxk\qxk_xthr.cpp
|
|
8 1 33 2 8 QP::QXThread::init@232-239@..\src\qxk\qxk_xthr.cpp
|
|
4 1 22 1 4 QP::QXThread::init@242-245@..\src\qxk\qxk_xthr.cpp
|
|
8 1 33 2 8 QP::QXThread::dispatch@248-255@..\src\qxk\qxk_xthr.cpp
|
|
30 7 191 6 49 QP::QXThread::start@258-306@..\src\qxk\qxk_xthr.cpp
|
|
96 15 480 3 133 QP::QXThread::post_@309-441@..\src\qxk\qxk_xthr.cpp
|
|
4 1 23 1 4 QP::QXThread::postLIFO@444-447@..\src\qxk\qxk_xthr.cpp
|
|
5 1 49 0 6 QP::QXThread::block_@450-455@..\src\qxk\qxk_xthr.cpp
|
|
8 3 58 0 9 QP::QXThread::unblock_@458-466@..\src\qxk\qxk_xthr.cpp
|
|
22 3 153 2 40 QP::QXThread::teArm_@469-508@..\src\qxk\qxk_xthr.cpp
|
|
11 2 41 0 14 QP::QXThread::teDisarm_@511-524@..\src\qxk\qxk_xthr.cpp
|
|
34 file analyzed.
|
|
==============================================================
|
|
NLOC Avg.NLOC AvgCCN Avg.token function_cnt file
|
|
--------------------------------------------------------------
|
|
6 0.0 0.0 0.0 0 ..\include\qassert.h
|
|
235 4.1 1.0 20.6 25 ..\include\qep.hpp
|
|
46 3.0 1.0 10.7 3 ..\include\qequeue.hpp
|
|
317 5.1 1.6 33.9 22 ..\include\qf.hpp
|
|
24 3.0 1.0 29.0 2 ..\include\qf_pkg.hpp
|
|
25 0.0 0.0 0.0 0 ..\include\qk.hpp
|
|
49 3.0 1.0 10.0 2 ..\include\qmpool.hpp
|
|
5 0.0 0.0 0.0 0 ..\include\qpcpp.hpp
|
|
397 8.2 1.5 41.2 4 ..\include\qs.hpp
|
|
5 0.0 0.0 0.0 0 ..\include\qstamp.cpp
|
|
4 0.0 0.0 0.0 0 ..\include\qstamp.hpp
|
|
25 3.0 1.0 18.0 1 ..\include\qs_dummy.hpp
|
|
25 0.0 0.0 0.0 0 ..\include\qs_pkg.hpp
|
|
9 0.0 0.0 0.0 0 ..\include\quit.hpp
|
|
8 0.0 0.0 0.0 0 ..\include\qv.hpp
|
|
121 6.0 1.0 30.0 2 ..\include\qxk.hpp
|
|
360 30.9 4.9 179.0 11 ..\src\qf\qep_hsm.cpp
|
|
307 41.4 7.1 228.1 7 ..\src\qf\qep_msm.cpp
|
|
2 0.0 0.0 0.0 0 ..\src\qf\qf_act.cpp
|
|
251 25.6 3.8 139.6 9 ..\src\qf\qf_actq.cpp
|
|
73 19.3 2.3 99.3 3 ..\src\qf\qf_defer.cpp
|
|
160 19.6 3.3 137.1 7 ..\src\qf\qf_dyn.cpp
|
|
119 21.6 2.6 120.6 5 ..\src\qf\qf_mem.cpp
|
|
127 20.4 4.4 125.0 5 ..\src\qf\qf_ps.cpp
|
|
122 16.6 5.0 110.4 5 ..\src\qf\qf_qact.cpp
|
|
163 30.4 4.0 152.4 5 ..\src\qf\qf_qeq.cpp
|
|
33 4.5 1.0 30.0 6 ..\src\qf\qf_qmact.cpp
|
|
233 27.6 4.1 157.1 8 ..\src\qf\qf_time.cpp
|
|
205 22.9 4.8 143.4 8 ..\src\qk\qk.cpp
|
|
85 16.5 3.8 96.5 4 ..\src\qv\qv.cpp
|
|
280 23.5 5.0 147.5 11 ..\src\qxk\qxk.cpp
|
|
241 46.0 7.0 333.6 5 ..\src\qxk\qxk_mutex.cpp
|
|
142 32.8 4.5 196.5 4 ..\src\qxk\qxk_sema.cpp
|
|
309 21.3 3.5 128.8 14 ..\src\qxk\qxk_xthr.cpp
|
|
|
|
=========================================================================================================
|
|
!!!! Warnings (cyclomatic_complexity > 20 or length > 500 or nloc > 1000000 or parameter_count > 10) !!!!
|
|
================================================
|
|
NLOC CCN token PARAM length location
|
|
------------------------------------------------
|
|
116 21 658 2 168 QP::QMsm::dispatch@119-286@..\src\qf\qep_msm.cpp
|
|
==========================================================================================
|
|
Total nloc Avg.NLOC AvgCCN Avg.token Fun Cnt Warning cnt Fun Rt nloc Rt
|
|
------------------------------------------------------------------------------------------
|
|
4513 18.0 3.2 107.2 178 1 0.01 0.04
|
|
@endcode
|
|
*/
|