• Title of article

    Discovering power laws in computer programs

  • Author/Authors

    Hongyu Zhang، نويسنده ,

  • Issue Information
    دوماهنامه با شماره پیاپی سال 2009
  • Pages
    7
  • From page
    477
  • To page
    483
  • Abstract
    The power-law regularities have been discovered behind many complex natural and social phenomenons. We discover that the power-law regularities, especially the Zipf’s and Heaps’ laws, also exist in large-scale software systems. We find that the distribution of lexical tokens in modern Java, C++ and C programs follows Zipf–Mandelbrot law, and the growth of program vocabulary follows Heaps’ law. The results are obtained through empirical analysis of real-world software systems. We believe our discovery reveals the statistical regularities behind computer programming.
  • Keywords
    Zipf’s law , Zipf–Mandelbrot law , Heaps’ law , Software metric , Power-Law , Infometric
  • Journal title
    Information Processing and Management
  • Serial Year
    2009
  • Journal title
    Information Processing and Management
  • Record number

    1228961