Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/simple-contactology-signup/includes/widgets.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; scs_widget_wrapper has a deprecated constructor
Server metrics [RAM: ▼1.89MB] [CPU: ▼54.92ms] Passed 4 tests
A check of server-side resources used by Simple Contactology Signup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.37 | 4.48 ▼37.94 |
Dashboard /wp-admin | 2.12 ▼1.19 | 11.19 ▼43.86 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 6.05 ▼48.30 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 5.54 ▼89.59 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.14 ▼28.42 |
Contactology /wp-admin/options-general.php?page=contactology | 2.12 | 5.83 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_scs_wrapper |
widget_recent-posts |
Browser metrics Passed 4 tests
Simple Contactology Signup: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.26 ▼1.10 | 1.91 ▼0.05 | 42.94 ▼3.58 |
Dashboard /wp-admin | 2,228 ▲28 | 5.91 ▲0.83 | 95.93 ▼15.15 | 39.66 ▼1.91 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.02 | 38.76 ▼0.34 | 37.07 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,557 ▲5 | 18.46 ▼4.92 | 651.11 ▼49.51 | 68.74 ▲5.99 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.27 ▲0.02 | 94.85 ▼8.23 | 44.23 ▼3.49 |
Contactology /wp-admin/options-general.php?page=contactology | 840 | 2.05 | 30.84 | 28.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/simple-contactology-signup/includes/widgets.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; scs_widget_wrapper has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_scs_wrapper
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=contactology
- > Deprecated in wp-content/plugins/simple-contactology-signup/includes/widgets.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; scs_widget_wrapper has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=contactology
- > Deprecated in wp-content/plugins/simple-contactology-signup/includes/widgets.php+69
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=contactology
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in scs_widget_wrapper is deprecated since version 4.3.0! Use __construct() instead.
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
Please take a closer look at the following
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simple-contactology-signup/includes/signup-form.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-contactology-signup/contactology-signup.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-contactology-signup/includes/settings.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-contactology-signup/includes/widgets.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-contactology-signup/includes/functions.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: newsletter, contactology, mailinglist, email marketing, emails
simple-contactology-signup/contactology-signup.php 92% from 13 tests
The primary PHP file in "Simple Contactology Signup" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("simple-contactology-signup.php" instead of "contactology-signup.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
Everything looks great! No dangerous files found in this plugin1,448 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 655 | 2,128 | 1,378 |
PO File | 1 | 28 | 27 | 70 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 155 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 154 | 99.35% |
▷ Protected methods | 1 | 0.65% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin