I have just run tests on master branch with following commands:
coverage erase coverage run --source=neutron.plugins.ml2.drivers.openvswitch.agent -m unittest neutron.tests.unit.plugins.ml2.drivers.openvswitch.agent.test_ovs_neutron_agent coverage html coverage report -m
Produced coverage HTML is attached as tarball.
I had following report:
Name Stmts Miss Branch BrMiss Cover Missing ----------------------------------------------------------------------------------------------------------------------------- neutron/plugins/ml2/drivers/openvswitch/agent/__init__ 0 0 0 0 100% neutron/plugins/ml2/drivers/openvswitch/agent/common/__init__ 0 0 0 0 100% neutron/plugins/ml2/drivers/openvswitch/agent/common/config 13 0 0 0 100% neutron/plugins/ml2/drivers/openvswitch/agent/common/constants 35 0 0 0 100% neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/__init__ 0 0 0 0 100% neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/qos_driver 38 38 4 4 0% 15-76 neutron/plugins/ml2/drivers/openvswitch/agent/main 18 18 0 0 0% 18-47 neutron/plugins/ml2/drivers/openvswitch/agent/openflow/__init__ 0 0 0 0 100% neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/__init__ 0 0 0 0 100% neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/br_dvr_process 16 8 0 0 50% 44, 52, 59, 68, 75-80, 88-91 neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/br_int 53 34 12 12 29% 32-34, 37, 40-46, 49-53, 59-63, 67-70, 74-75, 83-84, 89, 97, 103, 110, 116-125, 130-132 neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/br_phys 20 9 2 2 50% 33-34, 37-45, 52, 55, 60 neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/br_tun 76 49 14 14 30% 55-137, 141-145, 153, 158, 161-162, 168-169, 173-174, 182-187, 192-197, 205-211, 217-218, 224-225, 230, 237, 241, 257-260 neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/main 9 9 0 0 0% 17-36 neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/ofswitch 58 20 16 8 62% 44-47, 50, 53, 56, 59, 65, 71, 77, 85-89, 92-93, 96-97, 107, 112 neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/ovs_bridge 8 3 0 0 63% 27-28, 31 neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent 392 69 136 45 78% 44, 86, 98, 140, 214, 240-248, 256-272, 320-325, 329-331, 336, 340-341, 356, 374-379, 385-387, 412-430, 469, 475, 488-489, 516-527, 539-542, 551, 566-569, 601, 611-612, 652, 657, 673, 678, 695-696 neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent 930 181 383 107 78% 90, 217, 258, 282, 372, 428, 432, 435-436, 438-440, 442, 451, 454-455, 458-459, 461-463, 481, 496, 524, 546, 556, 559-566, 597, 600-601, 604-606, 622, 631-635, 640-643, 653, 662, 674-675, 694-722, 809-813, 840, 889-901, 910, 920, 938, 956-960, 1039-1040, 1077-1078, 1091, 1190-1204, 1236, 1273, 1318-1342, 1355-1356, 1362-1379, 1419-1425, 1447-1476, 1505-1508, 1523-1530, 1544, 1566, 1573, 1621-1623, 1654, 1678-1685, 1717, 1721-1723, 1725-1730, 1754-1755, 1799-1804, 1808-1820 ----------------------------------------------------------------------------------------------------------------------------- TOTAL
I have just run tests on master branch with following commands:
coverage erase neutron. plugins. ml2.drivers. openvswitch. agent -m unittest neutron. tests.unit. plugins. ml2.drivers. openvswitch. agent.test_ ovs_neutron_ agent
coverage run --source=
coverage html
coverage report -m
Produced coverage HTML is attached as tarball.
I had following report:
Name Stmts Miss Branch BrMiss Cover Missing ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- plugins/ ml2/drivers/ openvswitch/ agent/_ _init__ 0 0 0 0 100% plugins/ ml2/drivers/ openvswitch/ agent/common/ __init_ _ 0 0 0 0 100% plugins/ ml2/drivers/ openvswitch/ agent/common/ config 13 0 0 0 100% plugins/ ml2/drivers/ openvswitch/ agent/common/ constants 35 0 0 0 100% plugins/ ml2/drivers/ openvswitch/ agent/extension _drivers/ __init_ _ 0 0 0 0 100% plugins/ ml2/drivers/ openvswitch/ agent/extension _drivers/ qos_driver 38 38 4 4 0% 15-76 plugins/ ml2/drivers/ openvswitch/ agent/main 18 18 0 0 0% 18-47 plugins/ ml2/drivers/ openvswitch/ agent/openflow/ __init_ _ 0 0 0 0 100% plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ __init_ _ 0 0 0 0 100% plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ br_dvr_ process 16 8 0 0 50% 44, 52, 59, 68, 75-80, 88-91 plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ br_int 53 34 12 12 29% 32-34, 37, 40-46, 49-53, 59-63, 67-70, 74-75, 83-84, 89, 97, 103, 110, 116-125, 130-132 plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ br_phys 20 9 2 2 50% 33-34, 37-45, 52, 55, 60 plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ br_tun 76 49 14 14 30% 55-137, 141-145, 153, 158, 161-162, 168-169, 173-174, 182-187, 192-197, 205-211, 217-218, 224-225, 230, 237, 241, 257-260 plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ main 9 9 0 0 0% 17-36 plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ ofswitch 58 20 16 8 62% 44-47, 50, 53, 56, 59, 65, 71, 77, 85-89, 92-93, 96-97, 107, 112 plugins/ ml2/drivers/ openvswitch/ agent/openflow/ ovs_ofctl/ ovs_bridge 8 3 0 0 63% 27-28, 31 plugins/ ml2/drivers/ openvswitch/ agent/ovs_ dvr_neutron_ agent 392 69 136 45 78% 44, 86, 98, 140, 214, 240-248, 256-272, 320-325, 329-331, 336, 340-341, 356, 374-379, 385-387, 412-430, 469, 475, 488-489, 516-527, 539-542, 551, 566-569, 601, 611-612, 652, 657, 673, 678, 695-696 plugins/ ml2/drivers/ openvswitch/ agent/ovs_ neutron_ agent 930 181 383 107 78% 90, 217, 258, 282, 372, 428, 432, 435-436, 438-440, 442, 451, 454-455, 458-459, 461-463, 481, 496, 524, 546, 556, 559-566, 597, 600-601, 604-606, 622, 631-635, 640-643, 653, 662, 674-675, 694-722, 809-813, 840, 889-901, 910, 920, 938, 956-960, 1039-1040, 1077-1078, 1091, 1190-1204, 1236, 1273, 1318-1342, 1355-1356, 1362-1379, 1419-1425, 1447-1476, 1505-1508, 1523-1530, 1544, 1566, 1573, 1621-1623, 1654, 1678-1685, 1717, 1721-1723, 1725-1730, 1754-1755, 1799-1804, 1808-1820 ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -------
------
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
neutron/
------
TOTAL