Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/best-splash/best-splash.php+29
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.91MB] [CPU: ▼50.61ms] Passed 4 tests
An overview of server-side resources used by Best Splash
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.84 ▼34.87 |
Dashboard /wp-admin | 2.10 ▼1.21 | 6.84 ▼43.75 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.78 ▼39.27 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.98 ▼84.55 |
Media Library /wp-admin/upload.php | 2.10 ▼1.14 | 5.92 ▼27.07 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
bestSplash |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Best Splash
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.29 ▼1.09 | 1.57 ▼0.19 | 41.95 ▼7.34 |
Dashboard /wp-admin | 2,225 ▲34 | 5.85 ▲0.95 | 106.64 ▼1.11 | 41.51 ▼2.29 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▲0.00 | 34.82 ▼2.58 | 35.24 ▲5.32 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.36 ▲0.19 | 636.77 ▼44.58 | 51.15 ▼0.43 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.21 ▼0.05 | 94.72 ▼8.41 | 40.24 ▼3.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/best-splash/best-splash.php+29
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-splash/core/init.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/best-splash/admin/admin.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== best-splash ===
) - Screenshots: Screenshot #1 (screenshot-1.png) image not found
best-splash/best-splash.php Passed 13 tests
"Best Splash" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
Keep any WordPress site look cool, attractive, and engage your readers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin932 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 287 | 510 | 610 |
PHP | 3 | 4 | 13 | 226 |
CSS | 1 | 1 | 2 | 96 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
PNG images were not found in this plugin