Skip to content

Instantly share code, notes, and snippets.

@marcin-saja
Last active March 30, 2021 06:54
Show Gist options
  • Save marcin-saja/65549e012bf50bc012df4ae0d9627839 to your computer and use it in GitHub Desktop.
Save marcin-saja/65549e012bf50bc012df4ae0d9627839 to your computer and use it in GitHub Desktop.
Framework Code Complexity Comparison Table
+-----------+----------+---------+-------------+------------+-------------------+
| Framework | Lines | Longest | Average | Maximum | Percentage of |
| name | of | method | method | method | methods that are |
| | code | | complexity | complexity | non-static |
+-----------+----------+---------+-------------+------------+-------------------+
| Laravel | 54,398 | 13 | 1.62 | 17 | 94.81% |
| Symfony | 118,636 | 136 | 2.72 | 155 | 97.09% |
| Zend | 55,904 | 73 | 2.76 | 53 | 93.55% |
| Cake | 62,860 | 56 | 3.30 | 75 | 89.87% |
| Slim | 4,127 | 26 | 2.40 | 13 | 96.58% |
| Eloquent | 6,026 | 13 | 1.76 | 17 | 91.57% |
| Doctrine | 39,294 | 148 | 2.94 | 152 | 92.50% |
+-----------+----------+---------+-------------+------------+-------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment