Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼34.13ms] Passed 4 tests
A check of server-side resources used by float block
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.48 ▲2.68 |
Dashboard /wp-admin | 3.00 ▼0.30 | 23.13 ▼30.88 |
Posts /wp-admin/edit.php | 3.00 ▼0.35 | 22.17 ▼24.37 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 23.04 ▼67.95 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 22.09 ▼13.33 |
Плавающий блок /wp-admin/options-general.php?page=Computytemplate | 3.00 | 22.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_example |
Browser metrics Passed 4 tests
An overview of browser requirements for float block
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.27 ▼1.11 | 1.73 ▲0.17 | 42.95 ▼0.55 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▼0.03 | 99.49 ▼3.23 | 37.88 ▼6.35 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 35.72 ▼0.37 | 32.13 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.50 ▲0.41 | 670.99 ▼9.30 | 56.06 ▼2.68 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.10 | 94.84 ▼15.62 | 44.27 ▼4.05 |
Плавающий блок /wp-admin/options-general.php?page=Computytemplate | 816 | 2.18 | 22.82 | 27.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_example
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Computytemplate
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: text, block, float
float-block/float-block-plugin.php 92% from 13 tests
The main PHP file in "float block" ver. 1.6 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("float-block.php" instead of "float-block-plugin.php")
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
Good job! No executable or dangerous file extensions detected154 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 16 | 154 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin