Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/sumome/classes/class_sumome.php+167
Undefined variable: manuallyInsertedScriptTagSiteID
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.95ms] Passed 4 tests
A check of server-side resources used by Sumo - Boost Conversion and Sales
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 34.19 ▼9.04 |
Dashboard /wp-admin | 3.41 ▲0.07 | 51.39 ▼12.12 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.50 ▼0.57 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 91.81 ▼2.07 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.99 ▲3.34 |
SiteID /wp-admin/admin.php?page=sumo-siteID | 3.30 | 31.49 |
Sumo /wp-admin/admin.php?page=sumo | 3.32 | 32.19 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
sumome_initial_wpdashboard_load_time |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
sumome_site_id |
widget_theysaidso_widget |
sumome_hide_dashboard_overlay |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sumo - Boost Conversion and Sales
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,505 ▲769 | 15.98 ▲1.27 | 6.10 ▲4.42 | 38.09 ▼7.36 |
Dashboard /wp-admin | 2,708 ▲528 | 6.64 ▲1.09 | 110.41 ▲24.20 | 91.28 ▲51.42 |
Posts /wp-admin/edit.php | 2,241 ▲141 | 3.64 ▲1.63 | 44.03 ▲2.55 | 34.07 ▼4.75 |
Add New Post /wp-admin/post-new.php | 1,421 ▼108 | 19.98 ▼3.32 | 564.06 ▼96.35 | 27.85 ▼28.78 |
Media Library /wp-admin/upload.php | 1,541 ▲141 | 5.97 ▲1.78 | 102.44 ▲1.91 | 74.48 ▲27.44 |
SiteID /wp-admin/admin.php?page=sumo-siteID | 970 | 3.30 | 35.57 | 28.84 |
Sumo /wp-admin/admin.php?page=sumo | 1,233 | 3.31 | 33.68 | 50.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 9 options
- sumome_hide_dashboard_overlay
- db_upgraded
- sumome_site_id
- theysaidso_admin_options
- sumome_initial_wpdashboard_load_time
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/sumome/views/main.php
- > /wp-content/plugins/sumome/views/popup.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/sumome/js/general.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/sumome/views/statistics.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sumome/sumome.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/sumome/js/preload.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/sumome/views/landing.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/sumome/views/footer.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/sumome/views/wordpress-dashboard-welcome-page.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/sumome/views/siteID.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=sumo-siteID
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=sumo-siteID - Access to XMLHttpRequest at 'http://sumome.com/api/load/' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sumo
- > Network (severe)
http://sumome.com/api/load/ - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=sumo
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=sumo - Access to XMLHttpRequest at 'http://sumome.com/api/load/' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Tags: Too many tags (66 tag instead of maximum 10); only the first 5 tags are used in your directory listing
sumome/sumome.php Passed 13 tests
"Sumo - Boost Conversion and Sales" version 1.33's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
55 characters long description:
Free Tools to automate your site growth from sumome.com
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected2,569 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 151 | 24 | 1,581 |
PHP | 11 | 203 | 50 | 988 |
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.30 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 4 | 13.79% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.45% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
23 compressed PNG files occupy 0.16MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/popup-login-header.png | 39.77KB | 41.96KB | 0.00% |
images/sumome-site-clients-entrepreneur.png | 1.07KB | 1.12KB | 0.00% |
images/sumome-site-welcome-graph.png | 1.56KB | 1.63KB | 0.00% |
images/sumome-site-welcome1.png | 17.59KB | 19.45KB | 0.00% |
images/sumome-site-welcome3.png | 17.17KB | 18.68KB | 0.00% |