| 159 | |
| 160 | |
| 161 | static void module_stat( struct hash * hp, OBJECT * module, const char * name ) |
| 162 | { |
| 163 | if ( hp ) |
| 164 | { |
| 165 | struct hashstats stats[ 1 ]; |
| 166 | string id[ 1 ]; |
| 167 | hashstats_init( stats ); |
| 168 | string_new( id ); |
| 169 | string_append( id, object_str( module ) ); |
| 170 | string_push_back( id, ' ' ); |
| 171 | string_append( id, name ); |
| 172 | |
| 173 | hashstats_add( stats, hp ); |
| 174 | hashstats_print( stats, id->value ); |
| 175 | |
| 176 | string_free( id ); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | |
| 181 | static void class_module_stat( struct hashstats * stats, OBJECT * module, const char * name ) |
no test coverage detected