Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #15236

Closed (moved)
(moved)
Open
Created Mar 11, 2015 by Nick Mathewson@nickm🍬

Identify functions most in need of testing, and hardest to test

In addition to our opportunistic write-tests-as-you-go approach, we should also direct our testing efforts on the functions that most need to be tested. This includes (possibly)

  • Big functions
  • Volatile functions (ones that have changed many times)
  • Functions that have had lots of bugs in them in the past
  • Functions nobody understands
  • Functions with high complexity
  • Functions with high complexity-to-line ratio
  • Functions with high code-to-comments ratio

We should also look at what's hardest to test, including possibly

  • Anything that hits the OS directly
  • Anything that's windows only.
  • Anything that calls many other functions
  • Anything that calls many other modules
  • Anything that indirectly calls most of the rest of Tor.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking