Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.41ms] Passed 4 tests
Server-side resources used by XpressRun Local Delivery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 46.17 ▲2.24 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.38 ▼3.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.69 ▼2.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.63 ▼5.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.10 ▲2.20 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 119 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for XpressRun Local Delivery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.14 ▼1.45 | 1.58 ▼0.16 | 40.96 ▼1.24 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▲0.92 | 96.70 ▼15.77 | 39.04 ▼3.65 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▲0.04 | 38.71 ▼3.11 | 34.59 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.33 ▼4.84 | 609.16 ▼43.69 | 55.40 ▲6.96 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▲0.01 | 93.39 ▼5.87 | 39.76 ▼2.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/same-day-delivery/xpressrun.php
- 29× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Dumper\\AbstractDumper' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Dumper/CliDumper.php:22
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Caster\\EnumStub' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Caster/ArgsStub.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Cloner\\ClonerInterface' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Cloner/AbstractCloner.php:22
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Cloner\\AbstractCloner' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Cloner/VarCloner.php:17
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Console\\Command\\Command' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Command/ServerDumpCommand.php:37
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Caster\\EnumStub' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Caster/FrameStub.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\DumpDescriptorInterface' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Command/Descriptor/HtmlDescriptor.php:25
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Dumper\\CliDumper' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Dumper/HtmlDumper.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Stringable' not found in wp-content/plugins/same-day-delivery/vendor/symfony/polyfill-php80/PhpToken.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Dumper\\DataDumperInterface' not found in wp-content/plugins/same-day-delivery/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in same-day-delivery/assets to your readme.txt
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Contributors: The plugin contributors field is missing
same-day-delivery/xpressrun.php 92% from 13 tests
The main PHP file in "XpressRun Local Delivery" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("same-day-delivery.php" instead of "xpressrun.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected12,154 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 99 | 1,708 | 1,804 | 11,466 |
JSON | 5 | 0 | 0 | 411 |
CSS | 1 | 0 | 0 | 130 |
Markdown | 4 | 32 | 0 | 92 |
JavaScript | 3 | 6 | 2 | 55 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 17.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 4.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 76 | |
▷ Abstract classes | 3 | 3.95% |
▷ Concrete classes | 73 | 96.05% |
▷ Final classes | 10 | 13.70% |
Methods | 422 | |
▷ Static methods | 214 | 50.71% |
▷ Public methods | 350 | 82.94% |
▷ Protected methods | 26 | 6.16% |
▷ Private methods | 46 | 10.90% |
Functions | 103 | |
▷ Named functions | 92 | 89.32% |
▷ Anonymous functions | 11 | 10.68% |
Constants | 68 | |
▷ Global constants | 7 | 10.29% |
▷ Class constants | 61 | 89.71% |
▷ Public constants | 41 | 67.21% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected