Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▲6.29ms] Passed 4 tests
An overview of server-side resources used by Sign-up Sheets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 51.82 ▲17.15 |
Dashboard /wp-admin | 3.74 ▲0.44 | 58.74 ▲7.50 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 56.46 ▲6.66 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 94.99 ▲5.69 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 40.13 ▲5.29 |
/wp-admin/admin.php?page=fdsus-edit-signup | 3.60 | 37.13 |
Settings /wp-admin/edit.php?post_type=dlssus_sheet&page=fdsus-settings | 4.14 | 60.46 |
Help /wp-admin/edit.php?post_type=dlssus_sheet&page=dlssus-help | 3.64 | 44.19 |
All Sign-up Sheets /wp-admin/edit.php?post_type=dlssus_sheet | 3.73 | 45.78 |
Add New /wp-admin/post-new.php?post_type=dlssus_sheet | 3.80 | 57.50 |
Manage Sign-ups /wp-admin/admin.php?page=fdsus-manage | 3.60 | 40.59 |
Server storage [IO: ▲2.14MB] [DB: ▲0.08MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- You have illegally modified 1 file (0.26KB) outside of "wp-content/plugins/sign-up-sheets/" and "wp-content/uploads/"
- (new file) wp-content/dlssus-migrate.log
Filesystem: 152 new files
Database: no new tables, 11 new options
New WordPress options |
---|
dls_sus_db_version_type |
db_upgraded |
theysaidso_admin_options |
dls_sus_hide_address |
dls_sus_db_version |
widget_recent-comments |
dlssus_migrate_2.0_to_2.1 |
widget_recent-posts |
dls_sus_sheet_slug |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Sign-up Sheets
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,118 ▲357 | 14.88 ▲0.28 | 5.03 ▲3.31 | 38.47 ▼2.85 |
Dashboard /wp-admin | 2,411 ▲231 | 6.25 ▲0.63 | 113.10 ▲20.93 | 37.24 ▼7.37 |
Posts /wp-admin/edit.php | 2,339 ▲239 | 3.62 ▲1.67 | 54.26 ▲14.07 | 29.05 ▼6.84 |
Add New Post /wp-admin/post-new.php | 6,415 ▲4,880 | 27.78 ▲9.77 | 838.51 ▲202.33 | 36.38 ▼32.87 |
Media Library /wp-admin/upload.php | 1,477 ▲74 | 4.34 ▲0.07 | 80.61 ▼21.85 | 42.11 ▼3.76 |
/wp-admin/admin.php?page=fdsus-edit-signup | 727 | 1.71 | 11.45 | 16.65 |
Settings /wp-admin/edit.php?post_type=dlssus_sheet&page=fdsus-settings | 2,958 | 3.78 | 74.49 | 56.43 |
Help /wp-admin/edit.php?post_type=dlssus_sheet&page=dlssus-help | 1,285 | 3.58 | 52.48 | 34.32 |
All Sign-up Sheets /wp-admin/edit.php?post_type=dlssus_sheet | 1,435 | 3.85 | 59.14 | 35.06 |
Add New /wp-admin/post-new.php?post_type=dlssus_sheet | 2,863 | 7.99 | 199.15 | 94.77 |
Manage Sign-ups /wp-admin/admin.php?page=fdsus-manage | 727 | 1.71 | 12.08 | 17.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- dls_sus_sheet_slug
- dlssus_migrate_2.0_to_2.1
- dls_sus_hide_address
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- dls_sus_db_version
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=fdsus-edit-signup
- > Notice in wp-content/plugins/sign-up-sheets/controller/admin/edit-signup-page.php+74
Trying to get property 'post_parent' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 48× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sign-up-sheets/theme-files/fdsus/user_sign_ups.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/sign-up-sheets/theme-files/fdsus/sheet-list.php:20
- > PHP Notice
Undefined variable: args in wp-content/plugins/sign-up-sheets/theme-files/fdsus/user_sign_ups.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'FDSUS\\Controller\\Base' not found in wp-content/plugins/sign-up-sheets/controller/task-table.php:15
- > PHP Fatal error
Uncaught Error: Class 'FDSUS\\Model\\Base' not found in wp-content/plugins/sign-up-sheets/model/data.php:19
- > PHP Fatal error
Uncaught Error: Interface 'FDSUS\\Lib\\ReCaptcha\\RequestMethod' not found in wp-content/plugins/sign-up-sheets/lib/re-captcha/request-method/socket-post.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function FDSUS\\plugin_dir_path() in wp-content/plugins/sign-up-sheets/main.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/sign-up-sheets/theme-files/content-dlssus_sheet.php:19
- > PHP Fatal error
Uncaught Error: Class 'FDSUS\\Id' not found in wp-content/plugins/sign-up-sheets/model/signup.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sign-up-sheets/theme-files/fdsus/user_sign_ups.php on line 17
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
sign-up-sheets/sign-up-sheets.php 92% from 13 tests
The entry point to "Sign-up Sheets" version 2.2.11.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin50,202 lines of code in 130 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 35,908 |
PHP | 80 | 1,730 | 4,588 | 9,869 |
JavaScript | 15 | 402 | 639 | 2,842 |
Sass | 18 | 152 | 6 | 853 |
CSS | 9 | 71 | 23 | 492 |
HTML | 1 | 2 | 2 | 191 |
XML | 2 | 0 | 0 | 26 |
SVG | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 19.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 201.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 75 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 403 | |
▷ Static methods | 42 | 10.42% |
▷ Public methods | 348 | 86.35% |
▷ Protected methods | 18 | 4.47% |
▷ Private methods | 37 | 9.18% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 2 | 7.69% |
▷ Class constants | 24 | 92.31% |
▷ Public constants | 24 | 100.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
7 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/dls/meta-boxes/assets/icon-drag-y.png | 0.21KB | 0.16KB | ▼ 23.70% |
lib/dls/meta-boxes/assets/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
images/dls-sus-content-button.png | 0.16KB | 0.12KB | ▼ 27.27% |
lib/dls/meta-boxes/assets/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
images/admin-icon.png | 1.26KB | 0.62KB | ▼ 50.89% |