Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.89ms] Passed 4 tests
Analyzing server-side resources used by Sign-up List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 39.74 ▼6.97 |
Dashboard /wp-admin | 3.56 ▲0.25 | 51.00 ▼5.45 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 57.43 ▲1.84 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 92.51 ▼4.98 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 43.65 ▲7.39 |
Invitees /wp-admin/admin.php?page=sul-invitees | 3.48 | 38.70 |
Sign-up List /wp-admin/admin.php?page=sul-entries | 3.49 | 33.49 |
General Settings /wp-admin/admin.php?page=sul-general-settings | 3.45 | 33.74 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/sign-up-list/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 63 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_sul_entries |
wp_sul_invitees |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
sul_general_admin |
theysaidso_admin_options |
sul_db_version |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Sign-up List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲147 | 13.60 ▼1.03 | 5.17 ▲2.56 | 45.94 ▲0.93 |
Dashboard /wp-admin | 2,252 ▲52 | 4.85 ▼0.95 | 109.33 ▲4.64 | 38.35 ▼6.00 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.02 ▼0.11 | 40.18 ▼1.35 | 36.21 ▼1.41 |
Add New Post /wp-admin/post-new.php | 6,397 ▲4,848 | 28.06 ▲4.99 | 942.29 ▲338.96 | 41.11 ▼21.10 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.23 ▼0.00 | 102.35 ▲1.59 | 49.23 ▲6.12 |
Invitees /wp-admin/admin.php?page=sul-invitees | 936 | 2.03 | 25.99 | 25.02 |
Sign-up List /wp-admin/admin.php?page=sul-entries | 1,011 | 2.03 | 24.41 | 28.84 |
General Settings /wp-admin/admin.php?page=sul-general-settings | 957 | 2.17 | 26.34 | 35.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sign-up-list/public/php/captcha.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Notice
Trying to access array offset on value of type bool in wp-content/plugins/sign-up-list/public/php/captcha.php on line 79
- > PHP Warning
imagettfbbox(): Could not find/open font in wp-content/plugins/sign-up-list/public/php/captcha.php on line 77
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/sign-up-list/public/php/captcha.php on line 89
- > PHP Notice
Trying to access array offset on value of type bool in wp-content/plugins/sign-up-list/public/php/captcha.php on line 80
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
sign-up-list/sign-up-list.php 92% from 13 tests
The main file in "Sign-up List" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/public/lang" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin30,914 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 28,093 |
PHP | 30 | 325 | 1,074 | 2,295 |
PO File | 1 | 105 | 127 | 256 |
Sass | 4 | 30 | 0 | 157 |
JavaScript | 7 | 15 | 75 | 109 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 19.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 55 | 71.43% |
▷ Public methods | 68 | 88.31% |
▷ Protected methods | 2 | 2.60% |
▷ Private methods | 7 | 9.09% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 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
2 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/min-style.png | 18.74KB | 7.45KB | ▼ 60.24% |
admin/sul-style-1.png | 24.21KB | 9.83KB | ▼ 59.40% |