Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.91ms] Passed 4 tests
This is a short check of server-side resources used by FENIX Express
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.59 ▲0.93 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.72 ▼6.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.57 ▼4.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.80 ▼6.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.02 ▼5.80 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 217 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by FENIX Express
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼1.08 | 1.74 ▼0.15 | 43.82 ▼16.66 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.02 | 101.87 ▼4.14 | 44.69 ▼3.89 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 32.79 ▼7.48 | 34.35 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.42 ▼0.02 | 652.14 ▼33.07 | 61.72 ▲5.33 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.13 ▼0.08 | 120.85 ▲18.90 | 51.71 ▲5.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 63× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/psr7/src/MultipartStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Psr7\\Request' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/psr7/src/ServerRequest.php:27
- > PHP Fatal error
Uncaught UnexpectedValueException: creating archive "wp-content/plugins/fenix-express/vendor/paragonie/random_compat/dist/random_compat.phar" disabled by the php.ini setting phar.readonly in /var/www/wordpress/wp-content/plugins/fenix-express/vendor/paragonie/random_compat/other/build_phar.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/fenix-express/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\ClientInterface' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/guzzle/src/Client.php:17
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/fenix-express/vendor/guzzlehttp/promises/src/CancellationException.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: shipping, woocommerce, order tracking, fenix express, fulfillment
fenix-express/fenix-express-wc.php 92% from 13 tests
Analyzing the main PHP file in "FENIX Express" version 1.0.6
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("fenix-express.php" instead of "fenix-express-wc.php")
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
Everything looks great! No dangerous files found in this plugin17,637 lines of code in 198 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 164 | 2,616 | 7,291 | 12,249 |
Markdown | 18 | 1,397 | 0 | 3,965 |
JSON | 12 | 1 | 0 | 1,255 |
JavaScript | 1 | 22 | 21 | 134 |
XML | 1 | 0 | 0 | 19 |
SVG | 1 | 0 | 0 | 12 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 11.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 30 | |
Traits | 10 | |
Classes | 97 | |
▷ Abstract classes | 2 | 2.06% |
▷ Concrete classes | 95 | 97.94% |
▷ Final classes | 35 | 36.84% |
Methods | 900 | |
▷ Static methods | 148 | 16.44% |
▷ Public methods | 718 | 79.78% |
▷ Protected methods | 61 | 6.78% |
▷ Private methods | 121 | 13.44% |
Functions | 163 | |
▷ Named functions | 71 | 43.56% |
▷ Anonymous functions | 92 | 56.44% |
Constants | 75 | |
▷ Global constants | 5 | 6.67% |
▷ Class constants | 70 | 93.33% |
▷ Public constants | 59 | 84.29% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icon.png | 1.21KB | 0.83KB | ▼ 30.71% |