Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.83ms] Passed 4 tests
Analyzing server-side resources used by ZIOR Elementor Addon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.83 ▼1.66 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.51 ▲2.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.67 ▼6.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.63 ▼16.69 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.04 ▲1.89 |
Server storage [IO: ▲0.07MB] [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: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for ZIOR Elementor Addon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 14.47 ▼0.20 | 1.67 ▼0.21 | 40.50 ▼5.17 |
Dashboard /wp-admin | 2,203 ▲11 | 5.84 ▲0.92 | 99.67 ▼7.00 | 37.75 ▼4.98 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.03 | 33.61 ▼8.21 | 35.52 ▼2.65 |
Add New Post /wp-admin/post-new.php | 1,538 ▲17 | 23.26 ▲0.04 | 670.93 ▼9.56 | 62.94 ▲3.60 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.25 ▲0.03 | 97.93 ▼0.58 | 45.46 ▲1.80 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: advanced filter, posts filter, custom slider
zr-elementor-addon/zr-elementor.php 85% from 13 tests
Analyzing the main PHP file in "ZIOR Elementor Addon" version 0.1.7
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zr-elementor-addon.php" instead of "zr-elementor.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,317 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 314 | 244 | 2,307 |
CSS | 4 | 0 | 0 | 4 |
JavaScript | 3 | 0 | 9 | 3 |
Markdown | 1 | 4 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 62 | |
▷ Static methods | 3 | 4.84% |
▷ Public methods | 55 | 88.71% |
▷ Protected methods | 5 | 8.06% |
▷ Private methods | 2 | 3.23% |
Functions | 11 | |
▷ Named functions | 8 | 72.73% |
▷ Anonymous functions | 3 | 27.27% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin