Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▲2.86ms] Passed 4 tests
Analyzing server-side resources used by Snowball
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 48.06 ▲4.61 |
Dashboard /wp-admin | 3.46 ▲0.12 | 56.24 ▼6.00 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 60.46 ▲9.15 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 100.36 ▲6.00 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 44.71 ▲6.83 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=snowball | 3.37 | 50.71 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=snowball | 3.37 | 39.67 |
Server storage [IO: ▲4.43MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 469 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_snowball_blocks |
wp_snowball_articles |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
category_children |
widget_theysaidso_widget |
can_compress_scripts |
snowball_db_version |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Snowball
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 14.38 ▲0.16 | 1.77 ▼0.24 | 40.28 ▼11.74 |
Dashboard /wp-admin | 2,233 ▲56 | 5.66 ▼0.03 | 90.22 ▼4.21 | 40.58 ▼3.06 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.05 ▲0.02 | 39.31 ▼1.39 | 35.18 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,575 ▲43 | 21.04 ▼2.12 | 668.90 ▼9.69 | 58.66 ▲4.90 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.17 ▲0.04 | 97.21 ▼20.68 | 47.12 ▼2.25 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=snowball | 1,490 | 2.15 | 28.20 | 32.05 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=snowball | 1,351 | 2.17 | 28.95 | 31.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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 2 tables in the database
- wp_snowball_blocks
- wp_snowball_articles
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- category_children
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- snowball_db_version
Smoke tests 50% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/snowball/inc/snowball-options.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function setup_postdata() in wp-content/plugins/snowball/inc/snowball-editor.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/snowball/snowball.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/snowball/inc/snowball-enqueue.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function setup_postdata() in wp-content/plugins/snowball/inc/snowball-settings.php:337
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/snowball/inc/snowball-config.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function setup_postdata() in wp-content/plugins/snowball/snowball-template.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/snowball/inc/snowball-template-theme.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/snowball/inc/snowball-database.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/snowball/inc/snowball-template-default.php:1
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
- Plugin Name: You should set the name of your plugin on the first line (
=== snowball ===
)
snowball/snowball.php Passed 13 tests
"Snowball" version 0.4.20's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
74 characters long description:
A block-based editor for authoring modern, immersive longform web articles
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin20,120 lines of code in 416 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 62 | 1,638 | 1,279 | 12,125 |
HTML | 49 | 334 | 3 | 2,122 |
JSON | 268 | 1 | 0 | 1,907 |
CSS | 20 | 188 | 71 | 1,708 |
PHP | 10 | 224 | 109 | 979 |
SVG | 3 | 0 | 0 | 811 |
Markdown | 3 | 143 | 0 | 390 |
Sass | 1 | 6 | 3 | 78 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 33 | |
▷ Named functions | 33 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected