Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.54ms] Passed 4 tests
Server-side resources used by Meta-box GalleryMeta
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.84 ▼2.44 |
Dashboard /wp-admin | 3.43 ▲0.08 | 47.15 ▼16.96 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 46.28 ▼1.80 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 91.67 ▼0.96 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 34.71 ▲1.92 |
MBG Tags /wp-admin/edit-tags.php?taxonomy=mbg_tag&post_type=mb_gallery | 3.34 | 32.34 |
MBG Categories /wp-admin/edit-tags.php?taxonomy=mbg_category&post_type=mb_gallery | 3.35 | 32.83 |
All MBG /wp-admin/edit.php?post_type=mb_gallery | 3.40 | 34.20 |
Add New /wp-admin/post-new.php?post_type=mb_gallery | 3.50 | 51.10 |
Settings /wp-admin/edit.php?post_type=mb_gallery&page=mbg_settings | 3.32 | 30.24 |
Server storage [IO: ▲0.63MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Meta-box GalleryMeta
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲156 | 13.49 ▼0.79 | 9.33 ▲7.67 | 39.23 ▼4.78 |
Dashboard /wp-admin | 2,237 ▲63 | 5.63 ▼0.01 | 92.60 ▼11.22 | 42.36 ▲0.43 |
Posts /wp-admin/edit.php | 2,142 ▲45 | 2.03 ▲0.02 | 39.31 ▲3.09 | 35.77 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.50 ▼0.23 | 663.90 ▼42.98 | 63.00 ▲7.66 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.19 ▲0.05 | 95.23 ▲0.14 | 41.75 ▼2.72 |
MBG Tags /wp-admin/edit-tags.php?taxonomy=mbg_tag&post_type=mb_gallery | 1,282 | 2.12 | 28.03 | 29.29 |
MBG Categories /wp-admin/edit-tags.php?taxonomy=mbg_category&post_type=mb_gallery | 1,310 | 2.12 | 29.50 | 30.20 |
All MBG /wp-admin/edit.php?post_type=mb_gallery | 1,092 | 1.93 | 30.59 | 29.81 |
Add New /wp-admin/post-new.php?post_type=mb_gallery | 2,753 | 7.94 | 177.44 | 68.35 |
Settings /wp-admin/edit.php?post_type=mb_gallery&page=mbg_settings | 830 | 2.00 | 24.44 | 26.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-box-gallerymeta/include/posttype.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/meta-box-gallerymeta/gallerymetaboxes.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/meta-box-gallerymeta/templates/single-mb_gallery.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/meta-box-gallerymeta/include/medianame.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-box-gallerymeta/include/enqueue.php:8
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: image, new page, gallery
meta-box-gallerymeta/gallerymetaboxes.php 85% from 13 tests
The main file in "Meta-box GalleryMeta" v. 2.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("meta-box-gallerymeta.php" instead of "gallerymetaboxes.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 187 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 plugin3,009 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 392 | 44 | 2,202 |
PHP | 5 | 14 | 46 | 448 |
JavaScript | 5 | 222 | 114 | 359 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/slider_arrow_right.png | 0.48KB | 0.17KB | ▼ 63.89% |
images/lightbox-arrow-right.png | 1.29KB | 1.06KB | ▼ 17.69% |
images/icon-zoom32.png | 1.60KB | 1.78KB | 0.00% |
images/slider_bullets.png | 0.44KB | 0.35KB | ▼ 20.80% |
images/play-button-square.png | 4.48KB | 1.62KB | ▼ 63.89% |