Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/wangguard-registration-notice-add-on/wangguard-registration-add-on.php+213
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.37ms] Passed 4 tests
This is a short check of server-side resources used by WangGuard Registration Notice Add-on
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.83 ▼5.47 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.57 ▼0.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.65 ▲2.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.69 ▼1.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.76 ▲5.12 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WangGuard Registration Notice Add-on: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.14 ▼1.24 | 1.79 ▲0.16 | 40.89 ▼9.40 |
Dashboard /wp-admin | 2,206 ▲18 | 4.88 ▼1.02 | 106.34 ▼0.90 | 41.02 ▼5.02 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.13 | 40.36 ▲3.67 | 35.03 ▲4.66 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 22.94 ▲4.44 | 602.46 ▼7.37 | 59.32 ▲11.95 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.15 ▼0.05 | 107.50 ▲5.63 | 41.20 ▼4.65 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 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)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/wangguard-registration-notice-add-on/wangguard-registration-add-on.php on line 213
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: buddypress, registration notice, notice, wgg, wangguardaddon...
wangguard-registration-notice-add-on/wangguard-registration-add-on.php 85% from 13 tests
The entry point to "WangGuard Registration Notice Add-on" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 225 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wangguard-registration-notice-add-on.php" instead of "wangguard-registration-add-on.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin137 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 65 | 137 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 images were found in this plugin