nickva commented on issue #496: Couchdb 3287 pluggable storage engines
URL: https://github.com/apache/couchdb/pull/496#issuecomment-305293259
 
 
   If anyone is curious here is the code coverage analysis for unit tests:
   
   To get this had to upgrade to latest meck repo. Otherwise meck and cover 
don't play well with each other.
   
   Also this includes tests themselves which makes number look a lot better 
than they are. But the good new is`couch_bt*`,  and `couch_db_engine` are 
covered pretty well
   
   ```
   Cover analysis: asf-pse/src/couch/.eunit/index.html
   
   Code Coverage:
   chttpd_endpoints_tests          :  98%
   couch                           :   0%
   couch_app                       :  75%
   couch_att                       :  76%
   couch_auth_cache                :  73%
   couch_base32                    :  96%
   couch_bt_engine                 :  89%
   couch_bt_engine_compactor       :  88%
   couch_bt_engine_header          :  82%
   couch_bt_engine_stream          :  88%
   couch_btree                     :  88%
   couch_changes                   :  65%
   couch_compaction_daemon         :  19%
   couch_compress                  :  84%
   couch_crypto                    :  41%
   couch_db                        :  66%
   couch_db_doc_tests              : 100%
   couch_db_engine                 :  76%
   couch_db_epi                    : 100%
   couch_db_header                 :  82%
   couch_db_mpr_tests              : 100%
   couch_db_plugin                 :  91%
   couch_db_updater                :  66%
   couch_debug                     :   0%
   couch_doc                       :  81%
   couch_doc_json_tests            :  95%
   couch_drv                       :  37%
   couch_ejson_compare             :  18%
   couch_emsort                    :  89%
   couch_etag_tests                : 100%
   couch_event_sup                 :   0%
   couch_external_manager          :  17%
   couch_external_server           :   0%
   couch_file                      :  84%
   couch_hotp                      :  85%
   couch_httpd                     :  65%
   couch_httpd_auth                :  40%
   couch_httpd_db                  :  36%
   couch_httpd_external            :   0%
   couch_httpd_handlers            : 100%
   couch_httpd_misc_handlers       :  10%
   couch_httpd_multipart           :  73%
   couch_httpd_oauth               :  41%
   couch_httpd_proxy               :  75%
   couch_httpd_rewrite             :  52%
   couch_httpd_vhost               :  80%
   couch_key_tree                  :  88%
   couch_lru                       : 100%
   couch_multidb_changes           :  93%
   couch_native_process            :   0%
   couch_os_daemons                :  70%
   couch_os_process                :  52%
   couch_passwords                 :  78%
   couch_primary_sup               : 100%
   couch_proc_manager              :  72%
   couch_query_servers             :  50%
   couch_secondary_sup             : 100%
   couch_server                    :  73%
   couch_stream                    :  90%
   couch_sup                       :  63%
   couch_task_status               :  90%
   couch_totp                      : 100%
   couch_users_db                  :   4%
   couch_util                      :  68%
   couch_uuids                     :  79%
   couch_work_queue                :  77%
   couchdb_attachments_tests       :  99%
   couchdb_auth_tests              :  96%
   couchdb_compaction_daemon_tests :  95%
   couchdb_cors_tests              : 100%
   couchdb_csp_tests               : 100%
   couchdb_design_doc_tests        : 100%
   couchdb_file_compression_tests  :  99%
   couchdb_http_proxy_tests        :  90%
   couchdb_location_header_tests   : 100%
   couchdb_mrview_cors_tests       : 100%
   couchdb_mrview_tests            :  98%
   couchdb_os_daemons_tests        :  98%
   couchdb_os_proc_pool            :  95%
   couchdb_update_conflicts_tests  :  97%
   couchdb_vhosts_tests            :  90%
   couchdb_views_tests             :  94%
   global_changes_tests            :  98%
   json_stream_parse_tests         : 100%
   test_engine_attachments         :  93%
   test_engine_compaction          :  96%
   test_engine_fold_changes        :  93%
   test_engine_fold_docs           : 100%
   test_engine_get_set_props       : 100%
   test_engine_open_close_delete   : 100%
   test_engine_purge_docs          : 100%
   test_engine_read_write_docs     : 100%
   test_engine_ref_counting        :  89%
   test_engine_util                :  91%
   test_request                    :  67%
   test_util                       :  71%
   test_web                        :  63%
   
   Total                           : 73%
   ==> rel (eunit)
   ==> asf-pse (eunit)
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to