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.16MB] [CPU: ▼1.61ms] 75% from 4 tests
This is a short check of server-side resources used by bbPress Login Register Links On Forum Topic Pages
Please have a look at the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 509.36ms on /wp-admin/admin.php?page=bbPressCustomRegisterForm)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 44.46 ▲3.82 |
Dashboard /wp-admin | 3.47 ▲0.12 | 47.07 ▼6.72 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 47.52 ▲3.75 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 94.72 ▼7.29 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.73 ▲5.17 |
Style Customize /wp-admin/admin.php?page=bbPressCustomPage | 3.38 | 472.14 |
Global Settings /wp-admin/admin.php?page=bbPressCustom | 3.38 | 284.88 |
Login Admin Bar /wp-admin/admin.php?page=bbploginbarsettings | 3.38 | 299.72 |
Login Notification /wp-admin/admin.php?page=bbplogincustomprologinnotification | 3.36 | 33.93 |
Custom Login Links /wp-admin/admin.php?page=bbplogincustomloginlinks | 3.38 | 350.72 |
Register Form /wp-admin/admin.php?page=bbPressCustomRegisterForm | 3.38 | 509.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
bbploginuser_first_run_guide_bar |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress Login Register Links On Forum Topic Pages
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 14.46 ▼0.17 | 2.03 ▲0.07 | 42.79 ▼0.85 |
Dashboard /wp-admin | 2,252 ▲64 | 4.86 ▼0.02 | 104.09 ▼4.35 | 41.81 ▼1.01 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.02 ▲0.02 | 40.25 ▼3.33 | 37.10 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,567 ▲25 | 22.75 ▲4.69 | 643.12 ▲23.03 | 51.01 ▲2.38 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.26 ▲0.06 | 100.98 ▼6.02 | 44.83 ▲0.28 |
Style Customize /wp-admin/admin.php?page=bbPressCustomPage | 1,081 | 2.06 | 26.81 | 29.36 |
Global Settings /wp-admin/admin.php?page=bbPressCustom | 1,414 | 2.03 | 23.77 | 30.24 |
Login Admin Bar /wp-admin/admin.php?page=bbploginbarsettings | 1,141 | 2.01 | 23.69 | 25.03 |
Login Notification /wp-admin/admin.php?page=bbplogincustomprologinnotification | 904 | 2.01 | 27.33 | 24.71 |
Custom Login Links /wp-admin/admin.php?page=bbplogincustomloginlinks | 1,125 | 2.01 | 22.24 | 28.68 |
Register Form /wp-admin/admin.php?page=bbPressCustomRegisterForm | 1,138 | 2.01 | 22.38 | 28.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- bbploginuser_first_run_guide_bar
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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 following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bbpress-login-register-links-on-forum-topic-pages/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 33 tag instead of maximum 10
bbpress-login-register-links-on-forum-topic-pages/bbpress-login-register-links-on-forum-page.php 77% from 13 tests
Analyzing the main PHP file in "bbPress Login Register Links On Forum Topic Pages" version 3.2.7
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("bbpress-login-register-links-on-forum-topic-pages.php" instead of "bbpress-login-register-links-on-forum-page.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 382 characters long)
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
There were no executable files found in this plugin1,531 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 207 | 129 | 1,474 |
PO File | 1 | 14 | 15 | 57 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 21 | |
▷ Named functions | 21 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/new.png | 5.78KB | 1.61KB | ▼ 72.15% |