[Openstack] wsgi code duplication

Lorin Hochstein lorin at nimbisservices.com
Tue Apr 24 16:14:01 UTC 2012



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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120424/db6a9857/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4897 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120424/db6a9857/attachment.bin>


More information about the Openstack mailing list