Although a codebase can be assessed objectively for computational complexity, e.g., time-to-execute, memory occupied, etc., there are currently no techniques to assess code complexity as perceived by a developer. Questions of relevance to software development, e.g., how easy or difficult it is to work with a codebase, which parts of the codebase are more complex than anticipated, etc. are not readily answerable. This disclosure describes techniques that automatically send surveys to developers at pertinent points during code development or maintenance. Developer responses are collated and analyzed to determine developer-perceived complexity, e.g., sections of code that are of excessive complexity, are difficult to work with, etc.
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.
Wilkinson, Jason; Warshaw, Jeffrey; Kammer, Elizabeth; Smith, Edward; Jaspan, Ciera; Green, Collin; and Nameth, Yvette, "Surveys to assess developer perceptions of code complexity", Technical Disclosure Commons, (October 08, 2019)