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.12MB] [CPU: ▼5.84ms] Passed 4 tests
Server-side resources used by Sticky Floating Button (Book Now, Contact, Call To Action...)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 46.61 ▲8.44 |
Dashboard /wp-admin | 3.45 ▲0.10 | 47.96 ▼12.69 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 43.84 ▼5.63 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 81.22 ▼11.32 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.11 ▲6.30 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Sticky Floating Button (Book Now, Contact, Call To Action...)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.84 ▼0.54 | 1.15 ▼0.50 | 41.27 ▼2.85 |
Dashboard /wp-admin | 2,245 ▲57 | 5.32 ▲0.45 | 104.60 ▲1.84 | 86.46 ▲46.52 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.35 ▲0.35 | 36.63 ▼5.19 | 34.69 ▼4.46 |
Add New Post /wp-admin/post-new.php | 7,009 ▲5,495 | 23.98 ▲6.49 | 962.10 ▲285.32 | 47.19 ▼10.10 |
Media Library /wp-admin/upload.php | 1,415 ▲33 | 4.49 ▲0.23 | 99.10 ▲2.62 | 64.50 ▲19.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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 | 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sticky-button/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in sticky-button/assets to your readme.txt
sticky-button/index.php 85% from 13 tests
Analyzing the main PHP file in "Sticky Floating Button (Book Now, Contact, Call To Action...)" version 1.0
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("sticky-button.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
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 detected716 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 106 | 41 | 711 |
JavaScript | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 1.16MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 59.96KB | 23.30KB | ▼ 61.14% |
assets/screenshot-4.png | 86.20KB | 26.33KB | ▼ 69.46% |
assets/screenshot-3.png | 449.44KB | 135.42KB | ▼ 69.87% |
assets/icon.png | 0.77KB | 0.84KB | 0.00% |
assets/screenshot-2.png | 582.71KB | 185.88KB | ▼ 68.10% |