Benchmarks
Plugin footprint 65% 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: ▼1.86MB] [CPU: ▼58.87ms] Passed 4 tests
This is a short check of server-side resources used by Springbot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.24 ▼38.07 |
Dashboard /wp-admin | 2.16 ▼1.19 | 6.10 ▼57.36 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 7.60 ▼41.50 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 6.48 ▼98.53 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 6.09 ▼31.78 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Springbot: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 14.35 ▲0.16 | 1.93 ▲0.11 | 39.35 ▼6.00 |
Dashboard /wp-admin | 2,241 ▲67 | 5.64 ▼0.03 | 94.43 ▼11.05 | 44.75 ▲3.27 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 1.98 ▲0.04 | 38.94 ▲0.16 | 44.71 ▲10.45 |
Add New Post /wp-admin/post-new.php | 1,413 ▼113 | 17.50 ▼5.53 | 572.06 ▼100.07 | 65.97 ▲13.39 |
Media Library /wp-admin/upload.php | 1,452 ▲52 | 4.19 ▼0.07 | 95.27 ▼14.30 | 43.19 ▼4.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/springbot/views/springbot-requirements-error.php+13
Undefined variable: wp_version
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/springbot/views/springbot-requirements-error.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/springbot/woocommerce-springbot.php:19
- > PHP Warning
Use of undefined constant SPRINGBOT_NAME - assumed 'SPRINGBOT_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/springbot/views/springbot-requirements-error.php on line 2
- > PHP Warning
Use of undefined constant SPRINGBOT_REQUIRED_WP_VERSION - assumed 'SPRINGBOT_REQUIRED_WP_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/springbot/views/springbot-requirements-error.php on line 12
- > PHP Warning
Use of undefined constant SPRINGBOT_REQUIRED_PHP_VERSION - assumed 'SPRINGBOT_REQUIRED_PHP_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/springbot/views/springbot-requirements-error.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Connect Springbot to your Wordpress site.), #2 (Seamlessly pull down data for marketing.), #3 (Send emails from Springbot and lead customers to your site.)
- Requires at least: Version format is invalid
springbot/woocommerce-springbot.php 92% from 13 tests
The main PHP script in "Springbot" version 1.0.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("springbot.php" instead of "woocommerce-springbot.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
Everything looks great! No dangerous files found in this plugin1,691 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 229 | 290 | 1,121 |
Markdown | 2 | 128 | 0 | 568 |
make | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 9 | 14.52% |
▷ Public methods | 52 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 16.13% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
No PNG files were detected