← Back to team overview

openstack team mailing list archive

Re: wsgi code duplication

 


On Apr 24, 2012, at 10:55 AM, Thompson Lee wrote:

> On Apr 24, 2012, at 9:28 AM, Ghe Rivero wrote:
> 
>> I have plans to try to move as much as possible into openstack-common. I will start with nova as a test bed and see what we get from there. My future plans include db code and tests (in the case of quantum, plugins test also have a lot of duplicated code).
>> I register a bp for the wsgi issue: https://blueprints.launchpad.net/openstack-common/+spec/wsgi-common
>> 
>> Ghe Rivero
> 
> Is there a code metrics site that continually reports on metrics like duplication?  Adding Ghe's report to a metric site would be the first step.  That has always been a starting point as it gives code reviewers quick evaluation criteria to stop duplication before it ends up in trunk.  Going at it directly fixes it looking backward but the duplication ends up back int the code eventually.  The reports help fix the issue going forward.

I don't know of any duplication metrics being calculated, but Jenkins continually reports test coverage metrics: https://jenkins.openstack.org/portlet/dashboard_portlet_30/


Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature


References