Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin cannot be installed
- > User error in wp-content/plugins/hexagonal-reviews/vendor/composer/platform_check.php+24
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.16.
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.95ms] Passed 4 tests
A check of server-side resources used by Hexagonal Reviews
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 3.91 ▼34.16 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.00 ▼42.51 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.72 ▼39.69 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.75 ▼99.42 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.35 ▼31.72 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 302 new files
Database: 2 new tables, no new options
New tables |
---|
wp_hexagonal_review_average |
wp_hexagonal_review |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hexagonal Reviews
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲125 | 13.30 ▼1.37 | 1.92 ▼0.31 | 43.56 ▼1.06 |
Dashboard /wp-admin | 2,237 ▲46 | 5.88 ▲0.84 | 98.50 ▼3.11 | 68.81 ▲25.30 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 1.99 ▼0.05 | 39.68 ▼3.12 | 34.82 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 17.80 ▼0.64 | 639.73 ▲38.17 | 54.66 ▲1.10 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.19 ▼0.14 | 106.86 ▲1.28 | 47.22 ▲1.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User error in wp-content/plugins/hexagonal-reviews/vendor/composer/platform_check.php+24
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.16.
- Zombie WordPress options detected upon uninstall: 7 options
- hexagonal-reviews-version
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/hexagonal-reviews/src/UI/Wordpress/Front/templates/GetReviewsBlock.php
- 138× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Parse error
syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) in wp-content/plugins/hexagonal-reviews/vendor/ramsey/uuid/src/Guid/GuidBuilder.php on line 41
- > PHP Parse error
syntax error, unexpected '=>' (T_DOUBLE_ARROW) in wp-content/plugins/hexagonal-reviews/vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php on line 109
- > PHP Parse error
syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) in wp-content/plugins/hexagonal-reviews/vendor/ramsey/uuid/src/Generator/DefaultTimeGenerator.php on line 44
- > PHP Parse error
syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) in wp-content/plugins/hexagonal-reviews/vendor/ramsey/uuid/src/FeatureSet.php on line 91
- > PHP Fatal error
Uncaught Error: Class 'Brick\\Math\\Exception\\MathException' not found in wp-content/plugins/hexagonal-reviews/vendor/brick/math/src/Exception/DivisionByZeroException.php:10
- > PHP Parse error
syntax error, unexpected ',' in wp-content/plugins/hexagonal-reviews/vendor/ramsey/uuid/src/Rfc4122/VersionTrait.php on line 53
- > PHP Fatal error
Uncaught Error: Class 'Brick\\Math\\Internal\\Calculator' not found in wp-content/plugins/hexagonal-reviews/vendor/brick/math/src/Internal/Calculator/GmpCalculator.php:16
- > PHP Fatal error
Uncaught Error: Class 'Ramsey\\Collection\\AbstractArray' not found in wp-content/plugins/hexagonal-reviews/vendor/ramsey/collection/src/Queue.php:30
- > PHP Fatal error
Uncaught Error: Class 'Ramsey\\Uuid\\Uuid' not found in wp-content/plugins/hexagonal-reviews/vendor/ramsey/uuid/src/Rfc4122/MaxUuid.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Exception\\UuidExceptionInterface' not found in wp-content/plugins/hexagonal-reviews/vendor/ramsey/uuid/src/Exception/DceSecurityException.php:23
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: review, hexagonal, clean, reviews
hexagonal-reviews/hexagonal-reviews.php Passed 13 tests
Analyzing the main PHP file in "Hexagonal Reviews" version 1.2.13
33 characters long description:
The Wp Reviews you always desired
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin14,498 lines of code in 284 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 255 | 3,483 | 11,186 | 11,329 |
Markdown | 12 | 630 | 0 | 1,552 |
JSON | 10 | 0 | 0 | 881 |
PO File | 3 | 214 | 301 | 494 |
CSS | 2 | 27 | 0 | 158 |
XML | 2 | 11 | 1 | 84 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 5.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 68 | |
Interfaces | 40 | |
Traits | 10 | |
Classes | 186 | |
▷ Abstract classes | 7 | 3.76% |
▷ Concrete classes | 179 | 96.24% |
▷ Final classes | 80 | 44.69% |
Methods | 1,110 | |
▷ Static methods | 113 | 10.18% |
▷ Public methods | 1,014 | 91.35% |
▷ Protected methods | 18 | 1.62% |
▷ Private methods | 78 | 7.03% |
Functions | 82 | |
▷ Named functions | 50 | 60.98% |
▷ Anonymous functions | 32 | 39.02% |
Constants | 113 | |
▷ Global constants | 2 | 1.77% |
▷ Class constants | 111 | 98.23% |
▷ Public constants | 90 | 81.08% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin