Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Error in wp-content/plugins/cellarweb-multisite-site-notes-and-site-expire/cellarweb-multisite-site-notes-and-site-expire.php+53
Uncaught Error: Call to undefined function CWMN_deregister() in wp-content/plugins/cellarweb-multisite-site-notes-and-site-expire/cellarweb-multisite-site-notes-and-site-expire.php:53
Stack trace:
#0 wp-admin/includes/plugin.php(2318): include_once()
#1 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.61ms] Passed 4 tests
An overview of server-side resources used by CellarWeb Multisite Site Notes and Site Expire
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.50 ▼6.83 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.50 ▼6.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.80 ▲2.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.85 ▼13.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.37 ▼0.29 |
Server storage [IO: ▲6.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by CellarWeb Multisite Site Notes and Site Expire
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.15 ▼1.12 | 1.68 ▼0.15 | 41.51 ▼2.55 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▼0.06 | 95.50 ▼5.79 | 40.54 ▼5.31 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▲0.01 | 35.57 ▼3.77 | 31.58 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,514 ▼31 | 17.79 ▼0.55 | 703.88 ▲64.91 | 49.22 ▼2.45 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.26 ▲0.05 | 95.27 ▼5.23 | 41.69 ▼4.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: A description for screenshot #2 is required in cellarweb-multisite-site-notes-and-site-expire/assets to your readme.txt
cellarweb-multisite-site-notes-and-site-expire/cellarweb-multisite-site-notes-and-site-expire.php 77% from 13 tests
The entry point to "CellarWeb Multisite Site Notes and Site Expire" version 1.00 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9" instead of "5.2")
- Description: The description should be shorter than 140 characters (currently 167 characters long)
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
No dangerous file extensions were detected459 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 134 | 365 |
CSS | 1 | 5 | 3 | 88 |
XML | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 2.99MB with 2.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 574.72KB | 34.32KB | ▼ 94.03% |
assets/icons8-check-mark-48.png | 1.09KB | 0.99KB | ▼ 8.63% |
assets/cellarweb-logo-2022.png | 954.49KB | 191.67KB | ▼ 79.92% |
assets/banner-772x250.png | 689.31KB | 84.04KB | ▼ 87.81% |
assets/icon-128x128.png | 222.79KB | 11.33KB | ▼ 94.91% |