Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼11.31ms] Passed 4 tests
This is a short check of server-side resources used by Sign Me Up
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.39 ▼1.91 |
Dashboard /wp-admin | 3.35 ▲0.00 | 52.26 ▼17.31 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.47 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.47 ▼23.14 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.99 ▲1.60 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_smu-widget |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Sign Me Up: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲126 | 13.88 ▼0.72 | 9.76 ▲7.78 | 45.36 ▲2.32 |
Dashboard /wp-admin | 2,189 ▲12 | 5.49 ▼0.10 | 91.16 ▲1.28 | 36.22 ▼5.32 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▲0.02 | 39.49 ▲0.30 | 36.85 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.93 ▲1.00 | 651.06 ▼1.63 | 48.03 ▼8.12 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▼0.07 | 94.18 ▼31.11 | 42.84 ▼7.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_smu-widget
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: signup form, ajax, widget, phplist, form...
sign-me-up/sign-me-up.php Passed 13 tests
The entry point to "Sign Me Up" version 1.5.1 is a PHP file that has certain tags in its header comment area
139 characters long description:
Add a simple straightforward sign-up form to your WordPress site. Integrates with phpList, the most popular open-source newsletter manager.
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
Everything looks great! No dangerous files found in this plugin1,303 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 166 | 150 | 1,125 |
PHP | 3 | 41 | 86 | 112 |
PO File | 1 | 12 | 12 | 44 |
CSS | 1 | 2 | 4 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected