cognitive-complexity-ts

v0.5.0

This program analyses TypeScript and JavaScript code according to the [Cognitive Complexity metric](https://www.sonarsource.com/docs/CognitiveComplexity.pdf). It produces a JSON summary and a GUI for exploring the complexity of your codebase.

GPL-3.0
Latest version published 3 months ago
    npm install cognitive-complexity-ts
  

Package Health Score

55 / 100

Popularity

Limited

Weekly Downloads (88)

Download trend
Dependents
0
GitHub Stars
8
Forks
2
Contributors
4

Direct Usage Popularity


The npm package cognitive-complexity-ts receives a total of 88 downloads a week. As such, we scored cognitive-complexity-ts popularity level to be Limited.

Based on project statistics from the GitHub repository for the npm package cognitive-complexity-ts, we found that it has been starred 8 times, and that 0 other projects in the ecosystem are dependent on it.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Security

Security review needed
Powered by Snyk

Security and license risk for significant versions

All Versions
Popular

Version

Release Date

05/2020
02/2021
02/2021
09/2021
10/2021

Direct Vulnerabilities

Popular
0.0.2
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.2.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.3.1
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.4.5
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.5.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

Popular
0.0.2
0.2.0
0.3.1
0.4.5
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.5.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

License Risk

Popular
0.0.2
  • 0
    H
  • 0
    M
  • 0
    L
0.2.0
0.3.1
0.4.5
0.5.0
All security vulnerabilities belong to production dependencies of direct and indirect packages.

License
GPL-3.0
Alert

Non-Permissive License

We noticed that this project uses a license which requires less permissive conditions such as disclosing the source code, stating changes or redistributing the source under the same license. It is advised to further consult the license terms before use.


Security Policy
No

We found a way for you to contribute to the project! Looks like cognitive-complexity-ts is missing a security policy.


You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

    # Install the Snyk CLI and test your project
npm i snyk -g && snyk test cognitive-complexity-ts
Keep your project free of vulnerabilities with Snyk

Maintenance

Sustainable

Commit Frequency

Open Issues
0
Open PR
0
Last Release
3 months ago
Last Commit
3 months ago

Further analysis of the maintenance status of cognitive-complexity-ts based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Sustainable.

We found that cognitive-complexity-ts demonstrates a positive version release cadence with at least one new version released in the past 12 months.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Community

Limited
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
4
Funding
No

This project has seen only 10 or less contributors.

We found a way for you to contribute to the project! Looks like cognitive-complexity-ts is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 55/100 package health 55/100

Package

Node.js Compatibility
not defined

Age
2 years
Dependencies
5 Direct
Versions
24
Install Size
135 kB
Dist-tags
1
# of Files
73
Maintainers
1
TS Typings
Yes

cognitive-complexity-ts has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.