Improve code coverage of unit tests

Registered by Brad Hall

As with every project, our code test run/coverage numbers could certainly be improved. We should identify the offenders and either prune unnecessary code or add more tests to increase the coverage.

Blueprint information

Status:
Complete
Approver:
dan wendlandt
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
Accepted for essex
Implementation:
Unknown
Milestone target:
None
Completed by
dan wendlandt

Related branches

Sprints

Whiteboard

Current coverage numbers:

Name Stmts Miss Cover Missing
-------------------------------------------------------------
quantum 5 5 0% 1-5
quantum.api 28 0 100%
quantum.api.api_common 47 0 100%
quantum.api.attachments 48 6 88% 63-64, 74-77
quantum.api.faults 43 0 100%
quantum.api.networks 65 1 98% 143
quantum.api.ports 83 4 95% 126-127, 134-135
quantum.api.views 0 0 100%
quantum.api.views.attachments 10 0 100%
quantum.api.views.networks 23 1 96% 58
quantum.api.views.ports 13 0 100%
quantum.cli_lib 178 36 80% 86, 139-152, 182-183, 194-195, 208-209, 225-226, 238-239, 252-253, 265-267, 288-289, 306-307, 321-322, 334-335
quantum.client 145 15 90% 123-126, 132-135, 156, 164, 174, 188, 208-210, 228, 232
quantum.common 0 0 100%
quantum.common.config 118 69 42% 62-64, 74-90, 100-120, 131-179, 204-205, 263, 268-269, 298-299, 306-323
quantum.common.exceptions 74 19 74% 55-61, 71-73, 159-170
quantum.common.extensions 269 33 88% 69, 77, 85, 93, 102, 110-111, 119-120, 128-129, 137, 209, 212, 272-274, 338-343, 367-370, 379-382, 391-394, 439-443, 446-447, 459
quantum.common.flags 135 59 56% 52-91, 94-97, 101, 107, 113-122, 127, 130-132, 136, 142, 156-160, 182, 201, 203, 237-240
quantum.common.serializer 98 33 66% 28-29, 43-44, 54-55, 100, 112, 114-130, 134-141, 145
quantum.common.utils 168 112 33% 49-55, 60-65, 69-86, 92-94, 114, 127-132, 142-144, 149-154, 158-166, 170-190, 194, 201-210, 215-216, 220-224, 231, 237-239, 243, 247-249, 253, 257-259, 266-268, 271-286, 289-290
quantum.db 0 0 100%
quantum.db.api 140 10 93% 79-80, 94, 157-158, 221, 228, 263, 268-269
quantum.db.models 51 13 75% 41, 44-45, 48-49, 53-54, 59-63, 84, 103
quantum.manager 41 10 76% 43-46, 56, 59, 64, 71-72, 77
quantum.plugins 5 3 40% 3-5
quantum.plugins.SamplePlugin 138 22 84% 43, 50, 57, 64, 67, 74, 80, 89, 95, 102, 109, 116, 121, 150, 154-156, 162, 219, 292-293, 309
quantum.quantum_plugin_base 47 14 70% 54, 70, 85, 103, 119, 138, 152, 168, 186, 205, 219, 231, 257, 259
quantum.wsgi 243 68 72% 44-45, 48, 53-54, 61, 65-66, 70-73, 77-78, 102, 106, 110-114, 136, 181, 217, 228-241, 249-254, 267, 373-374, 413-414, 439-440, 461, 466, 497, 501-506, 509-512, 519-526
-------------------------------------------------------------
TOTAL 2215 533 76%
----------------------------------------------------------------------

ugh.. so much for fixed width fonts.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.