Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲2.31MB] [CPU: ▲13.13ms] 75% from 4 tests
An overview of server-side resources used by Hustle - Email Marketing, Lead Generation, Optins, Popups
It is recommended to improve the following
- RAM: The total memory usage must be kept under 10MB (currently 10.59MB on /wp-admin/admin.php?page=hustle_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.38 ▲5.91 | 76.02 ▲40.10 |
Dashboard /wp-admin | 5.52 ▲2.21 | 61.49 ▲14.30 |
Posts /wp-admin/edit.php | 5.65 ▲2.29 | 66.27 ▲9.50 |
Add New Post /wp-admin/post-new.php | 8.50 ▲2.61 | 104.32 ▲12.82 |
Media Library /wp-admin/upload.php | 5.37 ▲2.13 | 50.80 ▲15.91 |
Tutorials /wp-admin/admin.php?page=hustle_tutorials | 10.09 | 86.45 |
Integrations /wp-admin/admin.php?page=hustle_integrations | 10.26 | 89.86 |
New social sharing /wp-admin/admin.php?page=hustle_sshare | 9.99 | 71.85 |
New pop-up /wp-admin/admin.php?page=hustle_popup | 9.99 | 70.44 |
Pop-ups /wp-admin/admin.php?page=hustle_popup_listing | 10.29 | 82.56 |
New slide-in /wp-admin/admin.php?page=hustle_slidein | 9.99 | 68.21 |
New embed /wp-admin/admin.php?page=hustle_embedded | 9.99 | 67.57 |
Email Lists /wp-admin/admin.php?page=hustle_entries | 10.27 | 80.67 |
Embeds /wp-admin/admin.php?page=hustle_embedded_listing | 10.29 | 84.73 |
Settings /wp-admin/admin.php?page=hustle_settings | 10.59 | 106.87 |
Server storage [IO: ▲15.46MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 925 new files
Database: 5 new tables, 15 new options
New tables |
---|
wp_hustle_entries_meta |
wp_hustle_entries |
wp_hustle_modules_meta |
wp_hustle_modules |
wp_hustle_tracking |
New WordPress options |
---|
hustle_aweber_current_page |
widget_inc_opt_widget |
db_upgraded |
widget_recent-comments |
hustle_migrations |
widget_hustle_module_widget |
hustle_activated_flag |
can_compress_scripts |
hustle_version |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hustle - Email Marketing, Lead Generation, Optins, Popups
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲101 | 14.40 ▼0.23 | 1.65 ▼0.14 | 40.35 ▼0.28 |
Dashboard /wp-admin | 2,294 ▲113 | 5.48 ▼0.26 | 84.19 ▼23.59 | 40.72 ▼1.75 |
Posts /wp-admin/edit.php | 2,198 ▲95 | 2.01 ▲0.01 | 35.10 ▼9.09 | 30.88 ▼7.47 |
Add New Post /wp-admin/post-new.php | 1,615 ▲89 | 18.91 ▼4.10 | 697.77 ▼41.74 | 55.89 ▲0.84 |
Media Library /wp-admin/upload.php | 1,495 ▲95 | 4.24 ▲0.07 | 98.22 ▲0.03 | 41.35 ▲0.13 |
Tutorials /wp-admin/admin.php?page=hustle_tutorials | 1,438 | 5.04 | 81.21 | 115.98 |
Integrations /wp-admin/admin.php?page=hustle_integrations | 1,878 | 4.08 | 66.75 | 69.68 |
New social sharing /wp-admin/admin.php?page=hustle_sshare | 1,543 | 4.88 | 52.10 | 41.04 |
New pop-up /wp-admin/admin.php?page=hustle_popup | 2,471 | 4.86 | 59.36 | 98.06 |
Pop-ups /wp-admin/admin.php?page=hustle_popup_listing | 2,440 | 4.56 | 42.04 | 92.57 |
New slide-in /wp-admin/admin.php?page=hustle_slidein | 2,470 | 4.74 | 61.07 | 95.48 |
New embed /wp-admin/admin.php?page=hustle_embedded | 2,503 | 4.78 | 57.32 | 103.03 |
Email Lists /wp-admin/admin.php?page=hustle_entries | 1,595 | 4.65 | 78.49 | 55.68 |
Embeds /wp-admin/admin.php?page=hustle_embedded_listing | 2,491 | 4.63 | 46.97 | 78.40 |
Settings /wp-admin/admin.php?page=hustle_settings | 4,207 | 6.79 | 212.89 | 64.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_hustle_entries
- wp_hustle_entries_meta
- wp_hustle_tracking
- wp_hustle_modules
- wp_hustle_modules_meta
- This plugin did not uninstall successfully, leaving 15 options in the database
- hustle_aweber_current_page
- widget_theysaidso_widget
- hustle_version
- widget_recent-comments
- widget_inc_opt_widget
- hustle_database_version
- widget_recent-posts
- widget_hustle_module_widget
- db_upgraded
- theysaidso_admin_options
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wordpress-popup/views/admin/commons/sui-wizard/elements/palette-accordion-content.php
- > /wp-content/plugins/wordpress-popup/views/admin/commons/sui-wizard/tab-appearance/row-advanced/border-spacing-shadow/row-4-number-inputs.php
- > /wp-content/plugins/wordpress-popup/views/admin/global/sui-components/sui-row.php
- > /wp-content/plugins/wordpress-popup/views/admin/commons/sui-wizard/dialogs/add-platform-li.php
- > /wp-content/plugins/wordpress-popup/views/admin/integrations/page-table-not-connected.php
- > /wp-content/plugins/wordpress-popup/views/admin/global/sui-components/sui-settings-row.php
- 4095× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/general-12--content.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/general-13--cta-container.php on line 57
- > PHP Notice
Undefined variable: advanced in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/form-11--options-container.php on line 45
- > PHP Notice
Undefined variable: typography in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/form-15--success-message.php on line 207
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/general-03--layout-header.php on line 47
- > PHP Notice
Undefined variable: prefix_desktop in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/general-12--content.php on line 308
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/general-12--content.php on line 36
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/general-17--close-button.php on line 13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/form-11--options-container.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wordpress-popup/inc/front/non-sshare-styles/form-10--submit.php on line 30
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=hustle_embedded_listing
- > Security (warning) in unknown
about:blank - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
wordpress-popup/popover.php 85% from 13 tests
Analyzing the main PHP file in "Hustle - Email Marketing, Lead Generation, Optins, Popups" version 7.8.2
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wordpress-popup.php" instead of "popover.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected141,410 lines of code in 687 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 617 | 19,283 | 30,578 | 114,783 |
JSON | 11 | 0 | 0 | 19,237 |
PO File | 1 | 2,610 | 2,898 | 5,245 |
JavaScript | 32 | 289 | 315 | 1,623 |
SVG | 2 | 0 | 0 | 201 |
Markdown | 2 | 44 | 0 | 183 |
CSS | 22 | 25 | 61 | 138 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 22.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 280.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 263 | |
▷ Abstract classes | 14 | 5.32% |
▷ Concrete classes | 249 | 94.68% |
▷ Final classes | 1 | 0.40% |
Methods | 2,165 | |
▷ Static methods | 319 | 14.73% |
▷ Public methods | 1,569 | 72.47% |
▷ Protected methods | 136 | 6.28% |
▷ Private methods | 460 | 21.25% |
Functions | 21 | |
▷ Named functions | 8 | 38.10% |
▷ Anonymous functions | 13 | 61.90% |
Constants | 147 | |
▷ Global constants | 4 | 2.72% |
▷ Class constants | 143 | 97.28% |
▷ Public constants | 143 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
178 PNG files occupy 1.18MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/providers/mautic/images/logo.png | 14.87KB | 5.65KB | ▼ 62.01% |
assets/images/slidein-north-active.png | 0.20KB | 0.20KB | 0.00% |
assets/images/position-middle-active.png | 0.14KB | 0.14KB | 0.00% |
assets/images/onboard-image@2x.png | 39.57KB | 22.18KB | ▼ 43.95% |
lib/plugin-notice/assets/images/plugins-defender.png | 12.38KB | 5.52KB | ▼ 55.40% |