Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▼2.39ms] Passed 4 tests
Server-side resources used by Simple Blog Stats
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 39.14 ▼0.14 |
Dashboard /wp-admin | 3.59 ▲0.28 | 48.23 ▲3.86 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 44.86 ▼2.26 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 92.58 ▼11.00 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 38.57 ▲7.58 |
Simple Blog Stats /wp-admin/options-general.php?page=simple-blog-stats | 3.54 | 48.46 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
sbs_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Blog Stats
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲181 | 14.18 ▼0.17 | 2.20 ▲0.63 | 42.47 ▲3.78 |
Dashboard /wp-admin | 2,323 ▲142 | 5.66 ▼0.06 | 83.95 ▼17.15 | 39.32 ▼2.67 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.01 | 37.07 ▼0.47 | 36.91 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,538 ▲1 | 18.16 ▼0.03 | 638.21 ▲22.89 | 71.32 ▲8.23 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.15 ▼0.07 | 95.95 ▼2.23 | 43.02 ▲0.61 |
Simple Blog Stats /wp-admin/options-general.php?page=simple-blog-stats | 2,115 | 1.86 | 27.77 | 45.51 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 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 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
Almost there! Just fix the following items
- 1× 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/simple-blog-stats/stats-functions.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 11 tag instead of maximum 10
simple-blog-stats/simple-blog-stats.php 92% from 13 tests
"Simple Blog Stats" version 20231025...'s primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "20231025...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,510 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 706 | 113 | 1,510 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 53 | |
▷ Named functions | 53 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
sbs-icon.png | 15.84KB | 9.06KB | ▼ 42.82% |