buildframework/helium/tools/common/templates/coverity/coverity.summary.xml.ftl
changeset 648 d5a8d436d33b
parent 647 53d1ab72f5bc
parent 645 b8d81fa19e7d
child 649 02d78c9f018e
equal deleted inserted replaced
647:53d1ab72f5bc 648:d5a8d436d33b
     1 <#--
       
     2 ============================================================================ 
       
     3 Name        : coverity.summary.xml.ftl 
       
     4 Part of     : Helium 
       
     5 
       
     6 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     7 All rights reserved.
       
     8 This component and the accompanying materials are made available
       
     9 under the terms of the License "Eclipse Public License v1.0"
       
    10 which accompanies this distribution, and is available
       
    11 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    12 
       
    13 Initial Contributors:
       
    14 Nokia Corporation - initial contribution.
       
    15 
       
    16 Contributors:
       
    17 
       
    18 Description:
       
    19 
       
    20 ============================================================================
       
    21 --> 
       
    22 <?xml version="1.0" encoding="utf-8"?>
       
    23 <coverity>
       
    24     <#assign htmlString = covsummary?replace("["," ")>
       
    25     <#assign htmlString = htmlString?replace("]"," ")>
       
    26     <#list htmlString?split(",") as line>
       
    27         <#if !line?contains("cov-analyze") && !line?starts_with("---") && !line?contains("summary") && !line?contains("defects") >
       
    28             <#assign words = line?split(":")>
       
    29             <#if words[1]??>
       
    30                 <#assign firstword=words[0]?trim secondword=words[1]?trim>
       
    31 <summary message="${firstword}" value="${secondword}"/> 
       
    32             </#if>
       
    33         </#if>
       
    34     </#list>
       
    35 </coverity>
       
    36