Archeometer.Schema.Macro (Archeometer v0.3.2)
Represents an Elixir macro. Holds the relevant schema data that will be used in the project analysis.
This schema has the following fields:
nameif the name of the macro.
ccif the cyclomatic complexity of the macro declaration.
num_linesis the length of macro declaration.
num_argsis the number of arguments the macro receives.
arg_namesis a comma separated string with the name of the parameters the macro receives.
typecan be either
defmacrop, depending on the declaration.
coverageis a number between 0 and 1 representing the test coverage of the macro. The results are pulled from Erlang
codemodule so they might not be very accurate.
moduleis a reference to
Archeometer.Schema.Module. The module where the macro was declared.