Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.29ms] Passed 4 tests
This is a short check of server-side resources used by PopUpBuilder.App
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.53 ▼6.92 |
Dashboard /wp-admin | 3.39 ▲0.09 | 51.99 ▲1.77 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 54.00 ▲3.69 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.78 ▼14.78 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 39.62 ▲2.78 |
PopUpBuilder.App /wp-admin/options-general.php?page=popupbuilderapp | 3.32 | 33.05 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
PopUpBuilder.App: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.28 ▼1.12 | 1.65 ▼0.27 | 40.65 ▼1.71 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼0.00 | 108.33 ▼3.78 | 36.08 ▼3.53 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 38.87 ▼2.32 | 38.37 ▲3.98 |
Add New Post /wp-admin/post-new.php | 1,536 ▼4 | 23.24 ▲5.08 | 635.50 ▲15.50 | 66.23 ▲7.83 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▼0.05 | 95.91 ▼9.76 | 41.67 ▼0.61 |
PopUpBuilder.App /wp-admin/options-general.php?page=popupbuilderapp | 853 | 1.85 | 32.19 | 44.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
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)
Even though no errors were found, 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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'BM\\PopUpBuilder\\Settings' not found in wp-content/plugins/popupbuilder-app/templates/admin-overview.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/popupbuilder-app/templates/admin-setup.php:20
- > PHP Notice
Undefined variable: api_key in wp-content/plugins/popupbuilder-app/templates/admin-setup.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/popupbuilder-app/templates/admin-setup-completed.php:2
- > PHP Fatal error
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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: social-proof, marketing, optin, popups, popup...
popupbuilder-app/popupbuilder-app.php 85% from 13 tests
The primary PHP file in "PopUpBuilder.App" version 1.0.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin4,574 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 9 | 0 | 0 | 1,934 |
CSS | 2 | 13 | 20 | 1,186 |
PHP | 10 | 156 | 67 | 660 |
Sass | 1 | 70 | 1 | 464 |
PO File | 1 | 56 | 59 | 186 |
JavaScript | 2 | 23 | 0 | 144 |
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.44 |
Average class complexity | 11.43 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 4 | 11.76% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/info.png | 2.18KB | 2.04KB | ▼ 6.67% |