Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8096

Add support for Crap4Net reports

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • crap4j-plugin
    • None

      The .NET equivalent of Crap4J is Crap4Net (http://crap4net.codeplex.com/).

      I'd like to extend the Hudson Crap4J plugin so it can also display results from Crap4Net. Below is an example XML report generated by Crap4Net.

      What is the best way to proceed?
      (a) Transform the Crap4Net XML to be the same as the Crap4J xml?
      (b) Extend Hudson Crap4J so it can import the Crap4Net format?

      Thanks!

      David

      -------Example Crap4Net report----------

      <?xml version="1.0" encoding="utf-8"?>
      <CrapReport>
      <Section Name="Methods">
      <Method Type="JsonSchemaUtilities" Name="BuildEnumSchema" Crap="7" />
      <Method Type="JsonSchemaUtilities" Name="BuildTypeSchema" Crap="10.17" />
      <Method Type="JsonSchemaUtilities" Name="BuildPropertyBase" Crap="9" />
      <Method Type="JsonSchemaUtilities" Name="GetXmlDocs" Crap="2.16" />
      <Method Type="JsonSchemaUtilities" Name="GetMemberNode" Crap="1" />
      <Method Type="JsonSchemaUtilities" Name="GetMemberNodes" Crap="1" />
      <Method Type="JsonSchemaUtilities" Name="ApplyTypedValue" Crap="14.57" />
      <Method Type="JsonSchemaUtilities" Name="ApplyDescription" Crap="2" />
      <Method Type="JsonSchemaUtilities" Name="ApplyPropertyAttribute" Crap="9.4" />
      <Method Type="JsonSchemaUtilities" Name="BuildPropertySchema" Crap="8" />
      <Method Type="JsonSchemaUtilities" Name="BuildParameterSchema" Crap="90" />
      <Method Type="JsonSchemaUtilities" Name="BuildSMDBase" Crap="2" />
      <Method Type="JsonSchemaUtilities" Name="BuildServiceMapping" Crap="380" />
      <Method Type="SchemaHandler" Name="ProcessRequest" Crap="56" />
      <Method Type="SchemaHandler" Name="get_IsReusable" Crap="2" />
      <Method Type="SchemaHandler" Name=".ctor" Crap="2" />
      <Method Type="SmdHandler" Name="ProcessRequest" Crap="20" />
      <Method Type="SmdHandler" Name="get_IsReusable" Crap="2" />
      <Method Type="SmdHandler" Name=".ctor" Crap="2" />
      </Section>
      </CrapReport>

            dlindner dlindner
            mrdavidlaing mrdavidlaing
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: