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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.91ms] Passed 4 tests
A check of server-side resources used by Masy Gallery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.94 ▼12.51 |
Dashboard /wp-admin | 3.39 ▲0.09 | 53.33 ▲3.23 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 57.98 ▲5.94 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 96.06 ▼4.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.54 ▼2.02 |
Documentation /wp-admin/edit.php?post_type=masy-gallery&page=masygal-doc-page | 3.30 | 37.61 |
All Galleries /wp-admin/edit.php?post_type=masy-gallery | 3.37 | 45.37 |
Add New /wp-admin/post-new.php?post_type=masy-gallery | 3.35 | 49.92 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Masy Gallery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,079 ▲318 | 15.26 ▲0.91 | 8.61 ▲7.02 | 42.27 ▼3.74 |
Dashboard /wp-admin | 2,368 ▲191 | 6.22 ▲0.50 | 114.55 ▲21.45 | 39.97 ▼2.52 |
Posts /wp-admin/edit.php | 2,296 ▲196 | 3.31 ▲1.20 | 55.19 ▲19.54 | 35.33 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.00 ▼0.66 | 672.48 ▲41.37 | 40.10 ▼22.85 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.01 ▼0.19 | 89.08 ▼15.81 | 45.12 ▼0.32 |
Documentation /wp-admin/edit.php?post_type=masy-gallery&page=masygal-doc-page | 1,227 | 2.97 | 38.66 | 64.39 |
All Galleries /wp-admin/edit.php?post_type=masy-gallery | 1,276 | 3.24 | 45.13 | 27.41 |
Add New /wp-admin/post-new.php?post_type=masy-gallery | 1,644 | 3.55 | 61.46 | 37.50 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/masy-gallery/inc/masygal-masonry-shortcode.php:71
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/masy-gallery/inc/masygal-post-register.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/masy-gallery/inc/masygal-gallery-metabox.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/masy-gallery/masy-gallery.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/masy-gallery/inc/masygal-doc-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/masy-gallery/inc/masygal-justified-shortcode.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in masy-gallery/assets to your readme.txt
masy-gallery/masy-gallery.php Passed 13 tests
"Masy Gallery" version 1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
40 characters long description:
Just an another wordpress gallery plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin613 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 45 | 17 | 481 |
CSS | 1 | 0 | 7 | 103 |
JavaScript | 2 | 5 | 7 | 29 |
PHP code Passed 2 tests
This is a short overview 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.45 |
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 | 13 | |
▷ Named functions | 13 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin