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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.29ms] Passed 4 tests
Analyzing server-side resources used by Simple Signup Form
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.68 ▲3.16 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.15 ▼4.58 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.55 ▲1.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 78.08 ▼14.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.12 ▲0.73 |
Simple Signup Form FREE /wp-admin/options-general.php?page=simple_signup_form | 5.32 | 41.36 |
Server storage [IO: ▲0.58MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 52 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_simple_subscription_popup |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Signup Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.43 ▼0.86 | 8.28 ▲6.78 | 40.24 ▲0.58 |
Dashboard /wp-admin | 2,199 ▲25 | 5.59 ▼0.07 | 84.51 ▲0.71 | 41.44 ▼2.91 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.03 | 36.34 ▼0.66 | 31.87 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.39 ▼0.31 | 675.47 ▲67.35 | 54.07 ▲4.27 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.23 ▲0.04 | 106.37 ▼0.76 | 45.45 ▼1.78 |
Simple Signup Form FREE /wp-admin/options-general.php?page=simple_signup_form | 8,378 | 3.71 | 96.08 | 90.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'simple_signup_form' not found in wp-content/plugins/simple-signup-form/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/simple-signup-form/templates/settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/simple-signup-form/templates/acustom.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Rendering (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1 The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 0 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview1.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 0 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview2.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 0 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview3.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 0 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview4.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 0 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview5.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 0 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview6.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 35 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview1.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 35 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview2.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 35 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview3.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 35 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview4.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 35 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview5.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (warning) in unknown
https://pantherius.com/static/plugin_directory.html 35 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure element 'http://pantherius.com/static/plugin-directory/preview6.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/options-general.php?page=simple_signup_form
- > Security (severe) in unknown
https://pantherius.com/static/plugin_directory.html 7 Mixed Content: The page at 'https://pantherius.com/static/plugin_directory.html' was loaded over HTTPS, but requested an insecure frame 'http://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpantherius&width&layout=standard&action=like&show_faces=true&share=true&height=80&appId=173514666161502'. This request has been blocked; the content must be served over HTTPS.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: subscription form, subscription, signup form, sign up, social signup...
simple-signup-form/simple_signup_form.php 92% from 13 tests
The main PHP file in "Simple Signup Form" ver. 1.6.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-signup-form.php" instead of "simple_signup_form.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected8,218 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 15 | 53 | 3,296 |
JavaScript | 5 | 297 | 190 | 2,708 |
CSS | 5 | 164 | 72 | 2,214 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 4 | 25.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
33 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
templates/assets/css/images/ui-bg_gloss-wave_25_333333_500x100.png | 1.83KB | 1.14KB | ▼ 37.89% |
templates/assets/img/play.png | 1.26KB | 1.36KB | 0.00% |
templates/assets/img/users.png | 0.53KB | 0.76KB | 0.00% |
templates/assets/css/images/ui-bg_flat_50_5c5c5c_40x100.png | 0.21KB | 0.08KB | ▼ 58.77% |