SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:cultivate:prolog_query_api [2009/06/24 13:50]
jan.nonnen
research:cultivate:prolog_query_api [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== Prolog Query API ======
 +  * QueryDescription
 +    Each query can have a description to be shown on the java part.
 +
 +     ​query_description(+queryName,​+queryType,​ +Description).
 +     ​e.g. ​ query_description(nopSmell,​smell,'​empty statement'​).
 +
 +  * Smell
 +
 +    smell(+smellName,​-ListOfStatementIDs)
 +
 +  * Metric
 +
 +     ​metric(+metricName,​ -ID,​-ComputedMetric). ​
 +     ​metric_attributes(+metricName,​ +Range, +Threshold)
 +
 +  * Dependency (This fits neither as a smell nor metric)
 +
 +    dependency_package(DependentId,​DependeeId,​ SccNumber,​DependencyDegree).
 +    dependency_class(DependentId,​DependeeId,​DependencyDegree).
 +    dependency_term(DependentId,​DependeeId,​ DependentTerms).
 +
 +  * TermMetric
 +
 +    termmetric(+metricName,?​Scope,​-ID,​ - [ [Term,​ComputedMetric,​IsIntroduced] ]).
 +
 +  * TermQuery
 +
 +    Each differ in syntax, all start with termquery(+queryName,​..).
 +
 +  * ArchitectureQueries
 +  ​
 +  * Inheritance/​Implementation
 +
 +    inheritance(ClassId,​SuperClassId).
 +    implements(ClassId,​SuperClassId).
 +
 +
  
research/cultivate/prolog_query_api.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019