code-complexity
phpinsights
code-complexity | phpinsights | |
---|---|---|
1 | 7 | |
274 | 5,194 | |
- | - | |
0.0 | 5.7 | |
about 2 months ago | about 1 month ago | |
TypeScript | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
code-complexity
-
The #1 tip to familiarize with new JavaScript codebases
In my years as a software engineer, I have probably looked at hundreds of codebases. Too many to count. I struggled a lot with understanding where the relevant code is most of the time. Normally, asking for help what I should look for and guidance in tickets will bring me forward. Slowly and surely I will understand what the code is doing. And you will too. Some people are better at this and some people will be slow. No shame. Most code is complex. But I found a simple tool that will make it easier for you. It is called code-complexity and you can use it as the following code snippet shows:
phpinsights
-
Laravel code-quality tools
PHP Insights is a code quality analysis tool that checks for code quality, coding style, complexity, and architecture. Just like Pint, it's also opinionated, so you'll have to customize it to fit your needs.
- Recommended Code Review Plugin for Github?
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
PHP Insights is a static analysis tool of your code directly from your terminal. By running a single command it displays the Quality of Code, Complexity of Code, Architecture and Coding Style.
-
How to Build and Distribute Beautiful Command-Line Applications with PHP and Composer
PHP Insights
-
🍃 Termwind v1.0 Released!
https://github.com/nunomaduro/phpinsights.
-
PHP libraries and tools
PHP Insights: Instant PHP quality checks from your console
-
What dev composer packages are a must have?
But there are no similar tools. Here would be the issue, where this problem is discussed. https://github.com/nunomaduro/phpinsights/issues/445
What are some alternatives?
code-maat - A command line tool to mine and analyze data from version-control systems
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
scc - Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
jscpd - Copy/paste detector for programming source code.
phpstan-rules - 👓 Provides a composer package with rules for phpstan/phpstan.
sloc - simple tool to count SLOC (source lines of code)
laravel-ide-helper - IDE Helper for Laravel
switch-vs-object - 🤓 compares the cognitive complexity between two ways of mapping values to keys
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
laravel-stats - 📈 Get insights about your Laravel or Lumen Project
Psalm - A static analysis tool for finding errors in PHP applications