Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.19ms] Passed 4 tests
An overview of server-side resources used by FlyWP Helper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.46 ▼3.94 |
Dashboard /wp-admin | 3.39 ▲0.04 | 53.56 ▼13.44 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.77 ▲2.76 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.05 ▼14.14 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.82 ▲2.79 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by FlyWP Helper
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.28 ▲0.03 | 1.75 ▲0.07 | 36.32 ▼4.64 |
Dashboard /wp-admin | 2,201 ▲24 | 5.63 ▼0.04 | 87.84 ▼1.75 | 42.73 ▲2.34 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.04 | 35.40 ▼2.10 | 35.23 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.32 ▼0.22 | 593.07 ▼91.66 | 67.55 ▲17.40 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.14 ▼0.07 | 101.39 ▼18.56 | 47.47 ▲1.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | 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
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/flywp/vendor/wedevs/wp-utils/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/flywp/vendor/wedevs/wp-utils/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/flywp/views/admin.php:6
- > PHP Warning
require_once(wp-content/plugins/flywp/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/flywp/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function flywp() in wp-content/plugins/flywp/views/op-cache.php:4
- > PHP Warning
require_once(wp-content/plugins/flywp/vendor/wedevs/wp-utils/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/flywp/vendor/wedevs/wp-utils/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/flywp/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/flywp/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/flywp/views/page-cache.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Requires php: Invalid version format
flywp/flywp.php Passed 13 tests
The principal PHP file in "FlyWP Helper" v. 0.3.3 is loaded by WordPress automatically on each request
23 characters long description:
Helper plugin for FlyWP
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
There were no executable files found in this plugin2,116 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 466 | 994 | 1,744 |
CSS | 2 | 73 | 1 | 249 |
JSON | 1 | 0 | 0 | 61 |
Markdown | 1 | 20 | 0 | 34 |
JavaScript | 2 | 6 | 3 | 23 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 1 | 4.55% |
Methods | 136 | |
▷ Static methods | 22 | 16.18% |
▷ Public methods | 118 | 86.76% |
▷ Protected methods | 2 | 1.47% |
▷ Private methods | 16 | 11.76% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 10 | |
▷ Global constants | 6 | 60.00% |
▷ Class constants | 4 | 40.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin