Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼3.14ms] Passed 4 tests
Analyzing server-side resources used by Meta Box - WordPress Custom Fields Framework
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 45.68 ▲1.78 |
Dashboard /wp-admin | 3.72 ▲0.37 | 52.39 ▼12.96 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 49.36 ▲1.53 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 98.46 ▼2.90 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 36.17 ▲2.05 |
Dashboard /wp-admin/plugins.php?page=meta-box | 3.67 | 38.96 |
Server storage [IO: ▲4.80MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 332 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Meta Box - WordPress Custom Fields Framework: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.27 ▼0.08 | 1.72 ▲0.10 | 43.69 ▲0.01 |
Dashboard /wp-admin | 2,195 ▲15 | 5.52 ▼0.10 | 83.07 ▼16.85 | 35.99 ▼10.88 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▼0.00 | 35.47 ▼0.19 | 38.31 ▲4.87 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.24 ▼2.10 | 667.01 ▲31.15 | 48.54 ▼22.87 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.13 ▼0.09 | 95.91 ▼8.16 | 41.12 ▼3.18 |
Dashboard /wp-admin/plugins.php?page=meta-box | 1,749 | 8.95 | 283.62 | 67.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5, #6 in meta-box/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 28 tag instead of maximum 10
meta-box/meta-box.php 92% from 13 tests
Analyzing the main PHP file in "Meta Box - WordPress Custom Fields Framework" version 5.9.0
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
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
Good job! No executable or dangerous file extensions detected75,099 lines of code in 315 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 59,301 |
JavaScript | 158 | 1,136 | 1,428 | 6,665 |
PHP | 113 | 1,299 | 3,131 | 6,617 |
CSS | 41 | 174 | 117 | 2,511 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 91 | |
▷ Abstract classes | 6 | 6.59% |
▷ Concrete classes | 85 | 93.41% |
▷ Final classes | 0 | 0.00% |
Methods | 482 | |
▷ Static methods | 320 | 66.39% |
▷ Public methods | 416 | 86.31% |
▷ Protected methods | 34 | 7.05% |
▷ Private methods | 32 | 6.64% |
Functions | 18 | |
▷ Named functions | 11 | 61.11% |
▷ Anonymous functions | 7 | 38.89% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ 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
14 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
img/jqueryui/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
img/jqueryui/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
img/jqueryui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |