[tor-bugs] #6313 [Core Tor/Tor]: Many of Tor's complex functions should be refactored
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 26 18:16:28 UTC 2017
#6313: Many of Tor's complex functions should be refactored
-------------------------------------------------+-------------------------
Reporter: nickm | Owner:
Type: project | Status: new
Priority: Medium | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version: Tor:
| 0.2.7
Severity: Normal | Resolution:
Keywords: tor-relay, intro, tor-tests- | Actual Points:
coverage, tor-tests-unit |
Parent ID: | Points: 6
Reviewer: | Sponsor:
| SponsorS-can
-------------------------------------------------+-------------------------
Comment (by nickm):
I've just run the numbers again -- this time as a count of lines per
function rather than cyclomatic complexity. (Rationale: nearly all
complexity metrics are highly correlated, so why not just use the easy
one.) I'm attaching a list of every function with at least 100 lines.
I've opened a child ticket to work on the worst offenders.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6313#comment:28>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list