From Odp

This article has assigned reviews
Jump to: navigation, search

This pattern has been certified.

Related submission, with evaluation history, can be found here

If you are a member of quality committee please visit the

evaluation section

If you are author of this proposal or you want to contribute to this pattern's review, you can:

In general, it could be useful to visit the evaluation section to have information about the evaluation process of this proposal

Current revision ID: 11206

Graphical representation



General description

Name: OOPMetrics
Submitted by: IonelVirgilPop
Also Known As:
Intent: To represent software metrics especially for the purpose of detecting design-flaws in software systems based on these metrics. This is useful for re-engineering the software system., De a reprezenta metricile soft in special in scopul detectarii defectelor de proiectare din sistemele soft pe baza acestor metrici. Acest lucru este folositor pentru reingineria sistemului soft.

Software Engineering

Competency Questions:
  • What are the software metrics for a particular project/package/class/method?

Knowing the software metrics

  • is there a design-flaw in the software system?
  • Care sunt metricile soft pentru un anumit proiect/pachet/clasa/metoda?

Cunoscand metricile soft

  • exista un defect de proiectare in sistemul soft?
Solution description: This is an ontology pattern that represents software metrics for OOP. The unit test present in the ontology pattern shows how an ontology that uses this pattern can be queried to satisfy the scenario.
Reusable OWL Building Block: (1180)
Consequences: Software anti-patterns (design-flaws) can be detected based on software metrics by using this ontology pattern., Anti-sabloanele (defectele de proiectare) soft pot fi detectate pe baza metricior soft daca se foloseste aceasta ontologie sablon.
Scenarios: Find if a class (or which class) is a God Class based on it's metrics., Gaseste daca o clasa (sau care clasa) se inscrie in anti-sablonul "God Class" pe baza metricilor ei.
Known Uses:
Web References:
Other References:
Examples (OWL files):
Extracted From:
Reengineered From:
Has Components:
Specialization Of:
Related CPs:


The OOPMetrics Content OP locally defines the following ontology elements:

hasInitialReleaseDate (owl:AnnotationProperty)
hasInitialReleaseDate page
hasAuthor (owl:AnnotationProperty)
hasAuthor page
hasMention (owl:AnnotationProperty)
hasMention page
ObjectProperty hasClass (owl:ObjectProperty) Refers to an OOPClass from an OOPPackage.

Se refera la o OOPClass dintr-un OOPPackage.

hasClass page
ObjectProperty hasMethod (owl:ObjectProperty) Refers to an OOPMethod from an OOPClass.

Se refera la o OOPMethod dintr-o OOPClass.

hasMethod page
ObjectProperty hasMetric (owl:ObjectProperty) Refers to a software metric that an OOPProject/OOPPackage/OOPClass/OOPMethod has.

Se refera la o metrica soft pe care o are un/o OOPProject/OOPPackage/OOPClass/ OOPMethod.

hasMetric page
ObjectProperty hasMetricCategory (owl:ObjectProperty) Each software metric has an OOPMetricCategory. The category to which it belongs is specified by the hasMetricCategory property.

Fiecare metrica soft are o categorie OOPMetricCategory. Categoria de care apartine este specificata prin intermediul proprietatii hasMetricCategory.

hasMetricCategory page
ObjectProperty hasPackage (owl:ObjectProperty) Refers to an OOPPackage from an OOPProject.

Se refera la un OOPPackage dintr-un OOPProject.

hasPackage page
DatatypeProperty hasFloatValue (owl:DatatypeProperty) The real value of the software metric.

Valoarea reala pentru metrica soft.

hasFloatValue page
DatatypeProperty hasIntegerValue (owl:DatatypeProperty) The integer value of the software metric.

Valoarea intreaga pentru metrica soft.

hasIntegerValue page
DatatypeProperty hasLongName (owl:DatatypeProperty) The full name of the category of software metric, such as: "Weighted Methods Count".

Numele complet pentru categoria de metrica soft, cum ar fi: "Weighted Methods Count".

hasLongName page
DatatypeProperty hasName (owl:DatatypeProperty) This represents the name (more precisely the acronym) of the category of software metric. Such as: "WMC" for "Weighted Methods Count", TCC for "Tight Class Cohesion", etc.

Aceasta reprezinta numele (mai precis acronimul) pentru categoria de metrica soft. Cum ar fi: "WMC" pentru "Weighted Methods Count", TCC pentru "Tight Class Cohesion", etc.

hasName page
DatatypeProperty hasTag (owl:DatatypeProperty) A numerical value representing the category of software metric.

O valoare numerica reprezentand categoria metricii soft.

hasTag page
Class OOPClass (owl:Class) This represents the "class" concept from object-oriented programming.

Aceasta reprezinta conceptul "clasa" din programarea orientata obiect.

OOPClass page
Class OOPMethod (owl:Class) This represents the "method" concept from object-oriented programming.

Aceasta reprezinta conceptul "metoda" din programarea orientata obiect.

OOPMethod page
Class OOPMetric (owl:Class) This represents a software metric specific to object-oriented programming.

Aceasta reprezinta o metrica soft specifica programarii orientate obiect.

OOPMetric page
Class OOPMetricCategory (owl:Class) Each software metric belongs in an OOPMetricCategory.

Fiecare metrica soft apartine unei categorii OOPMetricCategory.

OOPMetricCategory page
Class OOPPackage (owl:Class) This represents the "package" concept from object-oriented programming.

Aceasta reprezinta conceptul "pachet" din programarea orientata obiect.

OOPPackage page
Class OOPProject (owl:Class) This represents a software project.

Aceasta reprezinta un proiect soft.

OOPProject page

Additional information

Note from the author to the evaluators: the title of the related article is: "An Ontology Pattern for Software Metrics", submission 21.


Scenarios about OOPMetrics

No scenario is added to this Content OP.


Reviews about OOPMetrics
Review article Posted on About revision (current is 11206)
MariaPoveda about OOPMetrics 245616121 August 2012 1116111,161
RinkeHoekstra about OOPMetrics 245616121 August 2012 1116911,169

This revision (revision ID 11206) takes in account the reviews: MariaPoveda about OOPMetrics, RinkeHoekstra about OOPMetrics

Other info at evaluation tab

Modeling issues

Modeling issues about OOPMetrics

There is no Modeling issue related to this proposal.


Add a reference

Submission to event


Personal tools
Quality Committee
Content OP publishers