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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.32ms] Passed 4 tests
This is a short check of server-side resources used by PopBox For Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 49.31 ▲5.42 |
Dashboard /wp-admin | 3.39 ▲0.04 | 67.76 ▲2.21 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 53.90 ▲1.76 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.35 ▼22.65 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 48.99 ▲12.81 |
All PopBoxes /wp-admin/edit.php?post_type=elementor-popup | 3.34 | 46.84 |
Add New PopBox /wp-admin/post-new.php?post_type=elementor-popup | 3.42 | 54.79 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by PopBox For Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲156 | 13.40 ▼1.02 | 12.44 ▲10.06 | 38.74 ▼6.17 |
Dashboard /wp-admin | 2,227 ▲47 | 5.66 ▲0.03 | 86.08 ▼5.00 | 42.01 ▼0.94 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.12 ▲0.12 | 37.38 ▼5.46 | 35.30 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.22 ▲5.73 | 748.05 ▲109.14 | 65.75 ▲12.45 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.21 ▼0.03 | 104.10 ▲5.98 | 45.31 ▲0.64 |
All PopBoxes /wp-admin/edit.php?post_type=elementor-popup | 1,096 | 1.96 | 31.92 | 34.79 |
Add New PopBox /wp-admin/post-new.php?post_type=elementor-popup | 2,183 | 7.74 | 166.21 | 62.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: popbox, elementor, popup, modal
modal-for-elementor/modal-for-elementor.php Passed 13 tests
"PopBox For Elementor" version 1.0.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
84 characters long description:
Create content-rich popboxes for your site using the power of Elementor Page Builder
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,137 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 169 | 33 | 1,493 |
JavaScript | 3 | 109 | 39 | 383 |
CSS | 3 | 23 | 18 | 227 |
PO File | 1 | 10 | 10 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 12 | 52.17% |
▷ Protected methods | 8 | 34.78% |
▷ Private methods | 3 | 13.04% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 8 | |
▷ Global constants | 8 | 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 are no PNG files in this plugin