Archeometer.Schema.Macro (Archeometer v0.5.0)
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 eitherdefmacroordefmacrop, depending on the declaration.coverageis a number between 0 and 1 representing the test coverage of the macro. The results are pulled from Erlangcodemodule so they might not be very accurate.moduleis a reference toArcheometer.Schema.Module. The module where the macro was declared.