Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.45ms] Passed 4 tests
An overview of server-side resources used by Lightspeed eCommerce Sign Up Form by Web Whales
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.03 ▼3.62 |
Dashboard /wp-admin | 3.40 ▲0.06 | 47.76 ▼11.25 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 43.96 ▼1.58 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 81.40 ▼13.36 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 35.90 ▲2.53 |
Lightspeed Affiliate Settings /wp-admin/options-general.php?page=ww-seoshop-sign-up | 3.31 | 33.17 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
ww_seoshop_sign_up_sign_in_url |
widget_theysaidso_widget |
widget_recent-comments |
ww_seoshop_sign_up_affiliate_url |
widget_recent-posts |
ww_seoshop_sign_up_plugin_version |
Browser metrics Passed 4 tests
Checking browser requirements for Lightspeed eCommerce Sign Up Form by Web Whales
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.00 | 1.87 ▲0.13 | 37.08 ▼6.50 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▼0.06 | 93.29 ▼8.50 | 41.55 ▼3.16 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.03 | 35.38 ▼8.58 | 34.80 ▼10.91 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.08 ▲0.03 | 672.29 ▼10.82 | 58.23 ▼3.74 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.20 ▲0.04 | 98.62 ▼1.68 | 43.16 ▼1.99 |
Lightspeed Affiliate Settings /wp-admin/options-general.php?page=ww-seoshop-sign-up | 1,005 | 2.04 | 24.41 | 32.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- ww_seoshop_sign_up_affiliate_url
- ww_seoshop_sign_up_plugin_version
- ww_seoshop_sign_up_sign_in_url
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: affiliate, saas, lightspeed, ecommerce, webshop...
web-whales-seoshop-sign-up-form/webwhales-seoshop-sign-up-form.php 77% from 13 tests
The main file in "Lightspeed eCommerce Sign Up Form by Web Whales" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("web-whales-seoshop-sign-up-form.php" instead of "webwhales-seoshop-sign-up-form.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 361 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin923 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 149 | 228 | 553 |
CSS | 1 | 30 | 5 | 222 |
PO File | 1 | 36 | 42 | 93 |
JavaScript | 1 | 12 | 0 | 55 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 100.00 |
▷ Minimum class complexity | 100.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 32 | |
▷ Static methods | 15 | 46.88% |
▷ Public methods | 23 | 71.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 28.12% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin