Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.81ms] Passed 4 tests
This is a short check of server-side resources used by Floating Button Call To Action
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.67 ▼4.34 |
Dashboard /wp-admin | 3.32 ▼0.02 | 50.25 ▼12.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.30 ▼3.36 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.51 ▼14.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.34 ▲0.67 |
Floating CTA Button /wp-admin/options-general.php?page=cta-kit-settings | 3.21 | 38.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
cta_kit_enable_page_post_buttons |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
cta_kit_enable_default_button |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Floating Button Call To Action
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲144 | 13.98 ▼0.39 | 6.00 ▲3.96 | 45.53 ▲1.80 |
Dashboard /wp-admin | 2,210 ▲25 | 5.97 ▲1.10 | 96.01 ▼21.66 | 36.96 ▼10.75 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.03 | 35.02 ▲0.15 | 33.87 ▼1.06 |
Add New Post /wp-admin/post-new.php | 6,249 ▲4,735 | 25.84 ▲2.26 | 872.87 ▲218.06 | 58.57 ▲7.92 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.15 ▼0.12 | 93.40 ▼3.56 | 43.17 ▲0.61 |
Floating CTA Button /wp-admin/options-general.php?page=cta-kit-settings | 970 | 2.23 | 24.32 | 32.59 |
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
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- cta_kit_enable_page_post_buttons
- can_compress_scripts
- cta_kit_enable_default_button
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-button-call-to-action/cta-kit-block/index.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-button-call-to-action/floating-button-call-to-action.php:14
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Floating Button Call To Action Settings Page), #2 (Live on the site.)
floating-button-call-to-action/floating-button-call-to-action.php Passed 13 tests
The principal PHP file in "Floating Button Call To Action" v. 1.0 is loaded by WordPress automatically on each request
51 characters long description:
Adds a floating button call to action to your site.
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
Success! There were no dangerous files found in this plugin607 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 49 | 1 | 255 |
PHP | 3 | 50 | 21 | 237 |
JavaScript | 3 | 14 | 3 | 115 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 20 | |
▷ Named functions | 20 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin