[tor-bugs] #6177 [Tor Relay]: Refactor complicated functions (was: Refactor rend_service_introduce())

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jun 23 20:22:22 UTC 2012


#6177: Refactor complicated functions
-----------------------+----------------------------------------------------
 Reporter:  andrea     |          Owner:                  
     Type:  task       |         Status:  new             
 Priority:  normal     |      Milestone:  Tor: unspecified
Component:  Tor Relay  |        Version:                  
 Keywords:             |         Parent:                  
   Points:             |   Actualpoints:                  
-----------------------+----------------------------------------------------
Changes (by nickm):

  * priority:  minor => normal
  * component:  Tor Hidden Services => Tor Relay


Comment:

 Renaming the bug so it's about complicated functions in general.

 I'm attaching a list of all the functions with cyclomatic complexity >=
 20.  15 is considered a fairly permissive upper-bound by people who like
 this metric.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6177#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list