Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.66ms] Passed 4 tests
A check of server-side resources used by SplashMaker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 39.25 ▲2.01 |
Dashboard /wp-admin | 3.54 ▲0.19 | 49.51 ▼10.61 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 48.82 ▲4.84 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 86.60 ▼12.85 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 38.35 ▲2.80 |
Personalization Form /wp-admin/admin.php?page=splash_form_gate | 3.57 | 34.77 |
Dynamic Content /wp-admin/edit.php?post_type=dynamic_content | 3.50 | 36.92 |
Dashboard /wp-admin/admin.php?page=splash_activation_dashboard | 3.43 | 31.08 |
Server storage [IO: ▲2.26MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: 5 new tables, 10 new options
New tables |
---|
wp_splashmaker_settings |
wp_splash_hubspot_logs |
wp_wp_floating_menu_details |
wp_wp_floating_menu_custom_templates |
wp_splash_popup |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
jal_db_version |
splash_save_to_local |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
_flush |
db_upgraded |
wpfm-settings |
Browser metrics Passed 4 tests
A check of browser resources used by SplashMaker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲228 | 13.76 ▼0.65 | 6.02 ▲4.54 | 43.87 ▲5.04 |
Dashboard /wp-admin | 2,279 ▲102 | 6.03 ▲0.46 | 91.75 ▲3.77 | 79.36 ▲38.84 |
Posts /wp-admin/edit.php | 2,200 ▲100 | 2.62 ▲0.61 | 38.61 ▲1.60 | 34.35 ▼5.12 |
Add New Post /wp-admin/post-new.php | 1,603 ▲75 | 23.50 ▲0.51 | 680.14 ▲3.41 | 36.14 ▼18.76 |
Media Library /wp-admin/upload.php | 1,499 ▲99 | 4.64 ▲0.43 | 112.84 ▲1.60 | 84.64 ▲38.92 |
Personalization Form /wp-admin/admin.php?page=splash_form_gate | 2,038 | 2.91 | 62.63 | 81.21 |
Dynamic Content /wp-admin/edit.php?post_type=dynamic_content | 1,281 | 2.60 | 36.79 | 29.70 |
Dashboard /wp-admin/admin.php?page=splash_activation_dashboard | 1,409 | 6.25 | 57.35 | 29.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- This plugin does not fully uninstall, leaving 5 tables in the database
- wp_splashmaker_settings
- wp_splash_popup
- wp_wp_floating_menu_details
- wp_wp_floating_menu_custom_templates
- wp_splash_hubspot_logs
- This plugin does not fully uninstall, leaving 10 options in the database
- splash_save_to_local
- _flush
- widget_theysaidso_widget
- theysaidso_admin_options
- jal_db_version
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- wpfm-settings
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=splash_form_gate
- > Notice in wp-content/plugins/splashmaker/admin/partials/splashmaker-formpop-up.php+148
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=splash_form_gate
- > Notice in wp-content/plugins/splashmaker/admin/partials/splashmaker-formpop-up.php+148
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=splash_form_gate
- > Notice in wp-content/plugins/splashmaker/admin/partials/splashmaker-formpop-up.php+324
Undefined variable: dynamic_content_value
- > GET request to /wp-admin/admin.php?page=splash_form_gate
- > Notice in wp-content/plugins/splashmaker/admin/partials/splashmaker-formpop-up.php+362
Undefined variable: label_submit_button
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=splash_form_gate
- > Notice in wp-content/plugins/splashmaker/admin/partials/splashmaker-formpop-up.php+444
Undefined variable: fields_used
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=splash_form_gate
- > Warning in wp-content/plugins/splashmaker/admin/partials/splashmaker-formpop-up.php+444
in_array() expects parameter 2 to be array, null given
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/splashmaker/public/partials/splashmaker-public-display.php
- > /wp-content/plugins/splashmaker/admin/partials/splashmaker-admin-display.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/splashmaker/admin/partials/splashmaker-activation-dashboard.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/splashmaker/admin/template/sm_custom_template.php:1
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/splashmaker/admin/partials/splashmaker-form-entries.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/splashmaker/admin/partials/splashmaker-formpop-up.php:131
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/splashmaker/admin/partials/splashmaker-form-entries.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=splash_activation_dashboard
- > Other (warning) in unknown
/wp-admin/admin.php?page=splash_activation_dashboard 321 Allow attribute will take precedence over 'allowfullscreen'.
Optimizations
Plugin configuration 96% 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: forms, smart content, automation, analytics, crm...
splashmaker/splashmaker.php 92% from 13 tests
The entry point to "SplashMaker" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 192 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,531 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 395 | 885 | 1,852 |
CSS | 4 | 271 | 146 | 1,392 |
JavaScript | 8 | 58 | 100 | 281 |
SVG | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 2 | 3.17% |
▷ Public methods | 56 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 11.11% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
12 PNG files occupy 1.78MB with 1.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) admin/img/pass.png | 177.41KB | 0.00KB | ▼ 100.00% |
admin/img/version02.png | 751.94KB | 210.79KB | ▼ 71.97% |
admin/img/drag-reorder.png | 0.23KB | 0.20KB | ▼ 13.81% |
admin/img/hubspot_logo_new.png | 13.36KB | 7.15KB | ▼ 46.49% |
(invalid) admin/img/fail.png | 36.62KB | 0.00KB | ▼ 100.00% |