Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/yakkyofy/functions/functions.php+13
Constant YAKKYOFY_VERSION already defined
Server metrics [RAM: ▼1.78MB] [CPU: ▼49.02ms] Passed 4 tests
An overview of server-side resources used by Yakkyofy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.26 | 6.04 ▼31.91 |
Dashboard /wp-admin | 2.23 ▼1.08 | 8.88 ▼40.69 |
Posts /wp-admin/edit.php | 2.23 ▼1.13 | 6.96 ▼38.36 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.66 | 8.39 ▼85.11 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 7.60 ▼27.63 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 180 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Yakkyofy
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.27 ▼0.33 | 1.61 ▼0.18 | 40.70 ▼3.58 |
Dashboard /wp-admin | 2,205 ▲34 | 5.51 ▼0.10 | 85.92 ▼17.31 | 40.80 ▼2.50 |
Posts /wp-admin/edit.php | 2,117 ▲20 | 1.97 ▼0.04 | 34.19 ▼2.14 | 33.79 ▲3.57 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 18.23 ▼4.79 | 643.98 ▲1.97 | 64.30 ▲3.90 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.18 ▼0.03 | 96.71 ▲0.32 | 40.58 ▼0.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/yakkyofy/functions/functions.php+13
Constant YAKKYOFY_VERSION already defined
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/yakkyofy/vendor/micropackage/requirements/tests/bootstrap.php
- > /wp-content/plugins/yakkyofy/vendor/wpdesk/wp-builder/tests/integration/bootstrap.php
- > /wp-content/plugins/yakkyofy/yakkyofy.php
- > /wp-content/plugins/yakkyofy/vendor/wpdesk/wp-notice/tests/integration/bootstrap.php
- 51× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Yakkyofy\\Engine\\Base' not found in wp-content/plugins/yakkyofy/backend/Admin_Area.php:20
- > PHP Warning
require_once(wp-content/plugins/yakkyofy/vendor/wpdesk/wp-builder/tests/unit/../../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/yakkyofy/vendor/wpdesk/wp-builder/tests/unit/bootstrap.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'WPDesk\\PluginBuilder\\Builder\\AbstractBuilder' not found in wp-content/plugins/yakkyofy/vendor/wpdesk/wp-builder/src/Builder/InfoActivationBuilder.php:16
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/yakkyofy/vendor/wpdesk/wp-notice/tests/unit/../../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/yakkyofy/vendor/wpdesk/wp-notice/tests/unit/bootstrap.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Yakkyofy\\Engine\\Base' not found in wp-content/plugins/yakkyofy/integrations/Yakkyofy.php:20
- > PHP Fatal error
Uncaught Error: Class 'Yakkyofy\\Engine\\Base' not found in wp-content/plugins/yakkyofy/backend/Settings_Page.php:20
- > PHP Fatal error
require_once(): Failed opening required '/tests/phpunit/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/yakkyofy/vendor/wpdesk/wp-builder/tests/integration/bootstrap.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/yakkyofy/vendor/micropackage/requirements/tests/Checker/test-wp.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/yakkyofy/vendor/micropackage/requirements/tests/Checker/test-dochooks.php:16
- > PHP Fatal error
Uncaught Error: Class 'WPDesk\otice\otice' not found in wp-content/plugins/yakkyofy/vendor/wpdesk/wp-notice/src/WPDesk/Notice/PermanentDismissibleNotice.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: ecommerce, product sourcing, dropshipping, fulfillment, woocommerce
yakkyofy/yakkyofy.php 77% from 13 tests
Analyzing the main PHP file in "Yakkyofy" version 1.0.9
Please take the time to fix the following:
- Git Repository: An alternative Git repository was detected
- Domain Path: The domain path folder does not exist ("/languages")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected5,961 lines of code in 137 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 1,239 | 2,599 | 4,075 |
JSON | 8 | 0 | 0 | 523 |
Markdown | 11 | 165 | 0 | 415 |
YAML | 7 | 23 | 8 | 253 |
Sass | 1 | 30 | 1 | 158 |
XML | 7 | 24 | 3 | 158 |
SVG | 3 | 0 | 0 | 138 |
Bourne Shell | 1 | 21 | 11 | 120 |
JavaScript | 3 | 1 | 0 | 74 |
PO File | 1 | 9 | 11 | 46 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 5.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 13 | |
Traits | 3 | |
Classes | 56 | |
▷ Abstract classes | 4 | 7.14% |
▷ Concrete classes | 52 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 355 | |
▷ Static methods | 28 | 7.89% |
▷ Public methods | 335 | 94.37% |
▷ Protected methods | 8 | 2.25% |
▷ Private methods | 12 | 3.38% |
Functions | 32 | |
▷ Named functions | 22 | 68.75% |
▷ Anonymous functions | 10 | 31.25% |
Constants | 49 | |
▷ Global constants | 26 | 53.06% |
▷ Class constants | 23 | 46.94% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin