Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.88MB] [CPU: ▲6.10ms] Passed 4 tests
An overview of server-side resources used by Solid Post Likes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.39 ▲1.92 | 55.90 ▲19.00 |
Dashboard /wp-admin | 5.23 ▲1.88 | 61.19 ▲4.35 |
Posts /wp-admin/edit.php | 5.27 ▲1.91 | 68.50 ▲18.69 |
Add New Post /wp-admin/post-new.php | 7.78 ▲1.89 | 98.11 ▼15.77 |
Media Library /wp-admin/upload.php | 5.06 ▲1.83 | 49.54 ▲17.11 |
Server storage [IO: ▲10.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 543 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Solid Post Likes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,074 ▲328 | 19.15 ▲4.72 | 5.21 ▲3.61 | 40.52 ▼1.07 |
Dashboard /wp-admin | 2,397 ▲208 | 9.36 ▲4.32 | 228.91 ▲109.50 | 41.18 ▼0.92 |
Posts /wp-admin/edit.php | 2,309 ▲217 | 6.23 ▲4.22 | 84.10 ▲42.07 | 32.63 ▼6.28 |
Add New Post /wp-admin/post-new.php | 1,596 ▲77 | 19.97 ▼3.42 | 692.67 ▼7.12 | 37.84 ▼18.75 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 6.66 ▲2.46 | 110.07 ▲11.19 | 42.73 ▼1.55 |
oacs SPL /wp-admin/crb_carbon_fields_container_oacs_spl.php | 26 | 0.44 | 0.06 | 16.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 123× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/core/Container/Condition/User_Capability_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Key_Value_Datastore' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/core/Datastore/Widget_Datastore.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Field_Icon\\Providers\\Icon_Provider_Interface' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-field-icon/core/Providers/Dashicons_Provider.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Holder_Interface' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/core/Field/Field.php:17
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Field_Icon\\Providers\\Icon_Provider_Interface' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-field-icon/core/Providers/Font_Awesome_Provider.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/core/Container/Broken_Container.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/core/Pimple/Exception/FrozenServiceException.php:36
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/solid-post-likes/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Parent_Condition.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_oacs_spl.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_oacs_spl.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: post likes, like, like button
solid-post-likes/solid-post-likes.php 92% from 13 tests
This is the main PHP file of "Solid Post Likes" version 1.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin35,383 lines of code in 473 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 183 | 7,231 | 11,170 | 16,775 |
PHP | 184 | 3,015 | 7,552 | 10,716 |
PO File | 30 | 957 | 1,176 | 2,595 |
CSS | 12 | 262 | 1,167 | 2,495 |
Sass | 50 | 396 | 3 | 2,044 |
JSON | 9 | 2 | 0 | 573 |
Markdown | 4 | 45 | 0 | 146 |
SVG | 1 | 0 | 0 | 39 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 30 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 154 | |
▷ Abstract classes | 11 | 7.14% |
▷ Concrete classes | 143 | 92.86% |
▷ Final classes | 2 | 1.40% |
Methods | 1,007 | |
▷ Static methods | 111 | 11.02% |
▷ Public methods | 828 | 82.22% |
▷ Protected methods | 166 | 16.48% |
▷ Private methods | 13 | 1.29% |
Functions | 115 | |
▷ Named functions | 25 | 21.74% |
▷ Anonymous functions | 90 | 78.26% |
Constants | 37 | |
▷ Global constants | 8 | 21.62% |
▷ Class constants | 29 | 78.38% |
▷ Public constants | 29 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin