Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Complexity Measurement

We are therefore left largely with a number of best practices which do a reasonable job of suggesting ways to avoid complexity.

Tutorial Details:

Because complexity depends on many variable human characteristics, achieving automatic complexity measurement is probably hopeless. We are therefore left largely with a number of best practices which do a reasonable job of suggesting ways to avoid complexity.
Flow Complexity
A major contribution to complexity (or simplicity) is the organization of program flow. Simplifying control flow was the prime motivation for Structured Programming, which can be summarized most simply, but not esspecially comprehensibly, as the elimination of the goto statement. The ideals of structured programming have been so completely incorporated in modern programming that some newer languages, eg Java, don't even have the goto statement. The Java designers must have thought leaving out goto was risky because goto is still reserved as a keyword, but is not used.


 

Rate Tutorial:
http://www.roseindia.net/java/java-tips/principles_and_practices/54complexity_measurement.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Complexity Measurement

View Tutorial:
Complexity Measurement

Related Tutorials:

Use Microsoft's Internet Information Server as a Java servlet engine - JavaWorld June 2000
Use Microsoft's Internet Information Server as a Java servlet engine - JavaWorld June 2000
 
Printing in Java, Part 1 - JavaWorld October 2000
Printing in Java, Part 1 - JavaWorld October 2000
 
Tweak your IO performance for faster runtime - JavaWorld November 2000
Tweak your IO performance for faster runtime - JavaWorld November 2000
 
Printing in Java, Part 3 - JavaWorld January 2001
Printing in Java, Part 3 - JavaWorld January 2001
 
Printing in Java, Part 4 - JavaWorld February 2001
Printing in Java, Part 4 - JavaWorld February 2001
 
Printing in Java, Part 5 - JavaWorld March 2001
Printing in Java, Part 5 - JavaWorld March 2001
 
Performance books put to the test - JavaWorld March 2001
Performance books put to the test - JavaWorld March 2001
 
Diagnose common runtime problems with hprof
Diagnose common runtime problems with hprof
 
UI design with Tiles and Struts
UI design with Tiles and Struts
 
J2ME devices: Real-world performance
J2ME devices: Real-world performance
 
Navigate through virtual worlds using Java 3D
Navigate through virtual worlds using Java 3D
 
Advanced Installer for Java
Advanced Installer for Java The quick, simple and powerful msi authoring tool Advanced Installer is a Windows Installer authoring tool which enables developers and system administrators to easily build reliable MSI packages that meet the latest Micr
 
Practical Reflection: an excerpt from Hardcore Java
Practical Reflection: an excerpt from Hardcore Java In this chapter from Hardcore Java, "Practical Reflection," Robert Simmons Jr. writes: "Reflection is one of the least understood aspects of Java, but also one of the most powerful. Reflection is used i
 
Code Improvement Through Cyclomatic Complexity
Code Improvement Through Cyclomatic Complexity Software metrics often receive negative criticism, as they are viewed as an exact science, uniformly applicable to all scenarios. True, software metrics are an unbiased, objective measurement of a particul
 
Ubik
Overview Ubik aims to provide a set of distributed computing APIs that complement Java's current "official" offerings - such as EJB and Jini. The main API of the Ubik project is a RMI-like framework that allows to easily and transparently perform method
 
XML DOM-lite parser and writer
Summary This article provides a simple method for creating valid XML and a simple DOM-like (Document Object Model) parser. This method is useful for small applications that need simple XML functionality without the size and complexity of the full range d
 
Tools and Libraries for the Advancement of Sciences (was: J.A.D.E.)
Tools and Libraries for the Advancement of Sciences (was: J.A.D.E.) Our Vision To provide the most comprehensive Java TM library for the scientific community. To create synergy between all sciences (e.g. math, physics, sociology, biology, astron
 
Integrate COM and Java components
Interoperability issues have long made integration of Microsoft® Component Object Model (COM) and Java™ components a daunting task. The Development Tool for Java-COM Bridge, available from IBM alphaWorks, simplifies the job and also provides an evoluti
 
This tutorial shows how to Combine the power of XPath and JSP tag libraries
In this article, we'll examine the XPath custom tag library for JSPs and see a tag collection that provides simple control constructs and a uniform attribute value substitution facility, all of which combine to reduce complexity and improve functionality.
 
Q&A: Glenn Weinberg, Vice President of Operating Platforms Group, Elaborates on the Solaris 10 Launch
Increasing the overall Solaris Operating System user base and creating opportunities for customers and partners was the basis for Sun's decision to open source the UNIX-based operating system, says Glenn Weinberg of Sun's Operating Platforms Group.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.