/names-vs-complexity

How compound variable names affect complexity of Java methods

Primary LanguageTeX

latex License

Hypothesis: Java methods that contain variables with compound names tend to have larger cyclomatic complexity.

Method:

  • We take many big and popular Java repositories from GitHub
  • For each Java method we calculate: CC and count of compounds vars
  • We draw a graph: x is CC, y is the count
  • We make a conclusion about a correlation between them two

The results of this research will be published.