Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Socorro Coverage
Name Stmts Miss Cover Missing
-------------------------------------------------------------------------------------------
socorro 0 0 100%
socorro.app 0 0 100%
socorro.app.fetch_transform_save_app 73 10 86% 118-124, 127-133, 136-137, 155, 159
socorro.app.generic_app 78 8 90% 129, 160-161, 204-211
socorro.collector 0 0 100%
socorro.collector.collector_app 26 1 96% 111
socorro.collector.crashmover_app 10 1 90% 22
socorro.collector.throttler 88 5 94% 102, 136-137, 162-163
socorro.collector.wsgi_bixie_collector 28 0 100%
socorro.collector.wsgi_breakpad_collector 46 2 96% 76-77
socorro.cron 0 0 100%
socorro.cron.base 115 3 97% 140-144
socorro.cron.crontabber 419 27 94% 152-155, 229, 233, 237, 274, 324, 330-331, 338, 506-519, 624, 730-732
socorro.cron.jobs 0 0 100%
socorro.cron.jobs.automatic_emails 76 49 36% 16, 100-101, 107-126, 130-192, 195-204
socorro.cron.jobs.bugzilla 87 0 100%
socorro.cron.jobs.cleanup_radix 28 3 89% 49, 54-57
socorro.cron.jobs.daily_url 151 2 99% 301, 334
socorro.cron.jobs.ftpscraper 193 29 85% 39-43, 70, 91-92, 99, 138, 178, 211, 225-227, 272, 295-313
socorro.cron.jobs.matviews 102 0 100%
socorro.cron.jobs.modulelist 47 3 94% 76, 89, 102
socorro.cron.jobs.weekly_reports_partitions 11 0 100%
socorro.database 0 0 100%
socorro.database.cachedIdAccess 104 16 85% 67, 70, 99-100, 110-121
socorro.database.database 135 38 72% 52-68, 102-116, 136-137, 146-147, 173-175, 208-211
socorro.database.postgresql 45 2 96% 24-29
socorro.database.schema 386 165 57% 31, 33, 35-40, 61-64, 71, 76, 81, 133, 136, 139, 162, 203-225, 236-245, 250, 253-260, 263-287, 362-366, 373, 377-379, 409, 443-468, 489-491, 514-516, 585, 591-592, 604-608, 643, 647-648, 652-656, 680, 714-718, 773-775, 809-811, 839-841, 867-869, 1091-1093, 1105-1107, 1119-1131, 1148-1157
socorro.database.transaction_executor 66 0 100%
(deprecated) socorro.deferredcleanup 0 0 100%
socorro.external 11 0 100%
socorro.external.crashstorage_base 270 61 77% 143, 152, 190, 198, 206, 214, 222, 495-498, 507-510, 519-522, 531-534, 542-545, 553-556, 563-566, 646-649, 659-662, 671-674, 683-686, 694-697, 705-708, 715, 746
socorro.external.elasticsearch 0 0 100%
socorro.external.elasticsearch.base 162 26 84% 91-92, 111-112, 143, 150, 168, 172, 176, 180, 190-217, 234, 236, 241, 243, 254, 278, 287, 304, 366
socorro.external.elasticsearch.crashstorage 85 16 81% 93, 112-114, 125, 144-147, 149-152, 154-157, 174, 193-196, 223, 227
socorro.external.elasticsearch.search 128 86 33% 23-25, 28-29, 32-33, 45-95, 101-169, 180-189, 223-277, 312-318
socorro.external.exacttarget 0 0 100%
socorro.external.exacttarget.exacttarget 227 193 15% 52-65, 70-71, 78-83, 91-98, 105-107, 110, 117-165, 169-199, 203-228, 235-265, 269-288, 296, 300, 304-336, 340-362
(deprecated) socorro.external.filesystem 0 0 100%
(deprecated) socorro.external.filesystem.crash_data 30 0 100%
(deprecated) socorro.external.filesystem.crashstorage 179 26 85% 132, 142-143, 166-167, 181, 201-202, 264-268, 304-306, 311-316, 433-439, 462-463, 483, 491
(deprecated) socorro.external.filesystem.dump_storage 170 15 91% 91-95, 156-159, 164, 166, 171, 201, 214-215, 280, 343
(deprecated) socorro.external.filesystem.filesystem 62 4 94% 88, 92, 167-168
(deprecated) socorro.external.filesystem.json_dump_storage 261 59 77% 85, 162-168, 191-199, 210-222, 303-307, 310-314, 339, 349-351, 363, 433-438, 440-441, 452-457, 459, 480-481, 486, 496-497, 503-504, 511-512, 528-529
(deprecated) socorro.external.filesystem.processed_dump_storage 60 9 85% 87-96, 100, 142
socorro.external.fs 0 0 100%
socorro.external.fs.crashstorage 266 35 87% 17-18, 116-126, 144, 213, 270-272, 304-305, 408-410, 454-455, 488-492, 505-508, 517-518, 529-530, 591-592, 611-617
socorro.external.hb 0 0 100%
socorro.external.hb.connection_context 73 13 82% 21-22, 25, 28, 31-37, 40, 116, 141
socorro.external.hb.crashstorage 252 91 64% 38-39, 47-50, 65, 109-116, 140, 163-165, 221-237, 259-260, 273-281, 287-290, 322, 325-344, 349-370, 374-377, 396-402, 416-424, 440, 444, 459-464, 475-483, 517-519, 521, 526-529, 538
(deprecated) socorro.external.hbase 0 0 100%
(deprecated) socorro.external.hbase.connection_context 68 12 82% 133, 140, 153, 157, 198-207
(deprecated) socorro.external.hbase.crash_data 39 28 28% 26-27, 31-82
(deprecated) socorro.external.hbase.crashstorage 62 15 76% 53, 99, 131-147, 157-159, 163-164, 191
(deprecated) socorro.external.hbase.hbase_client 626 380 39% 35, 69, 90-94, 107-119, 127-175, 201-202, 205-206, 234, 252, 255-256, 265-268, 319-320, 382, 444-448, 478-484, 511-517, 523-532, 538-547, 553-558, 565-578, 586-591, 598-613, 622-647, 652-681, 689-703, 712-749, 752-753, 757-766, 771-781, 785-789, 809-815, 843-848, 917-918, 926, 944-956, 963-980, 987-1050, 1062-1115, 1122-1131, 1135-1313
socorro.external.http 0 0 100%
socorro.external.http.correlations 122 7 94% 75-78, 117, 139, 145
socorro.external.postgresql 0 0 100%
socorro.external.postgresql.base 173 5 97% 162, 281, 309, 342, 367
socorro.external.postgresql.bugs 29 3 90% 21-23
socorro.external.postgresql.connection_context 41 1 98% 129
socorro.external.postgresql.crash 22 0 100%
socorro.external.postgresql.crash_trends 18 4 78% 53-66
socorro.external.postgresql.crashes 184 5 97% 226-227, 306, 308, 333
socorro.external.postgresql.crashstorage 110 23 79% 125-140, 148, 155-163, 208-223, 237, 247-251, 304-305
socorro.external.postgresql.crontabber_state 13 0 100%
socorro.external.postgresql.dbapi2_util 36 0 100%
socorro.external.postgresql.error 22 1 95% 28
socorro.external.postgresql.extensions 18 0 100%
socorro.external.postgresql.fakedata 240 144 40% 18-24, 31-37, 44-313, 329, 334-339, 342-344, 348-355, 388-390, 408-413, 423-442, 461-486, 525-604, 687-690
socorro.external.postgresql.field 21 0 100%
socorro.external.postgresql.job 24 0 100%
socorro.external.postgresql.models 944 52 94% 24-25, 35, 38-40, 43-45, 48, 54, 57-59, 62-64, 67, 74, 77-79, 82-84, 87, 94, 97-99, 102-104, 107, 114, 117-119, 122-124, 127, 134, 137-139, 142-144, 147, 1620-1627
socorro.external.postgresql.platforms 12 0 100%
socorro.external.postgresql.priorityjobs 48 5 90% 88-92, 100
socorro.external.postgresql.products 68 0 100%
socorro.external.postgresql.products_builds 59 12 80% 88, 128-130, 172, 184-193
socorro.external.postgresql.releases 57 6 89% 75, 96-100
socorro.external.postgresql.report 88 23 74% 38, 161-162, 209-233, 239-248, 254-260
socorro.external.postgresql.search 96 7 93% 23-25, 28-29, 152-153
socorro.external.postgresql.server_status 24 1 96% 71
socorro.external.postgresql.setupdb_app 251 191 24% 35-42, 45-50, 53, 57-66, 69-70, 74-83, 86-95, 98-101, 104, 109-110, 115-125, 130-146, 186-256, 259, 262-264, 267, 270, 390-418, 427-526, 529
socorro.external.postgresql.signature_summary 78 41 47% 57-60, 80-82, 90, 98, 135-199, 204-205, 214-253
socorro.external.postgresql.signature_urls 51 2 96% 35-36
socorro.external.postgresql.tcbs 106 7 93% 51, 164, 235-236, 246-247, 257
socorro.external.postgresql.util 41 10 76% 94-117
socorro.external.rabbitmq 0 0 100%
socorro.external.rabbitmq.connection_context 87 7 92% 61, 65, 223, 230, 239, 289-290
socorro.external.rabbitmq.crashstorage 57 24 58% 93, 113-126, 138-165
socorro.external.rabbitmq.rmq_new_crash_source 15 1 93% 29
socorro.lib 0 0 100%
(will be deprecated) socorro.lib.ConfigurationManager 283 79 72% 191-192, 199, 221-222, 235-236, 258-259, 277-278, 286, 290-293, 323, 331-336, 361-362, 364, 380-389, 395-399, 417-424, 430, 455-457, 463-476, 481-517
socorro.lib.buildutil 19 5 74% 20, 55-58
socorro.lib.datetimeutil 47 3 94% 25, 72, 94
(deprecated) socorro.lib.dynamicConfigurationManager 105 54 49% 33-41, 60-73, 76-85, 128, 137-139, 148-151, 165-168, 178-181, 184, 188-193
socorro.lib.external_common 57 7 88% 46, 90-91, 96-97, 111-112
socorro.lib.httpclient 29 16 45% 21, 25, 34-46, 51-52, 57-62, 67-68, 73-74
socorro.lib.iteratorWorkerFramework 107 15 86% 38-42, 96-100, 108-109, 156, 161-163
socorro.lib.ooid 42 1 98% 63
socorro.lib.prioritize 100 3 97% 133-135
socorro.lib.psycopghelper 103 21 80% 61-62, 70-71, 95, 106-108, 129-141, 153-154
socorro.lib.search_common 42 2 95% 130, 132
socorro.lib.statistics 34 3 91% 60, 79, 81
socorro.lib.threaded_task_manager 155 40 74% 52, 177-183, 196, 216-224, 238-249, 269-273, 321-322, 330-331, 403, 414-420
(deprecated) socorro.lib.threadlib 39 8 79% 129-136
socorro.lib.transform_rules 107 13 88% 25, 82-85, 134, 178, 191, 205, 219, 229, 246, 259, 275
socorro.lib.util 153 39 75% 27-28, 32, 71-81, 85-87, 99, 110-111, 143-144, 148-152, 194-197, 208-218
socorro.lib.uuid 256 161 37% 127, 132, 136, 139-156, 160, 162-169, 173-175, 178, 181, 184, 187, 195-198, 203, 209, 214, 219, 224, 229, 234, 240, 246, 251, 256, 261-268, 274-275, 281-291, 295-312, 317-340, 356-357, 373-374, 378-379, 383-384, 388-389, 400-415, 429-444, 449-451, 462-468, 472-474
socorro.lib.ver_tools 67 4 94% 45-46, 131-132
socorro.middleware 0 0 100%
socorro.middleware.middleware_app 187 8 96% 384-385, 414, 444-447, 549
socorro.middleware.service 55 13 76% 59-61, 142-151
socorro.monitor 0 0 100%
socorro.processor 0 0 100%
(deprecated) socorro.processor.externalProcessor 209 136 35% 79-88, 99-108, 140-166, 180-202, 238-313, 332, 369-421, 436-451
socorro.processor.legacy_new_crash_source 93 21 77% 64-76, 80-100, 104-109, 150, 157, 235-242, 252, 256
socorro.processor.legacy_processor 531 150 72% 207, 264-266, 293-294, 498-500, 516, 556-557, 562-566, 571, 581-582, 586-587, 616-620, 633, 681-688, 767, 770-774, 804-805, 830, 864, 868-870, 887-888, 895-896, 901-905, 931-955, 997-1054, 1068-1085, 1101-1107, 1137-1140, 1148, 1152-1160, 1164-1172, 1188-1193, 1208-1209, 1222-1225, 1228, 1257-1260, 1291, 1304-1307, 1319-1327
(deprecated) socorro.processor.processor 548 124 77% 115, 133-134, 182-185, 189, 194-209, 213-237, 247-254, 261-288, 351, 416, 491-495, 546-547, 552-553, 562-563, 567-568, 572-573, 578, 580, 593, 618, 649-650, 653-654, 668, 672-674, 676-679, 685-687, 692, 709-711, 798-800, 803-804, 811-813, 817-827, 908-913, 925, 966-969, 1010-1011, 1041, 1068-1070
socorro.processor.processor_app 54 5 91% 100, 107, 175-176, 180
(deprecated) socorro.processor.registration 113 17 85% 127-132, 210-227
socorro.processor.registration_client 119 25 79% 36-37, 45, 49, 295-312, 342-357, 458-459
(deprecated) socorro.processor.signatureUtilities 110 8 93% 124-137
socorro.processor.signature_utilities 144 10 93% 60, 155-168, 537
(deprecated) socorro.services 0 0 100%
(deprecated) socorro.services.emailCampaignCreate 114 50 56% 7-8, 66-102, 129-130, 189, 191-195, 199-201, 217-231
(deprecated) socorro.services.emailSender 137 84 39% 7-8, 61-115, 138-141, 154-158, 167-179, 184-230, 235-242, 247-254
(deprecated) socorro.services.sighistory 0 0 100%
socorro.storage 0 0 100%
(deprecated) socorro.storage.crashstorage 200 81 60% 39, 50, 54-58, 62-68, 72, 76, 80, 84, 88-92, 96, 100-104, 108-109, 115-144, 150-167, 233-234, 259-260, 317, 321-326, 331-332
(deprecated) socorro.storage.storageMover 58 39 33% 7-8, 33-41, 46-67, 81-87
socorro.webapi 0 0 100%
socorro.webapi.classPartial 6 0 100%
socorro.webapi.servers 43 8 81% 25, 40, 58, 62, 67-69, 93
socorro.webapi.webapiService 85 56 34% 23, 36-38, 62-82, 85, 96-111, 114, 125-136, 139
----------------------------------------------------------------------------------
TOTAL 13051 3324 75%
----------------------------------------------------------------------
Ran 636 tests in 36.784s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment