Submissions:OOPMetrics

From Odp

(Difference between revisions)
Jump to: navigation, search
Current revision (19:58, 28 August 2012) (view source)
(Mostly updated according to reviews.)
 
(16 intermediate revisions not shown.)
Line 2: Line 2:
{{Graphical representation header}}
{{Graphical representation header}}
{{Graphical representation
{{Graphical representation
-
|ImageName=http://ontologydesignpatterns.org/wiki/Diagram.png
+
|ImageName=OOPMetricsDiagram.png
}}
}}
{{Content OP Proposal Template
{{Content OP Proposal Template
|SubmittedBy=IonelVirgilPop
|SubmittedBy=IonelVirgilPop
|Name=OOPMetrics
|Name=OOPMetrics
-
|Intent=To represent software metrics especially for the purpose of detecting design-flaws in software systems based on metrics. This is useful for re-engineering the system.
+
|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.
-
|Domain=Software Metrics
+
|Domain=Software Engineering
-
|CompetencyQuestion=What are the software metrics for a particular project/package/class/method?
+
|CompetencyQuestion=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?
+
Knowing the software metrics, is there a design-flaw in the software system?, Care sunt metricile soft pentru un anumit proiect/pachet/clasa/metoda?
-
|ContentODPDescription=This is an ontology pattern that represents software metrics for OOP.
+
Cunoscand metricile soft, exista un defect de proiectare in sistemul soft?
 +
|ContentODPDescription=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.
|ReusableOWLBuildingBlock=http://www.cs.ubbcluj.ro/~ivpop/ontologies/oopmetrics.owl
|ReusableOWLBuildingBlock=http://www.cs.ubbcluj.ro/~ivpop/ontologies/oopmetrics.owl
-
|Scenario=Find if a class is a God Class
+
|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.
 +
|Scenario=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.
}}
}}
{{Element list header}}
{{Element list header}}
 +
{{Has Element Template
 +
|HasElement=hasInitialReleaseDate
 +
}}
 +
{{Has Element Template
 +
|HasElement=hasAuthor
 +
}}
 +
{{Has Element Template
 +
|HasElement=hasMention
 +
}}
{{Has Element Template
{{Has Element Template
|HasElement=hasClass
|HasElement=hasClass
Line 24: Line 35:
{{Has Element Template
{{Has Element Template
|HasElement=hasMetric
|HasElement=hasMetric
 +
}}
 +
{{Has Element Template
 +
|HasElement=hasMetricCategory
}}
}}
{{Has Element Template
{{Has Element Template
Line 33: Line 47:
{{Has Element Template
{{Has Element Template
|HasElement=hasIntegerValue
|HasElement=hasIntegerValue
 +
}}
 +
{{Has Element Template
 +
|HasElement=hasLongName
}}
}}
{{Has Element Template
{{Has Element Template
|HasElement=hasName
|HasElement=hasName
 +
}}
 +
{{Has Element Template
 +
|HasElement=hasTag
}}
}}
{{Has Element Template
{{Has Element Template
Line 45: Line 65:
{{Has Element Template
{{Has Element Template
|HasElement=OOPMetric
|HasElement=OOPMetric
 +
}}
 +
{{Has Element Template
 +
|HasElement=OOPMetricCategory
}}
}}
{{Has Element Template
{{Has Element Template
Line 52: Line 75:
|HasElement=OOPProject
|HasElement=OOPProject
}}
}}
-
{{Has Element Template
+
{{Takes in account review
-
|HasElement=Student
+
|TakesInAccountReview=MariaPoveda about OOPMetrics
 +
}}
 +
{{Takes in account review
 +
|TakesInAccountReview=RinkeHoekstra about OOPMetrics
}}
}}
{{Additional information header}}
{{Additional information header}}
 +
Note from the author to the evaluators: the title of the related article is: "An Ontology Pattern for Software Metrics", submission 21.
 +
[[Category:Review assigned]]
{{Scenarios about me}}
{{Scenarios about me}}
{{Reviews about me}}
{{Reviews about me}}
{{Modeling issues about me}}
{{Modeling issues about me}}
{{My references}}
{{My references}}
 +
{{Submission to event
 +
|Event=WOP:2012
 +
}}

Current revision


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

Diagram

Image:OOPMetricsDiagram.png

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.
Domains:

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: http://www.cs.ubbcluj.ro/~ivpop/ontologies/oopmetrics.owl (1170)
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:


Elements

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

Scenarios about OOPMetrics

No scenario is added to this Content OP.

Reviews

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.


References

Add a reference


Submission to event

WOP:2012

Personal tools
Quality Committee
Content OP publishers