Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼6.37ms] Passed 4 tests
An overview of server-side resources used by Fly Button
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 45.14 ▲4.08 |
Dashboard /wp-admin | 3.52 ▲0.22 | 47.40 ▼2.69 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 48.89 ▲2.25 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 82.46 ▼24.05 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.80 ▼1.00 |
SMDP Fly Button Settings /wp-admin/options-general.php?page=smdp_Fly_Button_settings | 3.44 | 38.51 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
smdp_Fly_Button_version |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fly Button
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲139 | 13.80 ▼0.55 | 9.16 ▲7.49 | 41.01 ▼2.51 |
Dashboard /wp-admin | 2,203 ▲26 | 5.50 ▼0.03 | 85.54 ▼1.08 | 39.86 ▲3.02 |
Posts /wp-admin/edit.php | 2,090 ▼10 | 2.01 ▲0.00 | 35.58 ▼2.17 | 34.40 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,533 ▼146 | 23.35 ▲1.11 | 654.61 ▼33.95 | 58.25 ▲4.55 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.24 ▲0.06 | 98.43 ▼14.35 | 44.87 ▼2.45 |
SMDP Fly Button Settings /wp-admin/options-general.php?page=smdp_Fly_Button_settings | 1,083 | 3.10 | 47.54 | 26.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- smdp_Fly_Button_version
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (SMDP Fly Button Main Settings.) image missing
smdp-fly-button/smdp-fly-button.php Passed 13 tests
The principal PHP file in "Fly Button" v. 1.0.0 is loaded by WordPress automatically on each request
44 characters long description:
Plugin for adding a fly button to your site.
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
Good job! No executable or dangerous file extensions detected1,032 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 408 | 428 | 945 |
JavaScript | 5 | 16 | 6 | 55 |
PO File | 1 | 8 | 9 | 31 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 37 | 94.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.13% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin