Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/mcb-stats/mcb-stats.php+13
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.75ms] Passed 4 tests
A check of server-side resources used by MCB - Stats
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 3.98 ▼32.58 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.15 ▼46.07 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.66 ▼39.61 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.35 ▼92.73 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.24 ▼32.47 |
Server storage [IO: ▲8.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 154 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mcb_stats |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for MCB - Stats
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 13.93 ▼0.37 | 6.06 ▲4.31 | 39.42 ▼2.78 |
Dashboard /wp-admin | 2,222 ▲31 | 4.82 ▼0.05 | 103.59 ▼6.90 | 41.67 ▼1.91 |
Posts /wp-admin/edit.php | 2,102 ▲16 | 2.05 ▲0.05 | 34.42 ▼3.14 | 33.63 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.33 ▲0.01 | 668.34 ▼13.01 | 52.71 ▼2.50 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.22 ▼0.03 | 95.39 ▼18.00 | 45.00 ▼2.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/mcb-stats/mcb-stats.php+13
date_default_timezone_set(): Timezone ID '' is invalid
- Zombie tables were found after uninstall: 1 table
- wp_mcb_stats
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Requires at least: Invalid version format
mcb-stats/mcb-stats.php 92% from 13 tests
"MCB - Stats" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin149,553 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 57 | 17,252 | 43,370 | 143,554 |
CSS | 60 | 173 | 279 | 5,345 |
PHP | 1 | 60 | 14 | 558 |
Sass | 2 | 18 | 2 | 96 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 14 | |
▷ Named functions | 14 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
DataTables/DataTables-1.10.13/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
DataTables/DataTables-1.10.13/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |