| 1 | This page lists the names of initial selectors, selectors and properties available in the semantic query language along with their possible abbreviations and synonyms. |
| 2 | For examples of usage, see [SemanticQuery/QueryExamples this page]. |
| 3 | |
| 4 | |||| '''Initial selectors''' || |
| 5 | ||''Name'' ||''Synonyms'' || |
| 6 | ||{{{files}}} || {{{-}}} || |
| 7 | ||{{{@file}}} || {{{-}}} || |
| 8 | ||{{{modules}}} || {{{mods}}} || |
| 9 | ||{{{@module}}} || {{{@mod}}} || |
| 10 | ||{{{@function}}} || {{{@fun}}} || |
| 11 | ||{{{@definition}}} || {{{@def}}} || |
| 12 | ||{{{@expression}}} || {{{@expr}}} || |
| 13 | ||{{{@variable}}} || {{{@var}}} || |
| 14 | ||{{{@record}}} || {{{@rec}}} || |
| 15 | ||{{{@recfield}}} || {{{@field}}} || |
| 16 | ||{{{@macro}}} || {{{-}}} || |
| 17 | \\ |
| 18 | |||||||| [wiki:SemanticQuery/FileEntity File entity] || |
| 19 | |||| '''Selectors''' |||| '''Properties''' || |
| 20 | ||''Name'' ||''Synonyms'' ||''Name'' ||''Synonyms'' || |
| 21 | ||{{{function}}} || {{{functions, fun, funs}}} || {{{module}}} || {{{is_module, mod, is_mod}}} || |
| 22 | ||{{{record}}} || {{{records, rec, recs}}} || {{{header}}} || {{{is_header}}} || |
| 23 | ||{{{macro}}} || {{{macros}}} || {{{name}}} || {{{-}}} || |
| 24 | ||{{{includes}}} || {{{-}}} || {{{directory}}} || {{{dir}}} || |
| 25 | ||{{{included_by}}} || {{{-}}} || {{{path}}} || {{{-}}} || |
| 26 | ||{{{imports}}} || {{{-}}} || || || |
| 27 | ||{{{exports}}} || {{{-}}} || || || |
| 28 | \\ |
| 29 | |||||||| [wiki:SemanticQuery/FunctionEntity Function entity] || |
| 30 | |||| '''Selectors''' |||| '''Properties''' || |
| 31 | ||''Name'' || ''Synonyms'' || ''Name'' || ''Synonyms'' || |
| 32 | ||{{{references}}} || {{{refs, ref, reference}}} || {{{exported}}} || {{{-}}} || |
| 33 | ||{{{calls}}} || {{{-}}} || {{{name}}} || {{{-}}} || |
| 34 | ||{{{called_by}}} || {{{-}}} || {{{arity}}} || {{{-}}} || |
| 35 | ||{{{arguments}}} || {{{args}}} || {{{bif}}} || {{{-}}} || |
| 36 | ||{{{body}}} || {{{-}}} || {{{pure}}} || {{{-}}} || |
| 37 | ||{{{expressions}}} || {{{exprs, expr, expression}}} || {{{defined}}} || {{{-}}} || |
| 38 | ||{{{variables}}} || {{{vars, var, variable}}} || {{{module}}} || {{{mod}}} |
| 39 | ||{{{file}}} || {{{-}}} || {{{dirty}}} || {{{-}}} || |
| 40 | ||{{{dynamic_calls}}} || {{{dynref, dynrefs}}} || {{{spec}}} || {{{-}}} || |
| 41 | ||{{{dynamic_calls}}} || {{{dyncall, dyncalls}}} || || || |
| 42 | ||{{{dynamic_called_by}}} || {{{dyncalled_by}}} || || || |
| 43 | \\ |
| 44 | |||||||| [wiki:SemanticQuery/ExpressionEntity Expression entity] || |
| 45 | |||| '''Selectors''' |||| '''Properties''' || |
| 46 | ||''Name'' ||''Synonyms'' ||''Name'' ||''Synonyms'' || |
| 47 | ||{{{fundef}}} || {{{-}}} || {{{type}}} || {{{-}}} || |
| 48 | ||{{{functions}}} || {{{function, fun, funs}}} || {{{value}}} || {{{val}}} || |
| 49 | ||{{{variables}}} || {{{vars, var, variable}}} || {{{class}}} || {{{-}}} || |
| 50 | ||{{{records}}} || {{{record, rec, recs}}} || {{{last}}} || {{{is_last}}} || |
| 51 | ||{{{macro}}} || {{{macros}}} || {{{index}}} || {{{-}}} || |
| 52 | ||{{{subexpression}}} || {{{sub, esub, subexpr}}} || {{{tailcall}}} || {{{is_tailcall}}} || |
| 53 | ||{{{parameter}}} || {{{param}}} || {{{has_side_effect}}} || {{{dirty}}} || |
| 54 | ||{{{top_expression}}} || {{{top, top_expr}}} || || || |
| 55 | ||{{{file}}} || {{{-}}} || || || |
| 56 | ||{{{dynamic_ functions}}} || {{{dynfun, dynfuns}}} || || || |
| 57 | \\ |
| 58 | |||||||| [wiki:SemanticQuery/VariableEntity Variable entity] || |
| 59 | |||| '''Selectors''' |||| '''Properties''' || |
| 60 | ||''Name'' || ''Synonyms'' || ''Name'' || ''Synonyms'' || |
| 61 | ||{{{references}}} || {{{refs, ref, reference}}} || {{{name}}} || {{{-}}} || |
| 62 | ||{{{bindings}}} || {{{-}}} || || || |
| 63 | ||{{{fundef}}} || {{{-}}} || || || |
| 64 | \\ |
| 65 | |||||||| [wiki:SemanticQuery/RecordEntity Record entity] || |
| 66 | |||| '''Selectors''' |||| '''Properties''' || |
| 67 | ||''Name'' ||''Synonyms'' ||''Name'' ||''Synonyms'' || |
| 68 | ||{{{references}}} || {{{refs, ref, reference}}} || {{{name}}} || {{{-}}} || |
| 69 | ||{{{fields}}} || {{{-}}} || || || |
| 70 | ||{{{file}}} || {{{-}}} || || || |
| 71 | \\ |
| 72 | |||||||| [wiki:SemanticQuery/RecordFieldEntity Record field entity] || |
| 73 | |||| '''Selectors''' |||| '''Properties''' || |
| 74 | ||''Name'' ||''Synonyms'' ||''Name'' ||''Synonyms'' || |
| 75 | ||{{{references}}} || {{{refs, ref, reference}}} || {{{name}}} || {{{-}}} || |
| 76 | ||{{{record}}} || {{{rec}}} || || || |
| 77 | ||{{{file}}} || {{{-}}} || || || |
| 78 | \\ |
| 79 | |||||||| [wiki:SemanticQuery/MacroEntity Macro entity] || |
| 80 | |||| '''Selectors''' |||| '''Properties''' || |
| 81 | ||''Name'' ||''Synonyms'' ||''Name'' ||''Synonyms'' || |
| 82 | ||{{{references}}} || {{{refs, ref, reference}}} || {{{name}}} || {{{-}}} || |
| 83 | ||{{{file}}} || {{{-}}} || {{{arity}}} || {{{-}}} || |
| 84 | || || || {{{const}}} || {{{-}}} || |
| 85 | \\ |
| 86 | |||||||| [wiki:MetricQuery Metrics for files and functions (as properties)] || |
| 87 | ||''Name'' || ''Synonyms'' || ''File'' || ''Function'' || |
| 88 | ||[wiki:MetricQuery#module_sum module_sum] || {{{mod_sum}}} || ok || - || |
| 89 | ||[wiki:MetricQuery#function_sum function_sum] || {{{fun_sum}}} || - || ok || |
| 90 | ||[wiki:MetricQuery#line_of_code line_of_code] || {{{loc}}} || ok || ok || |
| 91 | ||[wiki:MetricQuery#char_of_code char_of_code] || {{{choc}}} || ok || ok || |
| 92 | ||[wiki:MetricQuery#number_of_fun number_of_fun] || {{{num_of_fun, num_of_functions, number_of_functions}}} || ok || - || |
| 93 | ||[wiki:MetricQuery#number_of_macros number_of_macros] || {{{num_of_macros, num_of_macr}}} || ok || - || |
| 94 | ||[wiki:MetricQuery#number_of_records number_of_records] || {{{num_of_records, num_of_rec}}} || ok || - || |
| 95 | ||[wiki:MetricQuery#included_files included_files] || {{{inc_files}}} || ok || - || |
| 96 | ||[wiki:MetricQuery#imported_modules imported_modules] || {{{imp_modules, imported_mod, imp_mod}}} || ok || - || |
| 97 | ||[wiki:MetricQuery#number_of_funpath number_of_funpath] || {{{number_of_funpaths, num_of_funpath, num_of_funpaths}}} || ok || - || |
| 98 | ||[wiki:MetricQuery#function_calls_in function_calls_in] || {{{fun_calls_in}}} || ok || - || |
| 99 | ||[wiki:MetricQuery#function_calls_out function_calls_out] || {{{fun_calls_out}}} || ok || - || |
| 100 | ||[wiki:MetricQuery#calls_for_function calls_for_function] || {{{calls_for_fun, call_for_function, call_for_fun}}} || - || ok || |
| 101 | ||[wiki:MetricQuery#calls_from_function calls_from_function] || {{{calls_from_fun, call_from_function, call_from_fun}}} || - || ok || |
| 102 | ||[wiki:MetricQuery#cohesion cohesion] || {{{coh}}} || ok || - || |
| 103 | ||[wiki:MetricQuery#otp_used otp_used] || {{{otp}}} || ok || - || |
| 104 | ||{{{max_application_depth}}} || {{{max_app_depth}}} || ok || ok || |
| 105 | ||[wiki:MetricQuery#max_depth_of_calling max_depth_of_calling] || {{{max_depth_calling, max_depth_of_call, max_depth_call}}} || ok || ok || |
| 106 | ||{{{min_depth_of_calling}}} || {{{min_depth_calling, min_depth_of_call, min_depth_call}}} || ok || - || |
| 107 | ||[wiki:MetricQuery#max_depth_of_cases max_depth_of_cases] || {{{max_depth_cases}}} || ok || ok || |
| 108 | ||[wiki:MetricQuery#max_depth_of_structs max_depth_of_structs] || {{{-}}} || ok || ok || |
| 109 | ||[wiki:MetricQuery#number_of_funclauses number_of_funclauses] || {{{num_of_funclauses, number_of_funclaus, num_of_funclaus}}} || ok || ok || |
| 110 | ||[wiki:MetricQuery#branches_of_recursion branches_of_recursion] || {{{branches_of_rec, branch_of_recursion, branch_of_rec}}} || ok || ok || |
| 111 | ||[wiki:MetricQuery#mcCabe mcCabe] || {{{mccabe}}} || ok || ok || |
| 112 | ||[wiki:MetricQuery#number_of_funexpr number_of_funexpr] || {{{num_of_funexpr}}} || ok || ok || |
| 113 | ||[wiki:MetricQuery#number_of_messpass number_of_messpass] || {{{num_of_messpass}}} || ok || ok || |
| 114 | ||[wiki:MetricQuery#fun_return_points fun_return_points] || {{{fun_return_point, function_return_points, function_return_point}}} || ok || ok || |
| 115 | ||[wiki:MetricQuery#max_length_of_line max_length_of_line] || {{{-}}} || ok || ok || |
| 116 | ||[wiki:MetricQuery#average_length_of_line average_length_of_line] || {{{avg_length_of_line}}} || ok || ok || |
| 117 | ||[wiki:MetricQuery#no_space_after_comma no_space_after_comma] || {{{-}}} || ok || ok || |
| 118 | ||[wiki:MetricQuery#is_tail_recursive is_tail_recursive] || {{{-}}} || - || ok || |
| 119 | \\ |
| 120 | |||| '''Statistics''' || |
| 121 | || ''Name'' || ''Synonyms'' || |
| 122 | ||{{{minimum}}} || {{{min}}} || |
| 123 | ||{{{maximum}}} || {{{max}}} || |
| 124 | ||{{{sum}}} || {{{-}}} || |
| 125 | ||{{{mean}}} || {{{average, avg}}} || |
| 126 | ||{{{median}}} || {{{med}}} || |
| 127 | ||{{{variance}}} || {{{var}}} || |
| 128 | ||{{{standard_deviation}}} || {{{sd}}} || |