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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▲1.56ms] Passed 4 tests
This is a short check of server-side resources used by Getsitecontrol — Email Marketing Plugin | Popup Maker, Automations & Newsletters
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 72.46 ▲28.84 |
Dashboard /wp-admin | 3.38 ▲0.07 | 52.56 ▲1.90 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 54.95 ▼0.57 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 98.81 ▼3.42 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 43.57 ▲8.34 |
Sign in /wp-admin/admin.php?page=getsitecontrol_sign_in | 3.27 | 31.91 |
Getsitecontrol /wp-admin/admin.php?page=getsitecontrol | 3.27 | 37.63 |
Sign up /wp-admin/admin.php?page=getsitecontrol_sign_up | 3.27 | 34.84 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
get_site_control_settings |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Getsitecontrol — Email Marketing Plugin | Popup Maker, Automations & Newsletters
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.36 ▲0.01 | 2.59 ▲0.99 | 47.42 ▲3.73 |
Dashboard /wp-admin | 2,225 ▲57 | 5.59 ▲0.05 | 85.89 ▼11.85 | 77.74 ▲32.13 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 2.00 ▲0.01 | 39.35 ▼1.60 | 35.22 ▼2.57 |
Add New Post /wp-admin/post-new.php | 1,709 ▲183 | 22.03 ▼1.11 | 651.86 ▼13.27 | 48.24 ▼8.88 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.25 ▲0.10 | 101.22 ▼9.98 | 78.96 ▲30.97 |
Sign in /wp-admin/admin.php?page=getsitecontrol_sign_in | 899 | 2.02 | 27.15 | 55.68 |
Getsitecontrol /wp-admin/admin.php?page=getsitecontrol | 916 | 2.05 | 25.21 | 38.13 |
Sign up /wp-admin/admin.php?page=getsitecontrol_sign_up | 913 | 2.05 | 27.82 | 35.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/getsitecontrol/templates/sign_in.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/getsitecontrol/templates/index.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/getsitecontrol/templates/sign_out.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/getsitecontrol/templates/sign_up.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
getsitecontrol/get-site-control.php 85% from 13 tests
The main file in "Getsitecontrol — Email Marketing Plugin | Popup Maker, Automations & Newsletters" v. 3.0.0 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:
- Description: Please don't use more than 140 characters for the plugin description (currently 188 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("getsitecontrol.php" instead of "get-site-control.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,178 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 83 | 147 | 441 |
JavaScript | 1 | 64 | 87 | 430 |
CSS | 1 | 27 | 0 | 279 |
YAML | 1 | 2 | 0 | 26 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 26 | |
▷ Static methods | 25 | 96.15% |
▷ Public methods | 19 | 73.08% |
▷ Protected methods | 7 | 26.92% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/images/gsc-logo-white.png | 1.08KB | 0.57KB | ▼ 47.05% |