Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▲1.33ms] Passed 4 tests
This is a short check of server-side resources used by Particle WordPress Backgrounds
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 43.44 ▲4.08 |
Dashboard /wp-admin | 3.57 ▲0.27 | 51.55 ▲5.74 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 47.98 ▼3.23 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 95.58 ▲2.63 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.91 ▲1.83 |
Add New /wp-admin/post-new.php?post_type=ssf_particle_hook | 6.19 | 82.03 |
All Particle Hooks /wp-admin/edit.php?post_type=ssf_particle_hook | 3.53 | 38.20 |
Full Page Settings /wp-admin/edit.php?post_type=ssf_particle_hook&page=swap-snow-fall | 3.46 | 32.04 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
_swap_snow_fall_db_version |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Particle WordPress Backgrounds
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.43 ▼0.96 | 1.71 ▲0.13 | 44.39 ▼1.53 |
Dashboard /wp-admin | 2,263 ▲72 | 5.13 ▲0.30 | 100.32 ▼1.82 | 38.67 ▼5.28 |
Posts /wp-admin/edit.php | 2,148 ▲62 | 2.52 ▲0.53 | 41.84 ▲1.11 | 35.69 ▼2.09 |
Add New Post /wp-admin/post-new.php | 1,558 ▲44 | 23.35 ▲5.85 | 601.57 ▼90.20 | 34.13 ▼23.27 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.50 ▲0.25 | 98.37 ▼0.27 | 42.02 ▼3.14 |
Add New /wp-admin/post-new.php?post_type=ssf_particle_hook | 1,561 | 17.59 | 975.27 | 28.70 |
All Particle Hooks /wp-admin/edit.php?post_type=ssf_particle_hook | 1,109 | 2.27 | 38.73 | 31.37 |
Full Page Settings /wp-admin/edit.php?post_type=ssf_particle_hook&page=swap-snow-fall | 1,216 | 2.26 | 51.41 | 31.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- _swap_snow_fall_db_version
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/swap-snow-fall/classes/admin/class-ssf-menu.php
- > /wp-content/plugins/swap-snow-fall/classes/class-ssf-frontend.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant SSF_URL - assumed 'SSF_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/swap-snow-fall/custom-hook/class-ssf-custom-hook-post-type.php on line 9
- > PHP Warning
Use of undefined constant SSF_DIR - assumed 'SSF_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/swap-snow-fall/custom-hook/class-ssf-custom-hook-post-type.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/swap-snow-fall/classes/class-ssf-loader.php:66
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/swap-snow-fall/custom-hook/class-ssf-custom-hook-post-type.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/swap-snow-fall/classes/class-ssf-helper.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/swap-snow-fall/swap-snow-fall.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Block_Parser' not found in wp-content/plugins/swap-snow-fall/custom-hook/includes/class-ssf-wp-block-parser.php:13
- > PHP Fatal error
Uncaught Error: Class 'SSF_Page_Builder_Compatibility' not found in wp-content/plugins/swap-snow-fall/classes/compatibility/class-ssf-gutenberg-compatibility.php:14
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/post-new.php?post_type=ssf_particle_hook
- > Console-api (warning) in unknown
/wp-includes/js/dist/block-editor.min.js?ver=0cd49e3f951fc97cabb7 25:219944 "ssf-block-editor-styles-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe." link#ssf-block-editor-styles-css
- > GET request to /wp-admin/post-new.php?post_type=ssf_particle_hook
- > Console-api (warning) in unknown
/wp-includes/js/dist/block-editor.min.js?ver=0cd49e3f951fc97cabb7 25:219944 "ssf-block-editor-styles-inline-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe." style#ssf-block-editor-styles-inline-css
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: customize background, particle js, backgrounds, snow effect, background...
swap-snow-fall/swap-snow-fall.php 92% from 13 tests
The main PHP file in "Particle WordPress Backgrounds" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 235 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,369 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 494 | 293 | 1,954 |
PHP | 10 | 194 | 493 | 1,316 |
CSS | 2 | 9 | 8 | 99 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 23.12 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 52 | |
▷ Static methods | 7 | 13.46% |
▷ Public methods | 50 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.85% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 10 | |
▷ Global constants | 9 | 90.00% |
▷ Class constants | 1 | 10.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin