<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Software_defect_indicator</id>
	<title>Software defect indicator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Software_defect_indicator"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Software_defect_indicator&amp;action=history"/>
	<updated>2026-10-26T22:26:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Software_defect_indicator&amp;diff=8303079&amp;oldid=prev</id>
		<title>imported&gt;WikiEd303 at 02:58, 1 December 2023</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Software_defect_indicator&amp;diff=8303079&amp;oldid=prev"/>
		<updated>2023-12-01T02:58:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;Software Defect Indicator&amp;#039;&amp;#039;&amp;#039; is a pattern that can be found in [[source code]] that is strongly correlated with a [[software defect]], an error or omission in the source code of a computer program that may cause it to malfunction. When inspecting the source code of [[computer program]]s, it is not always possible to identify defects directly, but there are often patterns, sometimes called [[anti-pattern]]s, indicating that defects are present.&lt;br /&gt;
&lt;br /&gt;
Some examples of Software Defect Indicators:&lt;br /&gt;
* Disabled Code: Code has been written and the [[programmer]] has disabled it, or switched it off, without making it clear why it has been disabled, or when or whether it will be re-enabled.&lt;br /&gt;
* Routine Too Complex: A program (method, module, routine, subroutine, procedure, or any named block of code) contains more than 10 binary terms in conditional statements.&amp;lt;ref&amp;gt;William T. Ward: &amp;quot;Software Defect Prevention Using McCabe&amp;#039;s Complexity Metric&amp;quot;, &amp;#039;&amp;#039;Hewlett-Packard Journal&amp;#039;&amp;#039;, April 1989, pp 64-69: Control-flow complexity has been correlated with low reliability and frequent errors.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Unused Variables: Unreferenced variables are a strong indicator for other errors.&amp;lt;ref&amp;gt;David N. Card, Victor E. Church, and William W. Agresti: &amp;quot;An Empirical Study of Software Design Practices&amp;quot;, &amp;#039;&amp;#039;IEEE Transactions on Software Engineering&amp;#039;&amp;#039;, SE-12, no. 2, February 1986, pp 264-71: 46 percent of routines with no unused variables had no errors compared to only 17 to 29 percent for those with one or more unreferenced variables.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Number of Distinct Committers: The amount of unique developers that have made contributions to a project&amp;#039;s commit history. This is a process metric that is useful in indicating software defects. &amp;lt;ref&amp;gt;Madeyski, Lech, and Marian Jureczko. “Which Process Metrics Can Significantly Improve Defect Prediction Models? An Empirical Study.” Software Quality Journal 23.3 (2015): 393–422. Web.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Cyclomatic complexity]]&lt;br /&gt;
* [[Anti-pattern]]&lt;br /&gt;
* [[Computer program]]&lt;br /&gt;
* [[Computer programming]]&lt;br /&gt;
* [[Control flow]]&lt;br /&gt;
* [[Software engineering]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[https://web.archive.org/web/20070521072828/http://hissa.ncsl.nist.gov/sw_assurance/strtest.html NIST Special Publication 500-235 Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software metrics]]&lt;/div&gt;</summary>
		<author><name>imported&gt;WikiEd303</name></author>
	</entry>
</feed>