From dev-return-3558-archive-asf-public=cust-asf.ponee.io@singa.incubator.apache.org Mon Sep 2 15:11:05 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 022EB180658 for ; Mon, 2 Sep 2019 17:11:04 +0200 (CEST) Received: (qmail 17296 invoked by uid 500); 2 Sep 2019 16:27:24 -0000 Mailing-List: contact dev-help@singa.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.incubator.apache.org Delivered-To: mailing list dev@singa.incubator.apache.org Received: (qmail 17286 invoked by uid 99); 2 Sep 2019 16:27:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2019 16:27:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C9E1BC1D07 for ; Mon, 2 Sep 2019 15:11:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -112.999 X-Spam-Level: X-Spam-Status: No, score=-112.999 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2BkwBb94vMI7 for ; Mon, 2 Sep 2019 15:11:01 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=207.244.88.153; helo=mail.apache.org; envelope-from=jira@apache.org; receiver= Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with SMTP id B0035BC7A9 for ; Mon, 2 Sep 2019 15:11:01 +0000 (UTC) Received: (qmail 17266 invoked by uid 99); 2 Sep 2019 16:27:21 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2019 16:27:21 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A5ACDE30C0 for ; Mon, 2 Sep 2019 15:11:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 1EDB97822C4 for ; Mon, 2 Sep 2019 15:11:00 +0000 (UTC) Date: Mon, 2 Sep 2019 15:11:00 +0000 (UTC) From: "Moaz Reyad (Jira)" To: dev@singa.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SINGA-485) Code Coverage Analysis MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SINGA-485?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16920= 922#comment-16920922 ]=20 Moaz Reyad commented on SINGA-485: ---------------------------------- Currently the Travis CI configuration performs only the build but no test i= s enabled. It does not compile with=C2=A0{code:bash} ENABLE_TEST {code} opt= ion enabled. To perform code coverage analysis, we need to: * Enable the build of unit tests using -DENABLE_TEST=3DON * Run the unit tests Note that the current configuration is for C++ only since it has the line {= code:bash} language: cpp {code} It builds python and conda packages, but this does not help in the unit tes= t of C++ code. Later we need to add language:python to the travis build mat= rix and move the python build/test under that item. Any comments or discussion is welcome. > Code Coverage Analysis > ---------------------- > > Key: SINGA-485 > URL: https://issues.apache.org/jira/browse/SINGA-485 > Project: Singa > Issue Type: Improvement > Reporter: Moaz Reyad > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > SINGA development and testing can be improved by using a [code coverage|h= ttps://en.wikipedia.org/wiki/Code_coverage] tool. > Some Apache projects use [codecov|https://codecov.io/gh/apache?page=3D1],= while others use [coverall|https://coveralls.io/github/apache?page=3D1]. > This issue is open to choose a code coverage tool and add it to SINGA bui= ld and test pipeline. > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.2#803003)