Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.17MB] [CPU: ▼11.86ms] Passed 4 tests
A check of server-side resources used by FixBar - Fixed Bar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.40 ▼7.05 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.57 ▼3.62 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.75 ▲2.36 |
Add New Post /wp-admin/post-new.php | 5.15 ▼0.74 | 65.72 ▼33.38 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.32 ▼3.37 |
Server storage [IO: ▲2.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for FixBar - Fixed Bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲216 | 13.91 ▼0.77 | 5.39 ▲3.77 | 36.73 ▼10.82 |
Dashboard /wp-admin | 2,247 ▲59 | 5.14 ▲0.23 | 103.11 ▼1.22 | 39.89 ▼1.15 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.54 ▲0.50 | 43.30 ▲9.27 | 35.93 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,974 ▲455 | 21.87 ▼1.26 | 679.55 ▲44.11 | 78.45 ▲29.71 |
Media Library /wp-admin/upload.php | 1,429 ▲38 | 4.53 ▲0.32 | 101.96 ▼1.39 | 41.12 ▼3.94 |
FixBar Settings /wp-admin/fixbar.php | 26 | 0.44 | 0.08 | 14.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/fixed-bar/inc/templates/fixed-bar-settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fixed-bar/fixed-bar.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fixed-bar/inc/templates/custom-meta-box.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fixed-bar/inc/function-settings-page.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/fixbar.php
- > Network (severe)
wp-admin/fixbar.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: fixed bar, popup, fixed button
fixed-bar/fixed-bar.php Passed 13 tests
The entry point to "FixBar - Fixed Bar" version 1.0.2 is a PHP file that has certain tags in its header comment area
47 characters long description:
Adds a fixed block and the button to your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected7,805 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 3,844 |
CSS | 7 | 1,244 | 54 | 2,823 |
JavaScript | 4 | 8 | 77 | 811 |
PHP | 4 | 79 | 68 | 327 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 16 | |
▷ Named functions | 16 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected