Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.29MB] [CPU: ▼2.33ms] Passed 4 tests
Server-side resources used by WP Popup Builder - Popup Forms and Marketing Lead Generation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 45.93 ▲5.72 |
Dashboard /wp-admin | 3.60 ▲0.26 | 51.13 ▼14.43 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 49.60 ▲6.52 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 99.55 ▼1.30 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 38.32 ▲0.71 |
ThemeHunk /wp-admin/admin.php?page=themehunk-plugins | 3.54 | 38.83 |
Wp Popup Builder /wp-admin/admin.php?page=wppb | 3.57 | 40.95 |
Server storage [IO: ▲4.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 122 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wppb |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Popup Builder - Popup Forms and Marketing Lead Generation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲190 | 13.38 ▼0.97 | 9.67 ▲7.95 | 43.87 ▲1.61 |
Dashboard /wp-admin | 2,259 ▲82 | 5.56 ▼0.01 | 97.03 ▼0.07 | 86.75 ▲45.42 |
Posts /wp-admin/edit.php | 2,176 ▲73 | 2.10 ▼0.05 | 34.64 ▼5.14 | 40.24 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,669 ▲143 | 22.50 ▼0.45 | 659.35 ▼20.07 | 165.46 ▲114.86 |
Media Library /wp-admin/upload.php | 1,473 ▲76 | 4.12 ▼0.12 | 99.31 ▼17.92 | 82.56 ▲34.31 |
ThemeHunk /wp-admin/admin.php?page=themehunk-plugins | 1,245 | 1.84 | 38.62 | 68.65 |
Wp Popup Builder /wp-admin/admin.php?page=wppb | 1,471 | 3.70 | 47.36 | 91.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_wppb
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/admin-menu.php on line 3
- > PHP Warning
include_once(THEMEHUNK_PDIRth-option/header.php): failed to open stream: No such file or directory in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/th-option/tab-html.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/th-option/sidebar.php:4
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin-install.php): failed to open stream: No such file or directory in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/admin-menu.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-popup-builder/inc/wppb-help.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/plugins-list.php:4
- > PHP Warning
include_once(): Failed opening 'THEMEHUNK_PDIRth-option/header.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/th-option/tab-html.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-popup-builder/notify/notify-html.php:1
- > PHP Warning
Use of undefined constant THEMEHUNK_PDIR - assumed 'THEMEHUNK_PDIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/th-option/tab-html.php on line 9
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin-install.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-popup-builder/admin/themehunk-menu/admin-menu.php on line 3
- > PHP Warning
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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: popup builder, marketing, wp popup, popup, popup maker...
wp-popup-builder/wp-popup-builder.php 85% from 13 tests
"WP Popup Builder - Popup Forms and Marketing Lead Generation" version 1.3.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 618 characters long)
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
Good job! No executable or dangerous file extensions detected10,846 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 336 | 564 | 3,893 |
CSS | 7 | 86 | 59 | 3,470 |
PHP | 23 | 575 | 89 | 3,000 |
PO File | 1 | 210 | 216 | 457 |
JSON | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 39.38 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 135.00 |
Average method complexity | 4.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 11 | 14.29% |
▷ Public methods | 74 | 96.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.90% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
68 PNG files occupy 2.34MB with 1.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) img/search.png | 692.05KB | 0.00KB | ▼ 100.00% |
img/paid/barber-thumb.png | 23.38KB | 9.36KB | ▼ 59.96% |
(invalid) img/left-image-layout.png | 8.76KB | 0.00KB | ▼ 100.00% |
img/paid/tasteofindia-thumb.png | 10.30KB | 10.52KB | 0.00% |
img/layout-2.png | 9.56KB | 5.57KB | ▼ 41.77% |