SE & SDA Wiki

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

User Tools

Site Tools

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
  • 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_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
research/cultivate/prolog_query_api.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2018