Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.07ms] Passed 4 tests
Server-side resources used by bbPress - Anonymous Subscriptions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.07 ▼5.14 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.29 ▼0.73 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.04 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.89 ▼9.63 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.16 ▼0.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress - Anonymous Subscriptions
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.18 ▼1.20 | 1.85 ▼0.03 | 40.50 ▼11.05 |
Dashboard /wp-admin | 2,206 ▲15 | 4.83 ▼0.03 | 107.60 ▲0.86 | 37.23 ▼2.33 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.02 ▲0.01 | 34.23 ▼7.04 | 30.00 ▼4.91 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 18.51 ▲0.96 | 642.82 ▲43.33 | 63.54 ▲16.67 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.27 ▼0.06 | 96.70 ▼1.40 | 43.88 ▲1.42 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-anonymous-subscriptions/bbp-anonymous-subscriptions.php:20
- > PHP Fatal 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 90% 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 to be fixed:
- Screenshots: Please describe screenshot #1 in bbp-anonymous-subscriptions/assets to your readme.txt
bbp-anonymous-subscriptions/bbp-anonymous-subscriptions.php 85% from 13 tests
The main PHP script in "bbPress - Anonymous Subscriptions" version 1.3.7 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/lang")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("lang")
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 plugin430 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 25 | 35 | 302 |
PHP | 1 | 64 | 120 | 128 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 7 | |
▷ Static methods | 6 | 85.71% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin