2024-03-29 15:49 CET


Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of


View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000133Branch 0.2.1-FINALCode Standardspublic2016-11-23 10:13
ReporterQuix0r 
Assigned ToQuix0r 
PrioritylowSeveritytrivialReproducibilityalways
StatusassignedResolutionopen 
PlatformPHP5-LatestOSLinuxOS Version2.6
Product Version0.2.1-FINAL 
Target Version0.2.1-FINALFixed in Version 
Summary0000133: Unnoetige else-Bloecke entfernen
DescriptionEs sollten aus dem Script unnoetige else-Bloecke entfernt werden, um die Wartbarkeit zu erhoehen:

--- VOHER: ---
if ($someBool) {
  // Do something for if
  $foo = someFooThings();
} else {
  // Set foo to zero
  $foo = 0;
}

--- NACHHER: ---
// Init foo
$foo = 0;

if ($someBool) {
  // Do something for if
  $foo = someFooThings();
} // END - if
TagsNo tags attached.
Attached Files

-Notes

~0000457

Quix0r (administrator)

Namenskonventionen sollten auch hier eingehalten werden. :)
+Notes

-Issue History
Date Modified Username Field Change
2009-10-21 00:20 Quix0r New Issue
2009-10-21 00:21 Quix0r Projection none => tweak
2009-10-21 00:21 Quix0r ETA none => < 1 day
2009-10-21 01:00 Quix0r Category Bug => Feature Request
2009-11-25 22:56 Quix0r Fixed in Version => 0.2.1-FINAL
2010-05-28 18:47 Quix0r Product Version => 0.2.1-FINAL
2010-06-08 03:45 Quix0r Fixed in Version 0.2.1-FINAL =>
2010-06-20 18:14 Quix0r Description Updated View Revisions
2010-06-20 18:15 Quix0r Note Added: 0000457
2010-06-20 18:15 Quix0r Description Updated View Revisions
2010-06-28 04:43 Quix0r Status new => assigned
2010-06-28 04:43 Quix0r Assigned To => Quix0r
2012-11-28 18:31 Quix0r Relationship added related to 0000110
2016-11-23 10:13 Quix0r Category Feature Request => Code Standards
+Issue History