By -
Category - Web Development
Source - http://www.drdobbs.com/web-development/240001719
![]() |
| Web Development |
Software developers are always thankful for tools that do not
interfere too much with their work habits. Software metrics can offer
some feedback on the quality and results of design decisions, and help
developers move towards an engineering approach to software. Metrics are
a useful resource to help determine whether software meets desired
quality characteristics. Although many types of metrics have been
devised, design metrics for object orientation have reached one of the
highest levels of maturity because their relationship to lower
maintenance efforts, lower defect rates, and other benefits has been
demonstrated repeatedly in studies. As such, basic design concepts such
as encapsulation, inheritance, polymorphism, and class complexity are
known indicators of software quality.
As UML becomes a de facto standard notation for software
documentation, effective design metrics increasingly must work with UML
diagrams as input. Some tools have the ability to calculate design
metrics from UML diagrams, but this activity can benefit from relying on
Web services created with an open-source solutions to calculate the
metrics. The Web service we created uses SOAP messages, typically
conveyed using HTTP, with XML serialization. Using this technique, a
Web service that implements the calculation of UML metrics can be
inserted in any development environment and serve as a source of early
feedback to architects and developers.
XMI and UML diagrams
Most UML modeling tools are capable of importing and exporting models
or diagrams (see a sample UML class diagram in Figure 1) using the XMI format.
XMI is an XML dialect that includes tags to represent UML diagrams and
their components. Listing One presents a sample XMI code extract that
corresponds to the class diagram in Figure 1 (exported as an
Example.xmi file).Source - http://www.drdobbs.com/web-development/240001719

No comments:
Post a Comment