Halstead complexity measures: Difference between revisions

Content deleted Content added
m identification of the mathematical symbols and using the same language (distinct vs unique) to make it consistent and easier to read
Line 45:
</syntaxhighlight>
The uniquedistinct operators (<math>\,\eta_1</math>) are:
<code>main</code>, <code>()</code>, <code>{}</code>, <code>int</code>, <code>scanf</code>,
<code>&</code>, <code>=</code>, <code>+</code>, <code>/</code>, <code>printf</code>, <code>,</code>, <code>;</code>
The uniquedistinct operands (<math>\,\eta_2</math>) are:
<code>a</code>, <code>b</code>, <code>c</code>, <code>avg</code>, <code>"%d %d %d"</code>, <code>3</code>, <code>"avg = %d"</code>