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
Installer ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▲1.04ms] Passed 4 tests
This is a short check of server-side resources used by Elfi Masonry Addon for Elementor : Creating showcases for portfolios, products or post items
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 44.23 ▲3.88 |
Dashboard /wp-admin | 3.86 ▲0.55 | 47.11 ▼2.23 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 47.03 ▲0.46 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 87.91 ▲2.03 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 40.87 ▲6.13 |
All Elfi Items /wp-admin/edit.php?post_type=elfi | 3.76 | 36.70 |
Add New Elfi Item /wp-admin/post-new.php?post_type=elfi | 6.47 | 87.08 |
How it works /wp-admin/edit.php?post_type=elfi&page=home | 3.68 | 32.25 |
Elfi Category /wp-admin/edit-tags.php?taxonomy=el_portfolio&post_type=elfi | 3.71 | 49.13 |
Server storage [IO: ▲1.81MB] [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: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Elfi Masonry Addon for Elementor : Creating showcases for portfolios, products or post items
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲103 | 13.16 ▼1.22 | 1.68 ▼0.21 | 45.17 ▼0.28 |
Dashboard /wp-admin | 2,260 ▲69 | 5.78 ▼0.10 | 98.56 ▼5.52 | 40.91 ▼7.16 |
Posts /wp-admin/edit.php | 2,145 ▲56 | 2.04 ▼0.02 | 34.64 ▼2.75 | 34.62 ▲0.76 |
Add New Post /wp-admin/post-new.php | 6,578 ▲5,041 | 20.22 ▼2.88 | 941.91 ▲299.90 | 63.56 ▲1.34 |
Media Library /wp-admin/upload.php | 1,442 ▲54 | 4.16 ▼0.02 | 97.96 ▼3.07 | 45.31 ▲1.04 |
All Elfi Items /wp-admin/edit.php?post_type=elfi | 1,114 | 2.10 | 32.82 | 31.15 |
Add New Elfi Item /wp-admin/post-new.php?post_type=elfi | 6,568 | 21.49 | 908.11 | 39.05 |
How it works /wp-admin/edit.php?post_type=elfi&page=home | 2,376 | 16.20 | 522.53 | 131.91 |
Elfi Category /wp-admin/edit-tags.php?taxonomy=el_portfolio&post_type=elfi | 1,319 | 2.39 | 30.52 | 38.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elfi-masonry-addon/includes/Class/class-elfi-admin-dashborad.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elfi-masonry-addon/includes/metaData/class-elfi-previewlink.php:21
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/elfi-masonry-addon/includes/Elements/elfi-masonry-widget.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/elfi-masonry-addon/includes/Elements/elfi-masonry-gallery-widget.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elfi-masonry-addon/includes/Class/class-elfi-filter.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elfi-masonry-addon/includes/metaData/class-elfi-videodata.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elfi-masonry-addon/includes/Class/class-elfi-permalink.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/elfi-masonry-addon/includes/helper/querygalleyData.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=elfi&page=home
- > Other (warning) in unknown
/wp-admin/edit.php?post_type=elfi&page=home 200 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
elfi-masonry-addon/elfi-masonry-addon.php Passed 13 tests
"Elfi Masonry Addon for Elementor : Creating showcases for portfolios, products or post items" version 1.3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
127 characters long description:
Elfi is a Filter masonry which allows to create attractive portfolio filters, product filters, post-filters and Gallery masonry
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
Everything looks great! No dangerous files found in this plugin4,999 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,116 | 645 | 3,478 |
CSS | 6 | 178 | 6 | 1,425 |
JavaScript | 3 | 22 | 18 | 61 |
SVG | 6 | 0 | 0 | 35 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 76 | |
▷ Static methods | 3 | 3.95% |
▷ Public methods | 67 | 88.16% |
▷ Protected methods | 6 | 7.89% |
▷ Private methods | 3 | 3.95% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 1.23MB with 0.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/filter-masonry-min.png | 34.76KB | 33.97KB | ▼ 2.27% |
assets/img/video.png | 0.51KB | 0.51KB | 0.00% |
assets/img/aaaaaaaa.png | 7.57KB | 3.06KB | ▼ 59.57% |
assets/img/filsd.png | 196.17KB | 59.99KB | ▼ 69.42% |
assets/img/masonry.png | 1.53KB | 0.56KB | ▼ 63.47% |