Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/mimo-masonry/mimo-masonry.php+422
Function create_function() is deprecated
Server metrics [RAM: ▼1.85MB] [CPU: ▼52.38ms] Passed 4 tests
A check of server-side resources used by Mimo Masonry
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 4.99 ▼31.86 |
Dashboard /wp-admin | 2.17 ▼1.18 | 6.61 ▼57.89 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.46 ▼35.08 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.15 ▼84.69 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.53 ▼30.77 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_mimo_masonry |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Mimo Masonry
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.33 ▼1.02 | 1.79 ▲0.03 | 39.50 ▼4.84 |
Dashboard /wp-admin | 2,207 ▲16 | 5.88 ▲0.99 | 106.31 ▲2.98 | 37.19 ▼6.63 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 39.56 ▲4.49 | 34.75 ▼1.39 |
Add New Post /wp-admin/post-new.php | 1,518 ▼1 | 17.53 ▼5.54 | 642.75 ▼72.41 | 51.93 ▼10.18 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.24 ▲0.07 | 95.16 ▼0.91 | 41.56 ▼4.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/mimo-masonry/mimo-masonry.php+422
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_mimo_masonry
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/mimo-masonry/views/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/mimo-masonry/views/widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
Attributes that require attention:
- Tags: There are too many tags (33 tag instead of maximum 10)
mimo-masonry/mimo-masonry.php Passed 13 tests
This is the main PHP file of "Mimo Masonry" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Create a loop of posts, pages or whatever Custom Post Type you have
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin792 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 171 | 117 | 477 |
CSS | 3 | 38 | 10 | 142 |
JavaScript | 5 | 13 | 27 | 99 |
PO File | 1 | 28 | 28 | 74 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin