Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.47ms] Passed 4 tests
Server-side resources used by BP Blacklist Signup by Email Domain
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.99 ▼2.24 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.58 ▼1.31 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.78 ▼3.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.86 ▼19.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.14 ▲2.84 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BP Blacklist Signup by Email Domain
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.17 | 1.67 ▲0.09 | 44.46 ▲7.00 |
Dashboard /wp-admin | 2,195 ▲18 | 5.59 ▲0.03 | 94.15 ▼12.40 | 42.58 ▼6.95 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.06 | 35.64 ▼0.58 | 33.38 ▼4.07 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.14 ▼0.37 | 698.21 ▲10.72 | 56.63 ▲2.33 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.14 ▼0.06 | 96.22 ▼21.75 | 40.13 ▼8.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bp-blacklist-signup-by-email-domain/index.php
- 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/bp-blacklist-signup-by-email-domain/bp-blacklist-signup-by-email-domain.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Requires at least: Version format is invalid
- Screenshots: Please describe screenshot #1 in bp-blacklist-signup-by-email-domain/assets to your readme.txt
- Donate link: Invalid URI ("paypal.me/GeorgeChaplin")
bp-blacklist-signup-by-email-domain/bp-blacklist-signup-by-email-domain.php Passed 13 tests
"BP Blacklist Signup by Email Domain" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
98 characters long description:
Only allow users with email addresses from domains not in the blacklist to register in BuddyPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected175 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 60 | 124 | 175 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 5 | 35.71% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 2 | 14.29% |
▷ 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
No PNG images were found in this plugin