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.01MB] [CPU: ▼0.10ms] Passed 4 tests
A check of server-side resources used by Customize/edit wp-signup (registration) for wpms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.35 ▼2.67 |
Dashboard /wp-admin | 3.32 ▲0.01 | 52.58 ▲2.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.85 ▲2.31 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 99.48 ▲0.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.62 ▼0.55 |
Server storage [IO: ▲0.44MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Customize/edit wp-signup (registration) for wpms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲14 | 13.67 ▲0.42 | 3.38 ▼1.63 | 45.50 ▲0.57 |
Dashboard /wp-admin | 2,209 ▲3 | 4.84 ▼0.03 | 108.01 ▲4.65 | 41.50 ▲4.82 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.01 | 40.40 ▲1.10 | 34.73 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 18.50 ▼4.78 | 611.89 ▼34.45 | 64.74 ▼2.38 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▲0.04 | 94.50 ▼6.10 | 41.18 ▼7.08 |
Uninstaller [IO: ✅] [DB: ▲0.07MB] 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
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-edit-wp-signup-registration-for-wpms/insert-it-at-head.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (First registration step for logged users), #2 (First registration step for non-logged users)
customize-edit-wp-signup-registration-for-wpms/insert-it-at-head.php 92% from 13 tests
"Customize/edit wp-signup (registration) for wpms" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("customize-edit-wp-signup-registration-for-wpms.php" instead of "insert-it-at-head.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,284 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 193 | 199 | 540 |
HTML | 1 | 25 | 0 | 415 |
CSS | 2 | 78 | 29 | 319 |
PHP | 1 | 14 | 20 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin