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 gracefully, with no errors
Server metrics [RAM: ▲0.40MB] [CPU: ▼167.14ms] Passed 4 tests
This is a short check of server-side resources used by Floating Action Buttons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.25 ▲0.41 | 48.00 ▲9.64 |
Dashboard /wp-admin | 3.45 ▲0.40 | 56.27 ▲3.93 |
Posts /wp-admin/edit.php | 3.54 ▲0.43 | 56.02 ▲3.84 |
Add New Post /wp-admin/post-new.php | 5.81 ▲0.38 | 103.92 ▼676.18 |
Media Library /wp-admin/upload.php | 3.40 ▲0.40 | 36.18 ▼0.14 |
Server storage [IO: ▲2.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 148 new files
Database: no new tables, 19 new options
New WordPress options |
---|
global_fake_sale_delay_time |
qc_floating_action_button_disable |
qc_floating_action_button_mode |
position_y |
recommended_products |
qc_fab_global_widget_font_size |
fake_sale_notification_sound |
qc_fab_message_one |
qc_fab_global_notification_delay_time |
position_y_unit |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Floating Action Buttons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,992 ▲420 | 16.61 ▲1.07 | 19.04 ▲7.48 | 53.14 ▼1.94 |
Dashboard /wp-admin | 2,985 ▲51 | 5.89 ▼0.11 | 166.81 ▼64.71 | 119.49 ▲1.62 |
Posts /wp-admin/edit.php | 2,754 ▲15 | 2.72 ▲0.01 | 79.36 ▼2.37 | 97.26 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,693 ▲112 | 18.33 ▲0.04 | 429.59 ▼7.09 | 125.69 ▲0.08 |
Media Library /wp-admin/upload.php | 1,822 ▲12 | 5.02 ▼0.00 | 182.07 ▲16.94 | 118.96 ▼7.82 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 19 options in the database
- sell_notification_off_mobile
- qc_fab_keyword_lang_change
- global_fake_sale_delay_time
- qc_fab_global_notification_delay_time
- qc_floating_action_button_disable
- qc_floating_action_button_loop_notification
- position_y_unit
- position_x
- qc_fab_global_widget_font_size
- qc_fab_floating_action_button_disable_notification_mobile
- ...
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× 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-action-buttons/qc-fab-functions.php:2
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: action buttons, conversion buttons, floating buttons
floating-action-buttons/floating-action-button-main.php 85% from 13 tests
The principal PHP file in "Floating Action Buttons" v. 0.9.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("floating-action-buttons.php" instead of "floating-action-button-main.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin27,197 lines of code in 89 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 20 | 1,373 | 196 | 15,990 |
JavaScript | 64 | 1,109 | 845 | 6,354 |
SVG | 2 | 0 | 0 | 2,959 |
PHP | 3 | 294 | 110 | 1,894 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 169.00 |
▷ Minimum class complexity | 169.00 |
▷ Maximum class complexity | 169.00 |
Average method complexity | 15.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
39 PNG files occupy 0.21MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/custom.png | 9.01KB | 4.90KB | ▼ 45.57% |
images/icon-img.png | 3.75KB | 2.30KB | ▼ 38.61% |
images/ball-item-icon.png | 3.24KB | 1.96KB | ▼ 39.48% |
images/icon-12.png | 5.91KB | 3.10KB | ▼ 47.55% |
images/light-arrow.png | 1.00KB | 0.11KB | ▼ 88.86% |