Archeometer.Schema.Function (Archeometer v0.3.2)
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 function
ccrepresents 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 either
defpdepending 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's
codemodule, so it might not be very accurate.
moduleis a referece to
Archeometer.Schema.Module. It is the module where the function was declared.