Archeometer.Schema.Function (Archeometer v0.5.0)
Represents an Elixir function. Holds the relevant schema data that will be used in the project analysis.
This schema has the following fields:
nameis the name of the functionccrepresents the cyclomatic complexity.num_linesis the number of lines in the function definition.num_argsis the number of arguments the function receives.arg_namesis a comma separated list with the name of the parameters the function receives.typecan be eitherdefordefpdepending on the function declaration.coverageis a number between 0 and 1 representing the percentage of tested lines of code. It is pulled directly from Erlang'scodemodule, so it might not be very accurate.moduleis a referece toArcheometer.Schema.Module. It is the module where the function was declared.