Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyclomatic complexity #16

Open
julien-roux opened this issue Jun 19, 2017 · 0 comments
Open

Cyclomatic complexity #16

julien-roux opened this issue Jun 19, 2017 · 0 comments

Comments

@julien-roux
Copy link
Contributor

https://en.wikipedia.org/wiki/Cyclomatic_complexity

It would be nice for maintenance and readability to reduce the cyclomatic complexity (number of independent paths taken by the code) of BgeeDB R functions. Or at least to keep this in mind for future developments...

    install.packages("cyclocomp")
    library(cyclocomp)
    library(BgeeDB)
    cyclocomp(getData)         ## 19
    cyclocomp(formatData)      ## 16
    cyclocomp(loadTopAnatData) ## 45
    cyclocomp(topAnat)         ## 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant