Skip to content

Instantly share code, notes, and snippets.

@mbernasocchi
Created December 29, 2013 12:29
Show Gist options
  • Save mbernasocchi/8169931 to your computer and use it in GitHub Desktop.
Save mbernasocchi/8169931 to your computer and use it in GitHub Desktop.
Name Stmts Miss Cover Missing
-----------------------------------------------------------------------------------------------------------
safe 3 0 100%
safe.common 0 0 100%
safe.common.exceptions 39 0 100%
safe.common.geodesy 85 9 89% 70-71, 74-75, 130, 142-145
safe.common.interpolation 74 18 76% 48-52, 54-59, 61-65, 104-108, 111-113, 118-119, 124-127, 136-140
safe.common.interpolation1d 38 2 95% 81, 118
safe.common.interpolation2d 70 3 96% 105-109, 163
safe.common.numerics 77 1 99% 81
safe.common.polygon 520 52 90% 108, 112, 117, 129, 134, 138, 332, 348-352, 419, 421, 423, 510, 644, 649-652, 657, 661-664, 668, 672, 797, 801-804, 808, 812, 816-819, 823, 827, 838-841, 1320-1321, 1367-1370, 1374, 1379-1382, 1432-1435
safe.common.qgis_interface 73 32 56% 64-67, 71, 75, 80, 93-100, 114, 120, 126, 132, 136, 140, 144, 152, 159, 164-166, 172, 178, 184, 188, 195, 202
safe.common.shake_grid_converter 193 24 88% 99, 103, 241-243, 257, 306, 341, 374, 396-409, 464, 468, 478, 515, 540, 581-582
safe.common.tables 269 86 68% 153, 155, 160, 162, 164-165, 169, 226, 228, 231, 233, 239, 247, 249, 326, 345, 347, 349, 351, 360, 362, 364, 366, 368, 395, 444, 464-473, 477-490, 499, 504, 509, 515-577
safe.common.utilities 235 65 72% 48-49, 78, 117, 131-134, 174-176, 186-187, 206-217, 219-221, 224-225, 236-242, 252-253, 262-269, 277, 280-297, 334-335, 340, 396, 404, 443, 453, 456-457, 499-500, 528, 534
safe.common.version 48 11 77% 27-29, 32-34, 48, 54-55, 58-59, 78-79
safe.defaults 22 1 95% 70
safe.engine 0 0 100%
safe.engine.core 94 3 97% 88, 128, 186
safe.engine.interpolation 207 21 90% 124-130, 142, 203, 264-266, 297, 316-318, 608, 628-635, 637-640, 647, 650-653
safe.engine.utilities 1 0 100%
safe.impact_functions 18 2 89% 16-19
safe.impact_functions.core 366 34 91% 187-190, 211-212, 296-300, 316, 355, 409, 432, 468-475, 537-541, 573-577, 659, 745-747, 786, 813, 892, 900, 904
safe.impact_functions.earthquake 6 0 100%
safe.impact_functions.earthquake.earthquake_building_impact 102 24 76% 78, 106-125, 129-130, 148-149, 153-155, 159, 192
safe.impact_functions.earthquake.itb_building_impact_model 88 2 98% 102, 105
safe.impact_functions.earthquake.itb_earthquake_fatality_model 107 8 93% 238-241, 270, 290, 362-367
safe.impact_functions.earthquake.pager_earthquake_fatality_model 23 0 100%
safe.impact_functions.generic 6 0 100%
safe.impact_functions.generic.categorised_hazard_population 54 12 78% 82, 86, 93, 99, 106, 113, 130, 138, 148, 152-154, 166
safe.impact_functions.inundation 6 1 83% 9
safe.impact_functions.inundation.flood_OSM_building_impact 148 27 82% 125-129, 134, 137-158, 164, 168, 171, 173, 175, 177, 179-181, 243, 245, 270, 275
safe.impact_functions.inundation.flood_polygon_roads_experimental 51 38 25% 39, 52-130
safe.impact_functions.inundation.flood_population_evacuation 89 6 93% 142-143, 207-214
safe.impact_functions.inundation.flood_population_evacuation_polygon_hazard 120 16 87% 136-138, 144, 170-175, 181-198
safe.impact_functions.inundation.flood_road_impact_experimental 41 30 27% 32-109
safe.impact_functions.mappings 143 61 57% 99, 102-111, 118-124, 151-204, 270, 273-282, 348-384
safe.impact_functions.styles 42 32 24% 117-148, 190-208, 219-220, 232
safe.impact_functions.tephra 6 1 83% 9
safe.impact_functions.utilities 49 8 84% 17-19, 77-80, 102
safe.impact_functions.volcanic 6 0 100%
safe.impact_functions.volcanic.volcano_building_impact 108 20 81% 84-86, 92, 96-108, 131, 134-137, 183, 202-208
safe.impact_functions.volcanic.volcano_population_evacuation_polygon_hazard 124 9 93% 116-118, 124, 166, 169-172, 285-291
safe.messaging 22 0 100%
safe.messaging.error_message 95 6 94% 109, 115, 232-235
safe.messaging.example 1 0 100%
safe.messaging.item 4 0 100%
safe.messaging.item.abstract_list 23 3 87% 75, 89, 103
safe.messaging.item.bulleted_list 23 2 91% 64, 85
safe.messaging.item.cell 14 1 93% 77
safe.messaging.item.emphasized_text 13 0 100%
safe.messaging.item.exceptions 6 0 100%
safe.messaging.item.heading 32 5 84% 61-64, 79, 104
safe.messaging.item.image 18 0 100%
safe.messaging.item.important_text 13 0 100%
safe.messaging.item.line_break 11 0 100%
safe.messaging.item.link 19 2 89% 64, 81
safe.messaging.item.message_element 44 5 89% 64, 86, 100, 114, 128
safe.messaging.item.numbered_list 23 2 91% 63, 84
safe.messaging.item.paragraph 18 2 89% 64, 82
safe.messaging.item.row 34 6 82% 76, 109-114
safe.messaging.item.success_paragraph 20 4 80% 46-47, 64, 81
safe.messaging.item.table 31 2 94% 70, 106
safe.messaging.item.text 48 4 92% 76, 91, 111, 167
safe.messaging.message 56 4 93% 76-79, 93
safe.messaging.styles 13 0 100%
safe.postprocessors 9 0 100%
safe.postprocessors.abstract_postprocessor 47 9 81% 65, 82, 99, 138-140, 176-178
safe.postprocessors.age_postprocessor 86 24 72% 62, 70-76, 91, 131-132, 137-138, 158-159, 164-165, 185-186, 191-192, 212-213, 218-219
safe.postprocessors.aggregation_categorical_postprocessor 46 2 96% 65, 87
safe.postprocessors.aggregation_postprocessor 42 26 38% 32-33, 47, 60-68, 81-84, 97-98, 113-127
safe.postprocessors.building_type_postprocessor 82 47 43% 55, 83, 89-90, 95-97, 99-108, 126-133, 146-150, 165-174, 194-196, 199-200, 203-215
safe.postprocessors.gender_postprocessor 82 18 78% 58, 75, 116-117, 122-123, 143-144, 149-150, 172-173, 180-181, 207-208, 217-218
safe.postprocessors.minimum_needs_postprocessor 41 6 85% 59, 63-64, 80, 118-119
safe.postprocessors.postprocessor_factory 37 5 86% 77, 89-95
safe.storage 0 0 100%
safe.storage.clipping 4 0 100%
safe.storage.core 79 4 95% 114-116, 185
safe.storage.geometry 12 3 75% 9, 28-30
safe.storage.layer 58 2 97% 98, 104
safe.storage.projection 61 0 100%
safe.storage.raster 227 17 93% 144, 148, 158, 223-227, 232-233, 268-270, 328, 472, 475, 574-577, 596, 601
safe.storage.utilities 377 18 95% 118, 302, 366, 700, 708, 717, 742, 767, 824, 848, 868, 917, 1172, 1174, 1184-1185, 1192-1193
safe.storage.vector 442 27 94% 29, 286, 290, 316, 325, 333, 344, 354, 444-445, 457, 496, 505, 517, 560, 575-576, 639, 666, 671, 726-727, 761, 769, 801-802, 952
-----------------------------------------------------------------------------------------------------------
TOTAL 6064 915 85%
----------------------------------------------------------------------
Ran 226 tests in 891.371s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment