Skip to content

cyclocomp

1.1.2

Cyclomatic Complexity of R Code

3packages dependsuggested by 11
217.1Kdownloads / year
84.6%test coverage
13/13flavors OK

Overview

About

Cyclomatic complexity is a software metric (measurement), used to indicate the complexity of a program. It is a quantitative measure of the number of linearly independent paths through a program's source code. It was developed by Thomas J. McCabe, Sr. in 1976.

Changes in 1.1.2
  • cyclocomp_package_dir() now has a quiet argument (@mpadge, #28).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 54 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-18
  • WARNING11 OK, 2 NOTE, 1 WARNING2026-03-10
Advisories

none known

Documentation

In release 1.1.2
READMEYes · 178 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.2Citation fileNo
Help pages
3includes a package overview page
Examples that run
50%1 run in a plain check · 1 never run
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

217.1K
CRAN downloads in the past year
Rank #683 · ~595/day · ~18.1K/mo
Daily download trend is not available in this view yet.
35.8K30 days
79.1K90 days
217.1K1 year
Compare downloads with other packages →
Also on2.6K r2u109 autocran60.7K conda_forge

Repository

6Stars
4Forks
13Open issues
1Open PRs
4Releases
96Commits
6Commit identities
code-analysiscomplexity-measurer
96 commits · Last activity 2026-03-11 · 0% stars, 30d · Default branch at 1.1.2.9000, ahead of CRAN 1.1.2 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-04 · 42026-07-07 · 6
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/gaborcsardi/cyclocomp on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmd

GitHub Pages site last deployed 2026-03-11 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
Makefile
Show all practicesHide 1 practice
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing cyclocomp adds 10 packages (3 with compiled code, 1.6 MB of source tarballs). Heaviest: cli 629 KB, processx 191 KB, ps 168 KB.

Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
3direct
1indirect
Imports 3
Suggested by 11
Show all 14 packagesHide all 14 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0.0 (2016)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.2Latest
    record
    2026-03-11 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.1
    record
    2023-08-30 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.0
    record
    2016-09-10 · diff ↗ ·
    added 2 exports
    cyclocomp_package_dir, cyclocomp_q
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.0
    record
    2016-02-20
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-02-20
Total releases
4 / 10 yrs
License
MIT + file LICENSE OSI
Download size
9.0 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cyclocomp")
Csardi, G. (2026). cyclocomp: Cyclomatic Complexity of R Code (Version 1.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.cyclocomp

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cyclocomp version 1.1.2 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy